mirror of
https://github.com/moodle/moodle.git
synced 2025-08-10 19:36:41 +02:00
MDL-74054 qbank_customfields: Fix behat tests
This commit is contained in:
parent
a3cfd50482
commit
697ac9b913
2 changed files with 2 additions and 2 deletions
|
@ -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 |
|
||||
|
|
|
@ -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"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue