mirror of
https://github.com/moodle/moodle.git
synced 2025-01-18 05:58:34 +01:00
Merge branch 'MDL-62950-master' of git://github.com/andrewnicols/moodle
This commit is contained in:
commit
1d4eecffc6
@ -364,7 +364,7 @@ Feature: User must accept policy managed by this plugin when logging in and sign
|
||||
And I log out
|
||||
# Create new policy document.
|
||||
And I log in as "admin"
|
||||
And I navigate to "Manage policies" node in "Site administration > Privacy and policies"
|
||||
And I navigate to "Manage policies" node in "Site administration > Users > Privacy and policies"
|
||||
And I should see "Policies and agreements"
|
||||
And I should see "New policy"
|
||||
And I follow "New policy"
|
||||
@ -419,7 +419,7 @@ Feature: User must accept policy managed by this plugin when logging in and sign
|
||||
And I log out
|
||||
# Create new version of the policy document.
|
||||
And I log in as "admin"
|
||||
And I navigate to "Manage policies" node in "Site administration > Privacy and policies"
|
||||
And I navigate to "Manage policies" node in "Site administration > Users > Privacy and policies"
|
||||
When I follow "Actions"
|
||||
Then I should see "View"
|
||||
And I should see "Edit"
|
||||
|
@ -25,11 +25,11 @@ Feature: Test the 'showlogfailures' feature works.
|
||||
And I set the field "Password" to "teacher1"
|
||||
And I press "Log in"
|
||||
# Confirm the notices are displayed.
|
||||
Then I should see "1 failed logins since your last login" in the "nav.navbar" "css_element"
|
||||
Then I should see "1 failed logins since your last login" in the ".navbar" "css_element"
|
||||
And I should see "1 failed logins since your last login" in the "page-footer" "region"
|
||||
# Confirm the notices disappear when navigating to another page.
|
||||
And I am on homepage
|
||||
And I should not see "1 failed logins since your last login" in the "nav.navbar" "css_element"
|
||||
And I should not see "1 failed logins since your last login" in the ".navbar" "css_element"
|
||||
And I should not see "1 failed logins since your last login" in the "page-footer" "region"
|
||||
|
||||
# Given the user has at least one failed login attempt, when they login, then they should see both header and footer notices.
|
||||
@ -46,10 +46,10 @@ Feature: Test the 'showlogfailures' feature works.
|
||||
And I set the field "Password" to "admin"
|
||||
And I press "Log in"
|
||||
# Confirm the notices are displayed.
|
||||
Then I should see "1 failed logins since your last login" in the "nav.navbar" "css_element"
|
||||
Then I should see "1 failed logins since your last login" in the ".navbar" "css_element"
|
||||
And I should see "1 failed logins since your last login (Logs)" in the "page-footer" "region"
|
||||
# Confirm that the link works and that the notices disappear when navigating to another page.
|
||||
And I click on "Logs" "link" in the "page-footer" "region"
|
||||
And I should see "User login failed" in the "table.reportlog" "css_element"
|
||||
And I should not see "1 failed logins since your last login" in the "nav.navbar" "css_element"
|
||||
And I should not see "1 failed logins since your last login" in the ".navbar" "css_element"
|
||||
And I should not see "1 failed logins since your last login (Logs)" in the "page-footer" "region"
|
||||
|
@ -6,7 +6,7 @@ Feature: Test validation of 'Age of digital consent' setting.
|
||||
|
||||
Background:
|
||||
Given I log in as "admin"
|
||||
And I navigate to "Privacy settings" node in "Site administration > Privacy and policies"
|
||||
And I navigate to "Privacy settings" node in "Site administration > Users > Privacy and policies"
|
||||
|
||||
Scenario: Admin provides valid value for 'Age of digital consent'.
|
||||
Given I set the field "s__agedigitalconsentmap" to multiline:
|
||||
|
@ -27,10 +27,10 @@ Feature: Import course's content's twice
|
||||
And I log in as "teacher1"
|
||||
|
||||
Scenario: Import course's contents to another course
|
||||
Given I am on "Course 2" course homepage with editing mode on
|
||||
Given I am on "Course 2" course homepage
|
||||
And I should not see "Online users"
|
||||
And I should not see "Test quiz"
|
||||
And I import "Course 1" course into "Course 2" course using this options:
|
||||
And I import "Course 1" course into "Course 2" course using this options:
|
||||
And I am on "Course 2" course homepage
|
||||
And I should see "Online users"
|
||||
And I should see "Test quiz"
|
||||
|
@ -270,7 +270,7 @@ Feature: View course participants
|
||||
Given I log in as "admin"
|
||||
And I am on "Course 1" course homepage
|
||||
And I navigate to course participants
|
||||
When I navigate to "Enrolment methods" in current page administration
|
||||
When I navigate to "Users > Enrolment methods" in current page administration
|
||||
And I click on "Disable" "link" in the "Manual enrolments" "table_row"
|
||||
Then I navigate to course participants
|
||||
And I should see "Not current" in the "student0x" "table_row"
|
||||
|
Loading…
x
Reference in New Issue
Block a user