"no-trailing-spaces": "on",
"no-unnamed-features": "on",
"no-unnamed-scenarios": "on",
- "no-scenario-outlines-without-examples": "on"
+ "no-scenario-outlines-without-examples": "on",
+ "new-line-at-eof": ["on", "yes"]
}
And I set the field "id_department" to "red"
And I press "Add filter"
And I should see "User One"
- And I should not see "User Two"
\ No newline at end of file
+ And I should not see "User Two"
And I should see "Field 2: 1 June 2020"
And I should see "Field 3: b"
And I should see "Field 4: Hello"
- And I should see "Field 5: Some text"
\ No newline at end of file
+ And I should see "Field 5: Some text"
And I should see "Field 2: Tuesday, 1 October 2019, 2:00"
And I should see "Field 3: b"
And I should see "Field 4: Hello"
- And I should see "Field 5: Goodbye"
\ No newline at end of file
+ And I should see "Field 5: Goodbye"
Then I should see "2 January 2020" in the "Enrolment starts" "table_row"
And I should see "12 January 2020" in the "Enrolment ends" "table_row"
And I click on "Close" "button"
- And I log out
\ No newline at end of file
+ And I log out
| Settings | Include enrolled users | 0 |
Then I should see "Test database name"
When I follow "Test database name"
- Then I should not see "Student entry"
\ No newline at end of file
+ Then I should not see "Student entry"
And I follow "Course Badge"
And I press "Award badge"
# Teacher 2 shouldn't be able to go further
- Then I should see "Sorry, but you need to be part of a group to see this page."
\ No newline at end of file
+ Then I should see "Sorry, but you need to be part of a group to see this page."
When I follow "Test forum name"
And I follow "Dashboard" in the user menu
And I change window size to "large"
- Then I should see "Test forum name" in the "Recently accessed items" "block"
\ No newline at end of file
+ Then I should see "Test forum name" in the "Recently accessed items" "block"
And I add the "Navigation" block if not present
And I expand "Site pages" node
And I click on "Content bank" "link"
- And I should not see "filltheblanks.h5p"
\ No newline at end of file
+ And I should not see "filltheblanks.h5p"
Scenario: Editing teachers can't access content bank at system level
Given I log in as "teacher1"
- Then "Content bank" "link" should not exist
\ No newline at end of file
+ Then "Content bank" "link" should not exist
And I set the field "Content name" to "New name"
And I click on "Rename" "button"
And I navigate to "Reports > Live logs" in site administration
- Then I should see "Content updated"
\ No newline at end of file
+ Then I should see "Content updated"
And I press "Update format"
Then I should see "Forum" in the "Type of activity" "field"
And I press "Save and display"
- And I should see "Adding a new Forum"
\ No newline at end of file
+ And I should see "Adding a new Forum"
# Redirect
And I should see the "Course categories and courses" management page
And I should see "Cat 1" in the "#category-listing" "css_element"
- And I should see "Test course 2: create another course" in the "#course-listing" "css_element"
\ No newline at end of file
+ And I should see "Test course 2: create another course" in the "#course-listing" "css_element"
| Course short name | Edited course shortname |
| Course summary | Edited course summary |
And I press "Save and return"
- Then I should see the "Course categories and courses" management page
\ No newline at end of file
+ Then I should see the "Course categories and courses" management page
And I expand all fieldsets
Then "#id_customfield_testfield_hour" "css_element" should not be visible
Then "#id_customfield_testfield_minute" "css_element" should not be visible
- And I log out
\ No newline at end of file
+ And I log out
And I set the following fields to these values:
| Test field | |
And I press "Save and display"
- Then I should not see "This value is already used"
\ No newline at end of file
+ Then I should not see "This value is already used"
And I set the following fields to these values:
| Password | moodle_rules |
And I press "Submit"
- And I should see "Test forum name"
\ No newline at end of file
+ And I should see "Test forum name"
And I set the following fields to these values:
| Group name | Group A |
| Enrolment key | Abcdef-1 |
- And I should not see "This enrolment key is already used for another group."
\ No newline at end of file
+ And I should not see "This enrolment key is already used for another group."
And I log in as "student2"
And I am on "Course 1" course homepage
And I navigate to course participants
- And ".groupinfobox" "css_element" should not exist
\ No newline at end of file
+ And ".groupinfobox" "css_element" should not exist
And I open messaging
And I open messaging settings preferences
And I should see "Notification preferences"
- And I should see "Jabber"
\ No newline at end of file
+ And I should see "Jabber"
And I log in as "student1"
And I follow "Preferences" in the user menu
And I click on "Message preferences" "link"
- And the field "Email" matches value "0"
\ No newline at end of file
+ And the field "Email" matches value "0"
And I should see "Graded" in the "Grading status" "table_row"
And I should see "Catch for us the foxes."
And I should see "Teacher" in the "Graded by" "table_row"
- And I log out
\ No newline at end of file
+ And I log out
And I press "Select all"
And I press "Delete selected"
And I press "Delete"
- And I should see "No entries in database"
\ No newline at end of file
+ And I should see "No entries in database"
And I am on "Course 1" course homepage
Then I add a new discussion to "Test forum name" forum inline with:
| Subject | Post with attachment |
- | Message | This is the body |
\ No newline at end of file
+ | Message | This is the body |
And I click on "Discussion 1" action menu
And I click on "[title='Star this discussion']" "css_element"
And I click on "Discussion 1" action menu
- And I click on "[title='Unstar this discussion']" "css_element"
\ No newline at end of file
+ And I click on "[title='Unstar this discussion']" "css_element"
Then I should see "Discussion contents 1, third message"
Then I should see "This is a private reply. It is not visible to other participants."
When I reload the page
- Then I should see "Discussion contents 1, third message"
\ No newline at end of file
+ Then I should see "Discussion contents 1, third message"
And I should see "Your answer : frog"
And I should see "A frog is an amphibian"
And I press "Continue"
- And I should see "Congratulations - end of lesson reached"
\ No newline at end of file
+ And I should see "Congratulations - end of lesson reached"
And I set the following fields to these values:
| True | 1 |
And I press "Submit"
- And I log out
\ No newline at end of file
+ And I log out
Then I should see "Grade essays"
And I follow "Grade essays"
And I should not see "Student 1"
- And I should see "Student 2"
\ No newline at end of file
+ And I should see "Student 2"
And I log out
And I log in as "teacher1"
And I am on "Course 1" course homepage
- And "Student 1" user has completed "ADV Multi-sco SCORM package" activity
\ No newline at end of file
+ And "Student 1" user has completed "ADV Multi-sco SCORM package" activity
And I follow "Basic Multi-sco SCORM package"
Then I should not see "Review mode"
And I switch to "scorm_object" iframe
- And I should see "Play of the game"
\ No newline at end of file
+ And I should see "Play of the game"
And I follow "Comments"
And I should not see "Test comment"
And I follow "Files"
- And I should see "empty.txt"
\ No newline at end of file
+ And I should see "empty.txt"
| Setting | initialnumfeedbacks | quiz | initialnumfeedbacks | 5 | maxsizetodownload |
| Setting | maxsizetodownload | folder | maxsizetodownload | 2048 | initialnumfeedbacks |
| Value | Perth | core | defaultcity | Perth | maxsizetodownload |
- | User | Admin | core | defaultcity | Perth | zzzzzzzzz |
\ No newline at end of file
+ | User | Admin | core | defaultcity | Perth | zzzzzzzzz |
And I click on "Browse list of users" "link"
And I should see "New filter"
When I press the "back" button in the browser
- Then I should see "Cohorts"
\ No newline at end of file
+ Then I should see "Cohorts"
| targettype | Title | Content |
| Display in middle of page | Welcome | Welcome to your personal learning space. We'd like to give you a quick tour to show you some of the areas you may find helpful |
When I am on homepage
- Then I should see "Welcome to your personal learning space. We'd like to give you a quick tour to show you some of the areas you may find helpful"
\ No newline at end of file
+ Then I should see "Welcome to your personal learning space. We'd like to give you a quick tour to show you some of the areas you may find helpful"
When I am on "Course 1" course homepage
And I should not see "Add a resource..." in the "Topic 1" "section"
And I turn editing mode on
- Then I should see "Add a resource..." in the "Topic 1" "section"
\ No newline at end of file
+ Then I should see "Add a resource..." in the "Topic 1" "section"
And I should not see "notvisible_field"
And I should not see "notvisible_field_information"
- And I should not see "Edit profile"
\ No newline at end of file
+ And I should not see "Edit profile"