MDL-70197 navigation: Update classic goutte tests

This commit is contained in:
Mathew May 2021-11-30 12:06:30 +08:00 committed by Ilya Tregubov
parent cee0949109
commit f65b92577a
9 changed files with 38 additions and 26 deletions

View file

@ -24,13 +24,13 @@ Feature: Use the qbank plugin manager page for deletequestion
And I click on "Disable" "link" in the "Delete question" "table_row"
And I am on the "Test quiz" "quiz activity" page
And I navigate to "Question bank > Questions" in current page administration
And I click on "#action-menu-toggle-1" "css_element" in the "First question" "table_row"
And I click on ".dropdown-toggle" "css_element" in the "First question" "table_row"
Then I should not see "Delete" in the "region-main" "region"
And I navigate to "Plugins > Question bank plugins > Manage question bank plugins" in site administration
And I click on "Enable" "link" in the "Delete question" "table_row"
And I am on the "Test quiz" "quiz activity" page
And I navigate to "Question bank > Questions" in current page administration
And I click on "#action-menu-toggle-1" "css_element" in the "First question" "table_row"
And I click on ".dropdown-toggle" "css_element" in the "First question" "table_row"
And I should see "Delete" in the "region-main" "region"
@javascript

View file

@ -23,11 +23,11 @@ Feature: Use the qbank plugin manager page for exporttoxml
And I click on "Disable" "link" in the "Export to XML" "table_row"
And I am on the "Test quiz" "quiz activity" page
And I navigate to "Question bank" in current page administration
And I click on "#action-menu-toggle-1" "css_element" in the "First question" "table_row"
And I click on ".dropdown-toggle" "css_element" in the "First question" "table_row"
Then I should not see "Export as Moodle XML"
And I navigate to "Plugins > Question bank plugins > Manage question bank plugins" in site administration
And I click on "Enable" "link" in the "Export to XML" "table_row"
And I am on the "Test quiz" "quiz activity" page
And I navigate to "Question bank" in current page administration
And I click on "#action-menu-toggle-1" "css_element" in the "First question" "table_row"
And I click on ".dropdown-toggle" "css_element" in the "First question" "table_row"
And I should see "Export as Moodle XML"

View file

@ -23,13 +23,13 @@ Feature: Use the qbank plugin manager page for tagquestion
And I click on "Disable" "link" in the "Tag question" "table_row"
And I am on the "Test quiz" "quiz activity" page
And I navigate to "Question bank" in current page administration
And I click on "#action-menu-toggle-1" "css_element" in the "First question" "table_row"
And I click on ".dropdown-toggle" "css_element" in the "First question" "table_row"
Then I should not see "Manage tags"
And I navigate to "Plugins > Question bank plugins > Manage question bank plugins" in site administration
And I click on "Enable" "link" in the "Tag question" "table_row"
And I am on the "Test quiz" "quiz activity" page
And I navigate to "Question bank" in current page administration
And I click on "#action-menu-toggle-1" "css_element" in the "First question" "table_row"
And I click on ".dropdown-toggle" "css_element" in the "First question" "table_row"
And I should see "Manage tags"
Scenario: Enable/disable tagquestion section from question edit form