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
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
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"
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
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"