Skip to content

Commit

Permalink
MDL-74054 qbank_customfields: Fix behat tests
Browse files Browse the repository at this point in the history
  • Loading branch information
andrewnicols committed Sep 22, 2023
1 parent a3cfd50 commit 697ac9b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Expand Up @@ -42,7 +42,7 @@ Feature: A teacher can edit question with custom fields
Scenario: Edit a previously created question and see the custom field in the overview table and in the question preview.
When I am on the "First question" "core_question > edit" page
Then I should see "Category for test"
And I click on "Expand all" "link" in the "region-main" "region"
And I expand all fieldsets
And I should see "Field 1"
And I set the following fields to these values:
| Question name | First question edited |
Expand Down
Expand Up @@ -42,7 +42,7 @@ Feature: The visibility of question custom fields control where they are display
Scenario: Display custom question fields to teachers based on their visibility.
When I am on the "First question" "core_question > edit" page
Then I should see "Category for test"
And I click on "Expand all" "link"
And I expand all fieldsets
And I should see "Field 1"
And I should see "Field 2"
And I should see "Field 3"
Expand Down

0 comments on commit 697ac9b

Please sign in to comment.