Skip to content

CI: Partial Behat fixes #6397

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 8 commits into from
Jun 25, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 6 additions & 6 deletions tests/behat/features/adminSettings.feature
Original file line number Diff line number Diff line change
Expand Up @@ -6,23 +6,23 @@ Feature: Settings update
Scenario: Update 'profile' setting
Given I am a platform administrator
Then I am on "/main/admin/settings.php?search_field=profile&category=search_setting"
And I check "Name"
And I check "e-mail"
And I check "Login"
And I check the checkbox matching xpath "//input[@name='profile[name]']"
And I check "profile[email]"
And I check "profile[login]"
And I check "profile[officialcode]"
And I press "Save settings"
And I click on the element with css selector "#settings_submit"
Then I should see "Update successful"

Scenario: Update 'allow_registration' setting
Given I am a platform administrator
And I am on "/main/admin/settings.php"
And I check the "allow_registration" radio button with "true" value
And I press "Save settings"
And I click on the element with css selector "#settings_submit"
Then I should see "Update successful"

Scenario: Update 'allow_group_categories' setting
Given I am a platform administrator
And I am on "/main/admin/settings.php?search_field=allow_group_categories&category=search_setting"
And I check the "allow_group_categories" radio button with "true" value
And I press "Save settings"
And I click on the element with css selector "#settings_submit"
Then I should see "Update successful"
3 changes: 1 addition & 2 deletions tests/behat/features/career.feature
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,7 @@ Feature: Career
Scenario: Create a Career
Given I am a platform administrator
And I am on "/main/admin/careers.php?action=add"
When I fill in the following:
| name | Developer |
When I fill "career_name" with "Developer"
And I fill in ckeditor field "description" with "Description"
And I press "submit"
Then I should see "Item added"
Loading