mirror of
https://github.com/moodle/moodle.git
synced 2025-01-19 06:18:28 +01:00
MDL-59364 behat: Brief / full links removed
The selector for brief / full user details was removed, it needs removing from the behat test.
This commit is contained in:
parent
3a2304f99b
commit
40f6d24725
@ -198,7 +198,6 @@ Feature: Initials bar
|
|||||||
And I log in as "teacher"
|
And I log in as "teacher"
|
||||||
And I am on "Course 1" course homepage
|
And I am on "Course 1" course homepage
|
||||||
And I follow "Participants"
|
And I follow "Participants"
|
||||||
And I select "Brief" from the "mode" singleselect
|
|
||||||
And ".initialbarall.letter.active" "css_element" should exist in the ".initialbar.firstinitial" "css_element"
|
And ".initialbarall.letter.active" "css_element" should exist in the ".initialbar.firstinitial" "css_element"
|
||||||
And ".initialbarall.letter.active" "css_element" should exist in the ".initialbar.lastinitial" "css_element"
|
And ".initialbarall.letter.active" "css_element" should exist in the ".initialbar.lastinitial" "css_element"
|
||||||
And ".letter.active.B" "css_element" should not exist in the ".initialbar.firstinitial" "css_element"
|
And ".letter.active.B" "css_element" should not exist in the ".initialbar.firstinitial" "css_element"
|
||||||
@ -224,66 +223,6 @@ Feature: Initials bar
|
|||||||
And I should not see "Cstudent Cstudent"
|
And I should not see "Cstudent Cstudent"
|
||||||
And I am on "Course 1" course homepage
|
And I am on "Course 1" course homepage
|
||||||
And I follow "Participants"
|
And I follow "Participants"
|
||||||
And I select "Brief" from the "mode" singleselect
|
|
||||||
And ".initialbarall.letter.active" "css_element" should not exist in the ".initialbar.firstinitial" "css_element"
|
|
||||||
And ".initialbarall.letter.active" "css_element" should not exist in the ".initialbar.lastinitial" "css_element"
|
|
||||||
And ".letter.active.B" "css_element" should exist in the ".initialbar.firstinitial" "css_element"
|
|
||||||
And ".letter.active.A" "css_element" should exist in the ".initialbar.lastinitial" "css_element"
|
|
||||||
And I should not see "Astudent Astudent"
|
|
||||||
And I should see "Bstudent Astudent"
|
|
||||||
And I should not see "Cstudent Cstudent"
|
|
||||||
And I click on "All" "link" in the ".initialbar.firstinitial" "css_element"
|
|
||||||
And ".initialbarall.letter.active" "css_element" should exist in the ".initialbar.firstinitial" "css_element"
|
|
||||||
And ".initialbarall.letter.active" "css_element" should not exist in the ".initialbar.lastinitial" "css_element"
|
|
||||||
And ".letter.active.B" "css_element" should not exist in the ".initialbar.firstinitial" "css_element"
|
|
||||||
And ".letter.active.A" "css_element" should exist in the ".initialbar.lastinitial" "css_element"
|
|
||||||
And I should see "Astudent Astudent"
|
|
||||||
And I should see "Bstudent Astudent"
|
|
||||||
And I should not see "Cstudent Cstudent"
|
|
||||||
And I click on "All" "link" in the ".initialbar.lastinitial" "css_element"
|
|
||||||
And ".initialbarall.letter.active" "css_element" should exist in the ".initialbar.firstinitial" "css_element"
|
|
||||||
And ".initialbarall.letter.active" "css_element" should exist in the ".initialbar.lastinitial" "css_element"
|
|
||||||
And ".letter.active.B" "css_element" should not exist in the ".initialbar.firstinitial" "css_element"
|
|
||||||
And ".letter.active.A" "css_element" should not exist in the ".initialbar.lastinitial" "css_element"
|
|
||||||
And I should see "Astudent Astudent"
|
|
||||||
And I should see "Bstudent Astudent"
|
|
||||||
And I should see "Cstudent Cstudent"
|
|
||||||
|
|
||||||
@javascript
|
|
||||||
Scenario: Filter users on course participants page
|
|
||||||
Given the following "activities" exist:
|
|
||||||
| activity | course | idnumber | name | intro | assignsubmission_onlinetext_enabled | assignsubmission_file_enabled |
|
|
||||||
| assign | C1 | assign1 | TestAssignment | Test assignment description | 0 | 0 |
|
|
||||||
And I log in as "teacher"
|
|
||||||
And I am on "Course 1" course homepage
|
|
||||||
And I follow "Participants"
|
|
||||||
And I select "User details" from the "mode" singleselect
|
|
||||||
And ".initialbarall.letter.active" "css_element" should exist in the ".initialbar.firstinitial" "css_element"
|
|
||||||
And ".initialbarall.letter.active" "css_element" should exist in the ".initialbar.lastinitial" "css_element"
|
|
||||||
And ".letter.active.B" "css_element" should not exist in the ".initialbar.firstinitial" "css_element"
|
|
||||||
And ".letter.active.A" "css_element" should not exist in the ".initialbar.lastinitial" "css_element"
|
|
||||||
And I should see "Astudent Astudent"
|
|
||||||
And I should see "Bstudent Astudent"
|
|
||||||
And I should see "Cstudent Cstudent"
|
|
||||||
And I click on "A" "link" in the ".initialbar.lastinitial" "css_element"
|
|
||||||
And ".initialbarall.letter.active" "css_element" should exist in the ".initialbar.firstinitial" "css_element"
|
|
||||||
And ".initialbarall.letter.active" "css_element" should not exist in the ".initialbar.lastinitial" "css_element"
|
|
||||||
And ".letter.active.B" "css_element" should not exist in the ".initialbar.firstinitial" "css_element"
|
|
||||||
And ".letter.active.A" "css_element" should exist in the ".initialbar.lastinitial" "css_element"
|
|
||||||
And I should see "Astudent Astudent"
|
|
||||||
And I should see "Bstudent Astudent"
|
|
||||||
And I should not see "Cstudent Cstudent"
|
|
||||||
And I click on "B" "link" in the ".initialbar.firstinitial" "css_element"
|
|
||||||
And ".initialbarall.letter.active" "css_element" should not exist in the ".initialbar.firstinitial" "css_element"
|
|
||||||
And ".initialbarall.letter.active" "css_element" should not exist in the ".initialbar.lastinitial" "css_element"
|
|
||||||
And ".letter.active.B" "css_element" should exist in the ".initialbar.firstinitial" "css_element"
|
|
||||||
And ".letter.active.A" "css_element" should exist in the ".initialbar.lastinitial" "css_element"
|
|
||||||
And I should not see "Astudent Astudent"
|
|
||||||
And I should see "Bstudent Astudent"
|
|
||||||
And I should not see "Cstudent Cstudent"
|
|
||||||
And I am on "Course 1" course homepage
|
|
||||||
And I follow "Participants"
|
|
||||||
And I select "User details" from the "mode" singleselect
|
|
||||||
And ".initialbarall.letter.active" "css_element" should not exist in the ".initialbar.firstinitial" "css_element"
|
And ".initialbarall.letter.active" "css_element" should not exist in the ".initialbar.firstinitial" "css_element"
|
||||||
And ".initialbarall.letter.active" "css_element" should not exist in the ".initialbar.lastinitial" "css_element"
|
And ".initialbarall.letter.active" "css_element" should not exist in the ".initialbar.lastinitial" "css_element"
|
||||||
And ".letter.active.B" "css_element" should exist in the ".initialbar.firstinitial" "css_element"
|
And ".letter.active.B" "css_element" should exist in the ".initialbar.firstinitial" "css_element"
|
||||||
|
Loading…
x
Reference in New Issue
Block a user