mirror of
https://github.com/moodle/moodle.git
synced 2025-08-05 17:06:53 +02:00
Merge branch 'MDL-67262' of git://github.com/stronk7/moodle
This commit is contained in:
commit
b5b7e88caa
1 changed files with 6 additions and 6 deletions
|
@ -5,24 +5,24 @@ Feature: Recommending activities
|
||||||
Scenario: As an admin I can recommend activities from an admin setting page.
|
Scenario: As an admin I can recommend activities from an admin setting page.
|
||||||
Given I log in as "admin"
|
Given I log in as "admin"
|
||||||
And I am on site homepage
|
And I am on site homepage
|
||||||
And I navigate to "Courses > Activity chooser" in site administration
|
And I navigate to "Courses > Recommended activities" in site administration
|
||||||
And I click on ".activity-recommend-checkbox" "css" in the "Assignment" "table_row"
|
And I click on ".activity-recommend-checkbox" "css" in the "Assignment" "table_row"
|
||||||
And I navigate to "Courses > Add a new course" in site administration
|
And I navigate to "Courses > Add a new course" in site administration
|
||||||
When I navigate to "Courses > Activity chooser" in site administration
|
When I navigate to "Courses > Recommended activities" in site administration
|
||||||
Then "input[aria-label=\"Recommend activity: Assignment\"][checked=checked]" "css_element" should exist
|
Then "input[aria-label=\"Recommend activity: Assignment\"][checked=checked]" "css_element" should exist
|
||||||
And "input[aria-label=\"Recommend activity: Book\"]:not([checked=checked])" "css_element" should exist
|
And "input[aria-label=\"Recommend activity: Book\"]:not([checked=checked])" "css_element" should exist
|
||||||
|
|
||||||
Scenario: As an admin I can remove recommend activities from an admin setting page.
|
Scenario: As an admin I can remove recommend activities from an admin setting page.
|
||||||
Given I log in as "admin"
|
Given I log in as "admin"
|
||||||
And I am on site homepage
|
And I am on site homepage
|
||||||
And I navigate to "Courses > Activity chooser" in site administration
|
And I navigate to "Courses > Recommended activities" in site administration
|
||||||
And I click on ".activity-recommend-checkbox" "css" in the "Assignment" "table_row"
|
And I click on ".activity-recommend-checkbox" "css" in the "Assignment" "table_row"
|
||||||
And I navigate to "Courses > Add a new course" in site administration
|
And I navigate to "Courses > Add a new course" in site administration
|
||||||
And I navigate to "Courses > Activity chooser" in site administration
|
And I navigate to "Courses > Recommended activities" in site administration
|
||||||
And "input[aria-label=\"Recommend activity: Assignment\"][checked=checked]" "css_element" should exist
|
And "input[aria-label=\"Recommend activity: Assignment\"][checked=checked]" "css_element" should exist
|
||||||
And "input[aria-label=\"Recommend activity: Book\"]:not([checked=checked])" "css_element" should exist
|
And "input[aria-label=\"Recommend activity: Book\"]:not([checked=checked])" "css_element" should exist
|
||||||
And I click on ".activity-recommend-checkbox" "css" in the "Assignment" "table_row"
|
And I click on ".activity-recommend-checkbox" "css" in the "Assignment" "table_row"
|
||||||
And I navigate to "Courses > Add a new course" in site administration
|
And I navigate to "Courses > Add a new course" in site administration
|
||||||
When I navigate to "Courses > Activity chooser" in site administration
|
When I navigate to "Courses > Recommended activities" in site administration
|
||||||
Then "input[aria-label=\"Recommend activity: Assignment\"]:not([checked=checked])" "css_element" should exist
|
Then "input[aria-label=\"Recommend activity: Assignment\"]:not([checked=checked])" "css_element" should exist
|
||||||
And "input[aria-label=\"Recommend activity: Book\"]:not([checked=checked])" "css_element" should exist
|
And "input[aria-label=\"Recommend activity: Book\"]:not([checked=checked])" "css_element" should exist
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue