mirror of
https://github.com/moodle/moodle.git
synced 2025-04-21 16:32:18 +02:00
MDL-51981 behat: No need for JS tag
This scenario crashes win-chrome and probably other comninations. Looking at this, it seems js tag is not needed, so removing js tag to make it pass on all OS
This commit is contained in:
parent
22d0a8f11e
commit
4b274a10c2
@ -61,7 +61,6 @@ Feature: The student can navigate to their grades page and user grade report.
|
||||
And I follow "Grades"
|
||||
Then I should see "My badges from Acceptance test site web site"
|
||||
|
||||
@javascript
|
||||
Scenario: Log in as a parent and view a childs grades.
|
||||
When I log in as "admin"
|
||||
And I am on site homepage
|
||||
@ -84,7 +83,7 @@ Feature: The student can navigate to their grades page and user grade report.
|
||||
And I click on "Preferences" "link" in the ".profile_tree" "css_element"
|
||||
And I follow "Assign roles relative to this user"
|
||||
And I follow "Parent"
|
||||
And I click on "//select[@id='addselect']/descendant::option[contains(., 'Parent 1 (parent1@example.com)')]" "xpath_element"
|
||||
And I set the field "Potential users" to "Parent 1 (parent1@example.com)"
|
||||
And I click on "Add" "button"
|
||||
And I log out
|
||||
And I log in as "parent1"
|
||||
|
@ -53,7 +53,6 @@ Feature: Access to preferences page
|
||||
And I follow "Student 2"
|
||||
Then I should see "Preferences" in the "#region-main" "css_element"
|
||||
|
||||
@javascript
|
||||
Scenario: A user with the appropriate permissions can view another user's permissions page.
|
||||
Given I log in as "admin"
|
||||
And I am on site homepage
|
||||
@ -76,7 +75,7 @@ Feature: Access to preferences page
|
||||
And I click on "Preferences" "link" in the ".profile_tree" "css_element"
|
||||
And I follow "Assign roles relative to this user"
|
||||
And I follow "Parent"
|
||||
And I click on "//select[@id='addselect']/descendant::option[contains(., 'Parent 1 (parent1@example.com)')]" "xpath_element"
|
||||
And I set the field "Potential users" to "Parent 1 (parent1@example.com)"
|
||||
And I click on "Add" "button"
|
||||
And I log out
|
||||
And I log in as "parent"
|
||||
|
Loading…
x
Reference in New Issue
Block a user