MDL-74054 qbank_customfields: Fix behat tests

This commit is contained in:
Andrew Nicols 2023-09-20 10:39:20 +08:00
parent a3cfd50482
commit 697ac9b913
No known key found for this signature in database
GPG key ID: 6D1E3157C8CFBF14
2 changed files with 2 additions and 2 deletions

View file

@ -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 |

View file

@ -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"