MDL-58265 core_test: remove unnecessary steps

This commmit removes steps that take behat to site home page
to actually get to a course page.

Part of MDL-55611 epic.
This commit is contained in:
Simey Lameze 2017-03-14 14:01:03 +08:00 committed by Damyon Wiese
parent c987d1b2ef
commit 93be3f730c
60 changed files with 7 additions and 162 deletions

View file

@ -57,7 +57,6 @@ Feature: Set up contextual data for tests
| Grouping 1 | C1 | GG1 | | Grouping 1 | C1 | GG1 |
| Grouping 2 | C1 | GG2 | | Grouping 2 | C1 | GG2 |
When I log in as "admin" When I log in as "admin"
And I am on site homepage
And I am on course page "Course 1" And I am on course page "Course 1"
And I navigate to "Users > Groups" in current page administration And I navigate to "Users > Groups" in current page administration
Then I should see "Group 1" Then I should see "Group 1"
@ -87,7 +86,6 @@ Feature: Set up contextual data for tests
| mod/forum:editanypost | Allow | student | Course | C1 | | mod/forum:editanypost | Allow | student | Course | C1 |
| mod/forum:replynews | Prevent | editingteacher | Course | C1 | | mod/forum:replynews | Prevent | editingteacher | Course | C1 |
When I log in as "admin" When I log in as "admin"
And I am on site homepage
And I am on course page "Course 1" And I am on course page "Course 1"
And I navigate to "Users > Permissions" in current page administration And I navigate to "Users > Permissions" in current page administration
And I set the field "Advanced role override" to "Student (1)" And I set the field "Advanced role override" to "Student (1)"
@ -144,23 +142,19 @@ Feature: Set up contextual data for tests
Then "Edit settings" "link" should exist in current page administration Then "Edit settings" "link" should exist in current page administration
And I log out And I log out
And I log in as "user2" And I log in as "user2"
And I am on site homepage
And I am on course page "Course 1" And I am on course page "Course 1"
And "Turn editing on" "link" should exist in current page administration And "Turn editing on" "link" should exist in current page administration
And I log out And I log out
And I log in as "user3" And I log in as "user3"
And I am on site homepage
And I am on course page "Course 1" And I am on course page "Course 1"
And "Turn editing on" "link" should exist in current page administration And "Turn editing on" "link" should exist in current page administration
And I log out And I log out
And I log in as "user4" And I log in as "user4"
And I am on site homepage
And I am on course page "Course 1" And I am on course page "Course 1"
And "Turn editing on" "link" should exist in current page administration And "Turn editing on" "link" should exist in current page administration
And I log out And I log out
And I log in as "user5" And I log in as "user5"
And I should see "You are logged in as" And I should see "You are logged in as"
And I am on site homepage
And I am on course page "Course 1" And I am on course page "Course 1"
And I should see "You can not enrol yourself in this course." And I should see "You can not enrol yourself in this course."
@ -199,7 +193,6 @@ Feature: Set up contextual data for tests
| activity | name | intro | course | idnumber | grade | | activity | name | intro | course | idnumber | grade |
| assign | Test assignment name with scale | Test assignment description | C1 | assign1 | Test Scale 1 | | assign | Test assignment name with scale | Test assignment description | C1 | assign1 | Test Scale 1 |
When I log in as "admin" When I log in as "admin"
And I am on site homepage
And I am on course page "Course 1" And I am on course page "Course 1"
Then I should see "Test assignment name" Then I should see "Test assignment name"
# Assignment 2.2 module type is disabled by default # Assignment 2.2 module type is disabled by default
@ -261,7 +254,6 @@ Feature: Set up contextual data for tests
| grouping | group | | grouping | group |
| GG1 | G1 | | GG1 | G1 |
When I log in as "admin" When I log in as "admin"
And I am on site homepage
And I am on course page "Course 1" And I am on course page "Course 1"
And I navigate to "Users > Groups" in current page administration And I navigate to "Users > Groups" in current page administration
Then the "groups" select box should contain "Group 1 (1)" Then the "groups" select box should contain "Group 1 (1)"
@ -344,7 +336,6 @@ Feature: Set up contextual data for tests
| Test Grade Item 2 | C1 | Grade category 1 | | Test Grade Item 2 | C1 | Grade category 1 |
| Test Grade Item 3 | C1 | Grade sub category 2 | | Test Grade Item 3 | C1 | Grade sub category 2 |
When I log in as "admin" When I log in as "admin"
And I am on site homepage
And I am on course page "Course 1" And I am on course page "Course 1"
And I navigate to "Setup > Gradebook setup" in the course gradebook And I navigate to "Setup > Gradebook setup" in the course gradebook
Then I should see "Test Grade Item 1" Then I should see "Test Grade Item 1"
@ -373,7 +364,6 @@ Feature: Set up contextual data for tests
| name | scale | | name | scale |
| Test Scale 1 | Disappointing, Good, Very good, Excellent | | Test Scale 1 | Disappointing, Good, Very good, Excellent |
When I log in as "admin" When I log in as "admin"
And I am on site homepage
And I am on course page "Course 1" And I am on course page "Course 1"
And I navigate to "Scales" in the course gradebook And I navigate to "Scales" in the course gradebook
Then I should see "Test Scale 1" Then I should see "Test Scale 1"
@ -395,7 +385,6 @@ Feature: Set up contextual data for tests
And the following config values are set as admin: And the following config values are set as admin:
| enableoutcomes | 1 | | enableoutcomes | 1 |
When I log in as "admin" When I log in as "admin"
And I am on site homepage
And I am on course page "Course 1" And I am on course page "Course 1"
And I follow "Outcomes" And I follow "Outcomes"
Then I should see "Grade outcome 1" in the "#addoutcomes" "css_element" Then I should see "Grade outcome 1" in the "#addoutcomes" "css_element"
@ -424,7 +413,6 @@ Feature: Set up contextual data for tests
And the following config values are set as admin: And the following config values are set as admin:
| enableoutcomes | 1 | | enableoutcomes | 1 |
When I log in as "admin" When I log in as "admin"
And I am on site homepage
And I am on course page "Course 1" And I am on course page "Course 1"
And I navigate to "Setup > Gradebook setup" in the course gradebook And I navigate to "Setup > Gradebook setup" in the course gradebook
Then I should see "Test Outcome Grade Item 1" Then I should see "Test Outcome Grade Item 1"
@ -442,6 +430,5 @@ Feature: Set up contextual data for tests
| blockname | contextlevel | reference | pagetypepattern | defaultregion | | blockname | contextlevel | reference | pagetypepattern | defaultregion |
| online_users | Course | C1 | course-view-* | site-pre | | online_users | Course | C1 | course-view-* | site-pre |
When I log in as "admin" When I log in as "admin"
And I am on site homepage
And I am on course page "Course 1" And I am on course page "Course 1"
Then I should see "Online users" Then I should see "Online users"

View file

@ -33,7 +33,6 @@ Feature: Verify that all form fields values can be get and set
| activity | course | idnumber | name | intro | firstpagetitle | wikimode | visible | | activity | course | idnumber | name | intro | firstpagetitle | wikimode | visible |
| wiki | C1 | wiki1 | Test this one | Test this one | Test this one | collaborative | 0 | | wiki | C1 | wiki1 | Test this one | Test this one | Test this one | collaborative | 0 |
And I log in as "admin" And I log in as "admin"
And I am on site homepage
And I am on course page "Course 1" And I am on course page "Course 1"
And I navigate to "Reset" node in "Course administration" And I navigate to "Reset" node in "Course administration"
# Select (multi-select) - Checking "the select box should contain". # Select (multi-select) - Checking "the select box should contain".
@ -48,7 +47,6 @@ Feature: Verify that all form fields values can be get and set
And the "Unenrol users" select box should not contain "President" And the "Unenrol users" select box should not contain "President"
And the "Unenrol users" select box should not contain "Baker" And the "Unenrol users" select box should not contain "Baker"
And the "Unenrol users" select box should not contain "President, Baker" And the "Unenrol users" select box should not contain "President, Baker"
And I am on site homepage
And I am on course page "Course 1" And I am on course page "Course 1"
And I turn editing mode on And I turn editing mode on
And I follow "Test this one" And I follow "Test this one"
@ -115,7 +113,6 @@ Feature: Verify that all form fields values can be get and set
And the field "one" matches value "1" And the field "one" matches value "1"
And the field "two" matches value "" And the field "two" matches value ""
# Check if field xpath set/match works. # Check if field xpath set/match works.
And I am on site homepage
And I am on course page "Course 1" And I am on course page "Course 1"
And I navigate to "Edit settings" node in "Course administration" And I navigate to "Edit settings" node in "Course administration"
And I set the field with xpath "//input[@id='id_idnumber']" to "Course id number" And I set the field with xpath "//input[@id='id_idnumber']" to "Course id number"

View file

@ -22,7 +22,6 @@ Feature: tool_monitor_subscriptions
And I log in as "admin" And I log in as "admin"
And I navigate to "Event monitoring rules" node in "Site administration > Reports" And I navigate to "Event monitoring rules" node in "Site administration > Reports"
And I click on "Enable" "link" And I click on "Enable" "link"
And I am on site homepage
And I am on course page "Course 1" And I am on course page "Course 1"
And I navigate to "Event monitoring rules" node in "Course administration > Reports" And I navigate to "Event monitoring rules" node in "Course administration > Reports"
And I press "Add a new rule" And I press "Add a new rule"
@ -132,7 +131,6 @@ Feature: tool_monitor_subscriptions
And I follow "Subscribe to rule \"New rule course level\"" And I follow "Subscribe to rule \"New rule course level\""
And I should see "Subscription successfully created" And I should see "Subscription successfully created"
And "#toolmonitorsubs_r0" "css_element" should exist And "#toolmonitorsubs_r0" "css_element" should exist
And I am on site homepage
And I am on course page "Course 1" And I am on course page "Course 1"
And I trigger cron And I trigger cron
And I am on site homepage And I am on site homepage

View file

@ -21,7 +21,6 @@ Feature: availability_completion
Scenario: Test condition Scenario: Test condition
# Basic setup. # Basic setup.
Given I log in as "teacher1" Given I log in as "teacher1"
And I am on site homepage
And I am on course page "Course 1" And I am on course page "Course 1"
And I turn editing mode on And I turn editing mode on
@ -48,7 +47,6 @@ Feature: availability_completion
# Log back in as student. # Log back in as student.
When I log out When I log out
And I log in as "student1" And I log in as "student1"
And I am on site homepage
And I am on course page "Course 1" And I am on course page "Course 1"
# Page 2 should not appear yet. # Page 2 should not appear yet.

View file

@ -21,7 +21,6 @@ Feature: availability_date
Scenario: Test condition Scenario: Test condition
# Basic setup. # Basic setup.
Given I log in as "teacher1" Given I log in as "teacher1"
And I am on site homepage
And I am on course page "Course 1" And I am on course page "Course 1"
And I turn editing mode on And I turn editing mode on
@ -55,7 +54,6 @@ Feature: availability_date
# Log back in as student. # Log back in as student.
When I log out When I log out
And I log in as "student1" And I log in as "student1"
And I am on site homepage
And I am on course page "Course 1" And I am on course page "Course 1"
# Page 1 should appear, but page 2 does not. # Page 1 should appear, but page 2 does not.

View file

@ -21,7 +21,6 @@ Feature: availability_grade
Scenario: Test condition Scenario: Test condition
# Basic setup. # Basic setup.
Given I log in as "teacher1" Given I log in as "teacher1"
And I am on site homepage
And I am on course page "Course 1" And I am on course page "Course 1"
And I turn editing mode on And I turn editing mode on
@ -91,7 +90,6 @@ Feature: availability_grade
# Log in as student without a grade yet. # Log in as student without a grade yet.
When I log out When I log out
And I log in as "student1" And I log in as "student1"
And I am on site homepage
And I am on course page "Course 1" And I am on course page "Course 1"
# Do the assignment. # Do the assignment.
@ -110,7 +108,6 @@ Feature: availability_grade
# Log back in as teacher. # Log back in as teacher.
When I log out When I log out
And I log in as "teacher1" And I log in as "teacher1"
And I am on site homepage
And I am on course page "Course 1" And I am on course page "Course 1"
# Give the assignment 40%. # Give the assignment 40%.
@ -126,7 +123,6 @@ Feature: availability_grade
# Log back in as student. # Log back in as student.
And I log out And I log out
And I log in as "student1" And I log in as "student1"
And I am on site homepage
And I am on course page "Course 1" And I am on course page "Course 1"
# Check pages are visible. # Check pages are visible.

View file

@ -21,7 +21,6 @@ Feature: availability_group
Scenario: Test condition Scenario: Test condition
# Basic setup. # Basic setup.
Given I log in as "teacher1" Given I log in as "teacher1"
And I am on site homepage
And I am on course page "Course 1" And I am on course page "Course 1"
And I turn editing mode on And I turn editing mode on
@ -39,7 +38,6 @@ Feature: availability_group
| G2 | C1 | GI2 | | G2 | C1 | GI2 |
# This step used to be 'And I follow "C1"', but Chrome thinks the breadcrumb # This step used to be 'And I follow "C1"', but Chrome thinks the breadcrumb
# is not clickable, so we'll go via the home page instead. # is not clickable, so we'll go via the home page instead.
And I am on site homepage
And I am on course page "Course 1" And I am on course page "Course 1"
And I add a "Page" to section "1" And I add a "Page" to section "1"
And I expand all fieldsets And I expand all fieldsets
@ -85,7 +83,6 @@ Feature: availability_group
# Log back in as student. # Log back in as student.
When I log out When I log out
And I log in as "student1" And I log in as "student1"
And I am on site homepage
And I am on course page "Course 1" And I am on course page "Course 1"
# No pages should appear yet. # No pages should appear yet.
@ -99,7 +96,6 @@ Feature: availability_group
| student1 | GI1 | | student1 | GI1 |
And I log out And I log out
And I log in as "student1" And I log in as "student1"
And I am on site homepage
And I am on course page "Course 1" And I am on course page "Course 1"
# P1 (any groups) and P2 should show but not P3. # P1 (any groups) and P2 should show but not P3.

View file

@ -27,7 +27,6 @@ Feature: availability_grouping
Scenario: Test condition Scenario: Test condition
# Basic setup. # Basic setup.
Given I log in as "teacher1" Given I log in as "teacher1"
And I am on site homepage
And I am on course page "Course 1" And I am on course page "Course 1"
And I turn editing mode on And I turn editing mode on
@ -41,7 +40,6 @@ Feature: availability_grouping
# Back to course page but add groups. # Back to course page but add groups.
# This step used to be 'And I follow "C1"', but Chrome thinks the breadcrumb # This step used to be 'And I follow "C1"', but Chrome thinks the breadcrumb
# is not clickable, so we'll go via the home page instead. # is not clickable, so we'll go via the home page instead.
And I am on site homepage
And I am on course page "Course 1" And I am on course page "Course 1"
And the following "groupings" exist: And the following "groupings" exist:
| name | course | idnumber | | name | course | idnumber |
@ -90,7 +88,6 @@ Feature: availability_grouping
| grouping | group | | grouping | group |
| GXI1 | GI1 | | GXI1 | GI1 |
And I log in as "student1" And I log in as "student1"
And I am on site homepage
And I am on course page "Course 1" And I am on course page "Course 1"
# P1 should show but not B2. # P1 should show but not B2.

View file

@ -21,7 +21,6 @@ Feature: availability_profile
Scenario: Test condition Scenario: Test condition
# Basic setup. # Basic setup.
Given I log in as "teacher1" Given I log in as "teacher1"
And I am on site homepage
And I am on course page "Course 1" And I am on course page "Course 1"
And I turn editing mode on And I turn editing mode on
@ -56,7 +55,6 @@ Feature: availability_profile
# Log back in as student. # Log back in as student.
When I log out When I log out
And I log in as "student1" And I log in as "student1"
And I am on site homepage
And I am on course page "Course 1" And I am on course page "Course 1"
# I see P1 but not P2. # I see P1 but not P2.
@ -82,7 +80,6 @@ Feature: availability_profile
And I click on "Update profile" "button" And I click on "Update profile" "button"
# Set Page activity which has requirement on this field. # Set Page activity which has requirement on this field.
And I am on site homepage
And I am on course page "Course 1" And I am on course page "Course 1"
And I turn editing mode on And I turn editing mode on
And I add a "Page" to section "1" And I add a "Page" to section "1"
@ -109,6 +106,5 @@ Feature: availability_profile
# Log out and back in as student. Should be able to see activity. # Log out and back in as student. Should be able to see activity.
And I log out And I log out
And I log in as "student1" And I log in as "student1"
And I am on site homepage
And I am on course page "Course 1" And I am on course page "Course 1"
Then I should see "P1" in the "region-main" "region" Then I should see "P1" in the "region-main" "region"

View file

@ -39,7 +39,6 @@ Feature: display_availability
Scenario: Activity availability display Scenario: Activity availability display
# Set up. # Set up.
Given I log in as "teacher1" Given I log in as "teacher1"
And I am on site homepage
And I am on course page "Course 1" And I am on course page "Course 1"
And I turn editing mode on And I turn editing mode on
@ -102,7 +101,6 @@ Feature: display_availability
# Change to student view. # Change to student view.
Given I log out Given I log out
And I log in as "student1" And I log in as "student1"
And I am on site homepage
And I am on course page "Course 1" And I am on course page "Course 1"
# Page 1 display still there but should be dimmed and not a link. # Page 1 display still there but should be dimmed and not a link.
@ -123,7 +121,6 @@ Feature: display_availability
Scenario: Section availability display Scenario: Section availability display
# Set up. # Set up.
Given I log in as "teacher1" Given I log in as "teacher1"
And I am on site homepage
And I am on course page "Course 1" And I am on course page "Course 1"
And I turn editing mode on And I turn editing mode on
@ -147,7 +144,6 @@ Feature: display_availability
And I press "Save changes" And I press "Save changes"
# This is necessary because otherwise it fails in Chrome, see MDL-44959 # This is necessary because otherwise it fails in Chrome, see MDL-44959
And I am on site homepage
And I am on course page "Course 1" And I am on course page "Course 1"
# Add Pages to each section. # Add Pages to each section.
@ -172,7 +168,6 @@ Feature: display_availability
# Change to student view. # Change to student view.
Given I log out Given I log out
And I log in as "student1" And I log in as "student1"
And I am on site homepage
And I am on course page "Course 1" And I am on course page "Course 1"
# The contents of both sections should be hidden. # The contents of both sections should be hidden.

View file

@ -32,7 +32,6 @@ Feature: edit_availability
Given the following config values are set as admin: Given the following config values are set as admin:
| enableavailability | 0 | | enableavailability | 0 |
When I log in as "teacher1" When I log in as "teacher1"
And I am on site homepage
And I am on course page "Course 1" And I am on course page "Course 1"
And I turn editing mode on And I turn editing mode on
And I add a "Page" to section "1" And I add a "Page" to section "1"
@ -45,7 +44,6 @@ Feature: edit_availability
And the following config values are set as admin: And the following config values are set as admin:
| enableavailability | 1 | | enableavailability | 1 |
And I am on site homepage
And I am on course page "Course 1" And I am on course page "Course 1"
And I add a "Page" to section "1" And I add a "Page" to section "1"
Then "Restrict access" "fieldset" should exist Then "Restrict access" "fieldset" should exist
@ -149,7 +147,6 @@ Feature: edit_availability
Scenario: Edit availability using settings in section form Scenario: Edit availability using settings in section form
# Set up. # Set up.
Given I log in as "teacher1" Given I log in as "teacher1"
And I am on site homepage
And I am on course page "Course 1" And I am on course page "Course 1"
And I turn editing mode on And I turn editing mode on
@ -171,7 +168,6 @@ Feature: edit_availability
Given the following config values are set as admin: Given the following config values are set as admin:
| enableavailability | 0 | | enableavailability | 0 |
And I log in as "admin" And I log in as "admin"
And I am on site homepage
And I am on course page "Course 1" And I am on course page "Course 1"
And I turn editing mode on And I turn editing mode on
And I add a "Forum" to section "1" And I add a "Forum" to section "1"
@ -185,7 +181,6 @@ Feature: edit_availability
| name | course | idnumber | | name | course | idnumber |
| GX1 | C1 | GXI1 | | GX1 | C1 | GXI1 |
And I log in as "admin" And I log in as "admin"
And I am on site homepage
And I am on course page "Course 1" And I am on course page "Course 1"
And I turn editing mode on And I turn editing mode on
And I add a "Forum" to section "1" And I add a "Forum" to section "1"

View file

@ -15,7 +15,6 @@ Feature: Restore Moodle 2 course backups
| assign | C3 | assign1 | Test assign name | Assign description | 1 | | assign | C3 | assign1 | Test assign name | Assign description | 1 |
| data | C3 | data1 | Test database name | Database description | 2 | | data | C3 | data1 | Test database name | Database description | 2 |
And I log in as "admin" And I log in as "admin"
And I am on site homepage
And I am on course page "Course 1" And I am on course page "Course 1"
And I turn editing mode on And I turn editing mode on
And I add a "Forum" to section "1" and I fill the form with: And I add a "Forum" to section "1" and I fill the form with:

View file

@ -40,7 +40,6 @@ Feature: Enable Block blog menu in an activity
And I press "Save changes" And I press "Save changes"
Then I should see "S1 First Blog" Then I should see "S1 First Blog"
And I should see "This is my awesome blog!" And I should see "This is my awesome blog!"
And I follow "Dashboard"
And I am on course page "Course 1" And I am on course page "Course 1"
And I follow "Test assignment 1" And I follow "Test assignment 1"
And I follow "Blog entries" And I follow "Blog entries"
@ -71,7 +70,6 @@ Feature: Enable Block blog menu in an activity
And I should see "S2 Second Blog" And I should see "S2 Second Blog"
And I should see "My unrelated blog!" And I should see "My unrelated blog!"
And I should not see "Associated Assignment: Test assignment 1" And I should not see "Associated Assignment: Test assignment 1"
And I follow "Dashboard"
And I am on course page "Course 1" And I am on course page "Course 1"
And I follow "Test assignment 1" And I follow "Test assignment 1"
And I follow "Add an entry about this Assignment" And I follow "Add an entry about this Assignment"
@ -82,7 +80,6 @@ Feature: Enable Block blog menu in an activity
And I should see "S2 First Blog" And I should see "S2 First Blog"
And I should see "My course blog is better!" And I should see "My course blog is better!"
And I should see "Associated Assignment: Test assignment 1" And I should see "Associated Assignment: Test assignment 1"
And I follow "Dashboard"
And I am on course page "Course 1" And I am on course page "Course 1"
And I follow "Test assignment 1" And I follow "Test assignment 1"
When I follow "View my entries about this Assignment" When I follow "View my entries about this Assignment"
@ -114,7 +111,6 @@ Feature: Enable Block blog menu in an activity
And I should see "S2 Second Blog" And I should see "S2 Second Blog"
And I should see "My unrelated blog!" And I should see "My unrelated blog!"
And I should not see "Associated Assignment: Test assignment 1" And I should not see "Associated Assignment: Test assignment 1"
And I follow "Dashboard"
And I am on course page "Course 1" And I am on course page "Course 1"
And I follow "Test assignment 1" And I follow "Test assignment 1"
And I follow "Add an entry about this Assignment" And I follow "Add an entry about this Assignment"
@ -125,7 +121,6 @@ Feature: Enable Block blog menu in an activity
And I should see "S2 First Blog" And I should see "S2 First Blog"
And I should see "My course blog is better!" And I should see "My course blog is better!"
And I should see "Associated Assignment: Test assignment 1" And I should see "Associated Assignment: Test assignment 1"
And I follow "Dashboard"
And I am on course page "Course 1" And I am on course page "Course 1"
And I follow "Test assignment 1" And I follow "Test assignment 1"
When I follow "View all entries about this Assignment" When I follow "View all entries about this Assignment"
@ -157,7 +152,6 @@ Feature: Enable Block blog menu in an activity
And I should see "S2 Second Blog" And I should see "S2 Second Blog"
And I should see "My unrelated blog!" And I should see "My unrelated blog!"
And I should not see "Associated Assignment: Test assignment 1" And I should not see "Associated Assignment: Test assignment 1"
And I follow "Dashboard"
And I am on course page "Course 1" And I am on course page "Course 1"
And I follow "Test assignment 1" And I follow "Test assignment 1"
And I follow "Add an entry about this Assignment" And I follow "Add an entry about this Assignment"
@ -168,7 +162,6 @@ Feature: Enable Block blog menu in an activity
And I should see "S2 First Blog" And I should see "S2 First Blog"
And I should see "My course blog is better!" And I should see "My course blog is better!"
And I should see "Associated Assignment: Test assignment 1" And I should see "Associated Assignment: Test assignment 1"
And I follow "Dashboard"
And I am on course page "Course 1" And I am on course page "Course 1"
And I follow "Test assignment 1" And I follow "Test assignment 1"
When I follow "Blog entries" When I follow "Blog entries"
@ -200,7 +193,6 @@ Feature: Enable Block blog menu in an activity
And I should see "S2 Second Blog" And I should see "S2 Second Blog"
And I should see "My unrelated blog!" And I should see "My unrelated blog!"
And I should not see "Associated Assignment: Test assignment 1" And I should not see "Associated Assignment: Test assignment 1"
And I follow "Dashboard"
And I am on course page "Course 1" And I am on course page "Course 1"
And I follow "Test assignment 1" And I follow "Test assignment 1"
And I follow "Add an entry about this Assignment" And I follow "Add an entry about this Assignment"

View file

@ -34,7 +34,6 @@ Feature: Students can use block blog menu in a course
And I press "Save changes" And I press "Save changes"
Then I should see "S1 First Blog" Then I should see "S1 First Blog"
And I should see "This is my awesome blog!" And I should see "This is my awesome blog!"
And I follow "Dashboard"
And I am on course page "Course 1" And I am on course page "Course 1"
And I follow "Blog entries" And I follow "Blog entries"
And I should see "S1 First Blog" And I should see "S1 First Blog"
@ -62,7 +61,6 @@ Feature: Students can use block blog menu in a course
And I should see "S2 Second Blog" And I should see "S2 Second Blog"
And I should see "My unrelated blog!" And I should see "My unrelated blog!"
And I should not see "Associated Course: C1" And I should not see "Associated Course: C1"
And I follow "Dashboard"
And I am on course page "Course 1" And I am on course page "Course 1"
And I follow "Add an entry about this course" And I follow "Add an entry about this course"
And I set the following fields to these values: And I set the following fields to these values:
@ -72,7 +70,6 @@ Feature: Students can use block blog menu in a course
And I should see "S2 First Blog" And I should see "S2 First Blog"
And I should see "My course blog is better!" And I should see "My course blog is better!"
And I should see "Associated Course: C1" And I should see "Associated Course: C1"
And I follow "Dashboard"
And I am on course page "Course 1" And I am on course page "Course 1"
When I follow "View my entries about this course" When I follow "View my entries about this course"
Then I should see "S2 First Blog" Then I should see "S2 First Blog"
@ -101,7 +98,6 @@ Feature: Students can use block blog menu in a course
And I should see "S2 Second Blog" And I should see "S2 Second Blog"
And I should see "My unrelated blog!" And I should see "My unrelated blog!"
And I should not see "Associated Course: C1" And I should not see "Associated Course: C1"
And I follow "Dashboard"
And I am on course page "Course 1" And I am on course page "Course 1"
And I follow "Add an entry about this course" And I follow "Add an entry about this course"
And I set the following fields to these values: And I set the following fields to these values:
@ -111,7 +107,6 @@ Feature: Students can use block blog menu in a course
And I should see "S2 First Blog" And I should see "S2 First Blog"
And I should see "My course blog is better!" And I should see "My course blog is better!"
And I should see "Associated Course: C1" And I should see "Associated Course: C1"
And I follow "Dashboard"
And I am on course page "Course 1" And I am on course page "Course 1"
When I follow "View all entries for this course" When I follow "View all entries for this course"
Then I should see "S1 First Blog" Then I should see "S1 First Blog"
@ -140,7 +135,6 @@ Feature: Students can use block blog menu in a course
And I should see "S2 Second Blog" And I should see "S2 Second Blog"
And I should see "My unrelated blog!" And I should see "My unrelated blog!"
And I should not see "Associated Course: C1" And I should not see "Associated Course: C1"
And I follow "Dashboard"
And I am on course page "Course 1" And I am on course page "Course 1"
And I follow "Add an entry about this course" And I follow "Add an entry about this course"
And I set the following fields to these values: And I set the following fields to these values:
@ -150,7 +144,6 @@ Feature: Students can use block blog menu in a course
And I should see "S2 First Blog" And I should see "S2 First Blog"
And I should see "My course blog is better!" And I should see "My course blog is better!"
And I should see "Associated Course: C1" And I should see "Associated Course: C1"
And I follow "Dashboard"
And I am on course page "Course 1" And I am on course page "Course 1"
When I follow "Blog entries" When I follow "Blog entries"
Then I should see "S2 First Blog" Then I should see "S2 First Blog"
@ -179,7 +172,6 @@ Feature: Students can use block blog menu in a course
And I should see "S2 Second Blog" And I should see "S2 Second Blog"
And I should see "My unrelated blog!" And I should see "My unrelated blog!"
And I should not see "Associated Course: C1" And I should not see "Associated Course: C1"
And I follow "Dashboard"
And I am on course page "Course 1" And I am on course page "Course 1"
And I follow "Add an entry about this course" And I follow "Add an entry about this course"
And I set the following fields to these values: And I set the following fields to these values:

View file

@ -66,7 +66,6 @@ Feature: Enable Block Completion in a course using activity completion
Then I should see "Status: Pending" in the "Course completion status" "block" Then I should see "Status: Pending" in the "Course completion status" "block"
And I should see "0 of 1" in the "Activity completion" "table_row" And I should see "0 of 1" in the "Activity completion" "table_row"
And I trigger cron And I trigger cron
And I am on site homepage
And I am on course page "Course 1" And I am on course page "Course 1"
And I should see "1 of 1" in the "Activity completion" "table_row" And I should see "1 of 1" in the "Activity completion" "table_row"
And I follow "More details" And I follow "More details"

View file

@ -39,7 +39,6 @@ Feature: Enable Block Completion in a course using manual self completion
# should be created before the task runs. # should be created before the task runs.
And I wait "1" seconds And I wait "1" seconds
And I run the scheduled task "core\task\completion_regular_task" And I run the scheduled task "core\task\completion_regular_task"
And I am on site homepage
And I am on course page "Course 1" And I am on course page "Course 1"
Then I should see "Status: Complete" in the "Course completion status" "block" Then I should see "Status: Complete" in the "Course completion status" "block"
And I should see "Yes" in the "Self completion" "table_row" And I should see "Yes" in the "Self completion" "table_row"

View file

@ -23,7 +23,6 @@ Feature: Random glossary entry block linking to global glossary
Scenario: View random (last) entry in the global glossary Scenario: View random (last) entry in the global glossary
When I log in as "admin" When I log in as "admin"
And I am on site homepage
And I am on course page "Course 2" And I am on course page "Course 2"
And I follow "Tips and Tricks" And I follow "Tips and Tricks"
And I press "Add a new entry" And I press "Add a new entry"
@ -68,13 +67,11 @@ Feature: Random glossary entry block linking to global glossary
And I press "Save changes" And I press "Save changes"
And I log out And I log out
And I log in as "admin" And I log in as "admin"
And I am on site homepage
And I am on course page "Course 2" And I am on course page "Course 2"
And I follow "Tips and Tricks" And I follow "Tips and Tricks"
And I follow "Edit settings" And I follow "Edit settings"
And I set the field "globalglossary" to "0" And I set the field "globalglossary" to "0"
And I press "Save and return to course" And I press "Save and return to course"
And I am on site homepage
And I am on course page "Course 1" And I am on course page "Course 1"
Then I should see "Please configure this block using the edit icon." in the "Tip of the day" "block" Then I should see "Please configure this block using the edit icon." in the "Tip of the day" "block"
And I log out And I log out

View file

@ -15,7 +15,6 @@ Feature: People Block used in a course
| user | course | role | | user | course | role |
| student1 | C101 | student | | student1 | C101 | student |
And I log in as "admin" And I log in as "admin"
And I am on site homepage
And I am on course page "Course 1" And I am on course page "Course 1"
And I turn editing mode on And I turn editing mode on
And I add the "People" block And I add the "People" block

View file

@ -17,7 +17,6 @@ Feature: Add blocks
| student1 | C1 | student | | student1 | C1 | student |
| student2 | C1 | student | | student2 | C1 | student |
And I log in as "admin" And I log in as "admin"
And I am on site homepage
And I am on course page "Course 1" And I am on course page "Course 1"
And I turn editing mode on And I turn editing mode on
When I add the "Blog menu" block When I add the "Blog menu" block

View file

@ -9,7 +9,6 @@ Feature: Block visibility
| fullname | shortname | category | | fullname | shortname | category |
| Course 1 | C1 | 0 | | Course 1 | C1 | 0 |
And I log in as "admin" And I log in as "admin"
And I am on site homepage
And I am on course page "Course 1" And I am on course page "Course 1"
And I turn editing mode on And I turn editing mode on

View file

@ -28,7 +28,6 @@ Feature: Allowed blocks controls
Given I log in as "admin" Given I log in as "admin"
And I set the following system permissions of "Teacher" role: And I set the following system permissions of "Teacher" role:
| block/activity_modules:addinstance | Prohibit | | block/activity_modules:addinstance | Prohibit |
And I am on site homepage
And I am on course page "Course 1" And I am on course page "Course 1"
And I navigate to "Users > Permissions" in current page administration And I navigate to "Users > Permissions" in current page administration
And I override the system permissions of "Teacher" role with: And I override the system permissions of "Teacher" role with:

View file

@ -9,7 +9,6 @@ Feature: The context of a block can always be returned to it's original state.
| fullname | shortname | category | | fullname | shortname | category |
| Course 1 | C1 | 0 | | Course 1 | C1 | 0 |
And I log in as "admin" And I log in as "admin"
And I am on site homepage
When I am on course page "Course 1" When I am on course page "Course 1"
And I follow "Turn editing on" And I follow "Turn editing on"
And I add the "Tags" block And I add the "Tags" block

View file

@ -24,7 +24,6 @@ Feature: Perform basic calendar functionality
| user | group | | user | group |
| student1 | G1 | | student1 | G1 |
When I log in as "admin" When I log in as "admin"
And I am on site homepage
And I am on course page "Course 1" And I am on course page "Course 1"
And I turn editing mode on And I turn editing mode on
And I add the "Calendar" block And I add the "Calendar" block
@ -36,7 +35,6 @@ Feature: Perform basic calendar functionality
| Description | Come join this awesome event, sucka! | | Description | Come join this awesome event, sucka! |
And I log out And I log out
And I log in as "student1" And I log in as "student1"
And I am on site homepage
And I am on course page "Course 1" And I am on course page "Course 1"
And I follow "This month" And I follow "This month"
And I should see "Really awesome event!" And I should see "Really awesome event!"
@ -52,7 +50,6 @@ Feature: Perform basic calendar functionality
| Description | Come join this awesome event, sucka! | | Description | Come join this awesome event, sucka! |
And I log out And I log out
And I log in as "student1" And I log in as "student1"
And I am on site homepage
And I am on course page "Course 1" And I am on course page "Course 1"
And I follow "This month" And I follow "This month"
And I should see "Really awesome event!" And I should see "Really awesome event!"
@ -69,7 +66,6 @@ Feature: Perform basic calendar functionality
| Description | Come join this awesome event | | Description | Come join this awesome event |
And I log out And I log out
And I log in as "student1" And I log in as "student1"
And I am on site homepage
And I am on course page "Course 1" And I am on course page "Course 1"
And I follow "This month" And I follow "This month"
And I follow "Really awesome event!" And I follow "Really awesome event!"
@ -86,7 +82,6 @@ Feature: Perform basic calendar functionality
| Description | Come join this awesome event, sucka! | | Description | Come join this awesome event, sucka! |
And I log out And I log out
And I log in as "student1" And I log in as "student1"
And I am on site homepage
And I am on course page "Course 1" And I am on course page "Course 1"
And I follow "This month" And I follow "This month"
And I should not see "Really awesome event!" And I should not see "Really awesome event!"

View file

@ -74,7 +74,6 @@ Feature: Access visible and hidden cohorts
Scenario: System manager can see all cohorts defined in the above contexts Scenario: System manager can see all cohorts defined in the above contexts
When I log in as "user1" When I log in as "user1"
And I am on site homepage
And I am on course page "Course 1" And I am on course page "Course 1"
And I navigate to "Enrolment methods" node in "Course administration > Users" And I navigate to "Enrolment methods" node in "Course administration > Users"
And I select "Cohort sync" from the "Add method" singleselect And I select "Cohort sync" from the "Add method" singleselect
@ -101,7 +100,6 @@ Feature: Access visible and hidden cohorts
Scenario: Category manager can see all cohorts defined in his category and visible cohorts defined above Scenario: Category manager can see all cohorts defined in his category and visible cohorts defined above
When I log in as "user2" When I log in as "user2"
And I am on site homepage
And I am on course page "Course 1" And I am on course page "Course 1"
And I navigate to "Enrolment methods" node in "Course administration > Users" And I navigate to "Enrolment methods" node in "Course administration > Users"
And I select "Cohort sync" from the "Add method" singleselect And I select "Cohort sync" from the "Add method" singleselect

View file

@ -15,11 +15,9 @@ Feature: Upload users to a cohort
| Course 1 | C1 | 0 | | Course 1 | C1 | 0 |
| Course 2 | C2 | 0 | | Course 2 | C2 | 0 |
And I log in as "admin" And I log in as "admin"
And I am on site homepage
And I am on course page "Course 1" And I am on course page "Course 1"
And I add "Cohort sync" enrolment method with: And I add "Cohort sync" enrolment method with:
| Cohort | Cohort 1 | | Cohort | Cohort 1 |
And I am on site homepage
And I am on course page "Course 2" And I am on course page "Course 2"
And I add "Cohort sync" enrolment method with: And I add "Cohort sync" enrolment method with:
| Cohort | Cohort 2 | | Cohort | Cohort 2 |
@ -36,13 +34,11 @@ Feature: Upload users to a cohort
And I click on "Assign" "link" in the "Cohort 2" "table_row" And I click on "Assign" "link" in the "Cohort 2" "table_row"
And the "Current users" select box should contain "Mary Smith (marysmith@example.com)" And the "Current users" select box should contain "Mary Smith (marysmith@example.com)"
And the "Current users" select box should contain "Alice Smith (alicesmith@example.com)" And the "Current users" select box should contain "Alice Smith (alicesmith@example.com)"
And I am on site homepage
And I am on course page "Course 1" And I am on course page "Course 1"
And I navigate to "Users > Enrolled users" in current page administration And I navigate to "Users > Enrolled users" in current page administration
And I should see "Tom Jones" And I should see "Tom Jones"
And I should see "Bob Jones" And I should see "Bob Jones"
And I should not see "Mary Smith" And I should not see "Mary Smith"
And I am on site homepage
And I am on course page "Course 2" And I am on course page "Course 2"
And I navigate to "Users > Enrolled users" in current page administration And I navigate to "Users > Enrolled users" in current page administration
And I should see "Mary Smith" And I should see "Mary Smith"

View file

@ -25,7 +25,6 @@ Feature: Topic's course sections highlighting
And I turn section "2" highlighting on And I turn section "2" highlighting on
And section "2" should be highlighted And section "2" should be highlighted
And section "1" should not be highlighted And section "1" should not be highlighted
And I am on homepage
And I am on course page "Course 1" And I am on course page "Course 1"
And section "2" should be highlighted And section "2" should be highlighted
And section "1" should not be highlighted And section "1" should not be highlighted
@ -34,7 +33,6 @@ Feature: Topic's course sections highlighting
And section "2" should not be highlighted And section "2" should not be highlighted
And I reload the page And I reload the page
And section "2" should not be highlighted And section "2" should not be highlighted
And I am on homepage
And I am on course page "Course 1" And I am on course page "Course 1"
And section "2" should not be highlighted And section "2" should not be highlighted
And I log out And I log out

View file

@ -30,7 +30,6 @@ Feature: Guest users can auto-enrol themself in courses where guest access is al
And I press "Save changes" And I press "Save changes"
And I log out And I log out
And I log in as "student1" And I log in as "student1"
And I am on site homepage
And I am on course page "Course 1" And I am on course page "Course 1"
When I follow "Test forum name" When I follow "Test forum name"
Then I should not see "Subscribe to this forum" Then I should not see "Subscribe to this forum"
@ -44,7 +43,6 @@ Feature: Guest users can auto-enrol themself in courses where guest access is al
And I press "Save changes" And I press "Save changes"
And I log out And I log out
And I log in as "student1" And I log in as "student1"
And I am on site homepage
When I am on course page "Course 1" When I am on course page "Course 1"
Then I should see "Guest access" Then I should see "Guest access"
And I set the following fields to these values: And I set the following fields to these values:

View file

@ -34,14 +34,12 @@ Feature: Users can be defined as key holders in courses where self enrolment is
@javascript @javascript
Scenario: The key holder name is displayed on site home page Scenario: The key holder name is displayed on site home page
Given I log in as "admin" Given I log in as "admin"
And I am on site homepage
And I am on course page "Course 1" And I am on course page "Course 1"
When I add "Self enrolment" enrolment method with: When I add "Self enrolment" enrolment method with:
| Custom instance name | Test student enrolment | | Custom instance name | Test student enrolment |
| Enrolment key | moodle_rules | | Enrolment key | moodle_rules |
And I log out And I log out
And I log in as "student1" And I log in as "student1"
And I am on site homepage
And I am on course page "Course 1" And I am on course page "Course 1"
And I should see "You should have received this enrolment key from:" And I should see "You should have received this enrolment key from:"
And I should see "Manager 1" And I should see "Manager 1"

View file

@ -38,7 +38,6 @@ Feature: Users can auto-enrol themself in courses where self enrolment is allowe
| Custom instance name | Test student enrolment | | Custom instance name | Test student enrolment |
And I log out And I log out
And I log in as "student1" And I log in as "student1"
And I am on site homepage
And I am on course page "Course 1" And I am on course page "Course 1"
And I press "Enrol me" And I press "Enrol me"
Then I should see "Topic 1" Then I should see "Topic 1"
@ -52,7 +51,6 @@ Feature: Users can auto-enrol themself in courses where self enrolment is allowe
| Enrolment key | moodle_rules | | Enrolment key | moodle_rules |
And I log out And I log out
And I log in as "student1" And I log in as "student1"
And I am on site homepage
And I am on course page "Course 1" And I am on course page "Course 1"
And I set the following fields to these values: And I set the following fields to these values:
| Enrolment key | moodle_rules | | Enrolment key | moodle_rules |
@ -63,7 +61,6 @@ Feature: Users can auto-enrol themself in courses where self enrolment is allowe
Scenario: Self-enrolment disabled Scenario: Self-enrolment disabled
Given I log in as "student1" Given I log in as "student1"
And I am on site homepage
When I am on course page "Course 1" When I am on course page "Course 1"
Then I should see "You can not enrol yourself in this course" Then I should see "You can not enrol yourself in this course"
@ -83,7 +80,6 @@ Feature: Users can auto-enrol themself in courses where self enrolment is allowe
And I press "Save changes" And I press "Save changes"
And I log out And I log out
And I log in as "student1" And I log in as "student1"
And I am on site homepage
And I am on course page "Course 1" And I am on course page "Course 1"
And I set the following fields to these values: And I set the following fields to these values:
| Enrolment key | Test-groupenrolkey1 | | Enrolment key | Test-groupenrolkey1 |

View file

@ -13,7 +13,6 @@ Feature: Course files
| legacyfilesinnewcourses | 1 | | legacyfilesinnewcourses | 1 |
| legacyfilesaddallowed | 1 | | legacyfilesaddallowed | 1 |
When I log in as "admin" When I log in as "admin"
And I am on site homepage
And I am on course page "Course 1" And I am on course page "Course 1"
Then "Legacy course files" "link" should exist in current page administration Then "Legacy course files" "link" should exist in current page administration
And I navigate to "Legacy course files" node in "Course administration" And I navigate to "Legacy course files" node in "Course administration"
@ -30,7 +29,6 @@ Feature: Course files
| legacyfilesinnewcourses | 1 | | legacyfilesinnewcourses | 1 |
| legacyfilesaddallowed | 0 | | legacyfilesaddallowed | 0 |
When I log in as "admin" When I log in as "admin"
And I am on site homepage
And I am on course page "Course 1" And I am on course page "Course 1"
Then "Legacy course files" "link" should exist in current page administration Then "Legacy course files" "link" should exist in current page administration
And I navigate to "Legacy course files" node in "Course administration" And I navigate to "Legacy course files" node in "Course administration"

View file

@ -23,7 +23,6 @@ Feature: Publish rubrics as templates
| user | role | contextlevel | reference | | user | role | contextlevel | reference |
| manager1 | manager | System | | | manager1 | manager | System | |
And I log in as "manager1" And I log in as "manager1"
And I am on site homepage
And I am on course page "Course 1" And I am on course page "Course 1"
And I go to "Test assignment 1 name" advanced grading definition page And I go to "Test assignment 1 name" advanced grading definition page
And I set the following fields to these values: And I set the following fields to these values:

View file

@ -93,7 +93,6 @@ Feature: Organize students into groups
| Course 1 | C1 | 0 | 1 | | Course 1 | C1 | 0 | 1 |
| Course 2 | C2 | 0 | 1 | | Course 2 | C2 | 0 | 1 |
And I log in as "admin" And I log in as "admin"
And I am on site homepage
And I am on course page "Course 1" And I am on course page "Course 1"
And I navigate to "Users > Groups" in current page administration And I navigate to "Users > Groups" in current page administration
When I press "Create group" When I press "Create group"
@ -116,7 +115,6 @@ Feature: Organize students into groups
| Enrolment key | Abcdef-2 | | Enrolment key | Abcdef-2 |
And I press "Save changes" And I press "Save changes"
And the "groups" select box should contain "Group B (0)" And the "groups" select box should contain "Group B (0)"
And I am on site homepage
And I am on course page "Course 2" And I am on course page "Course 2"
And I navigate to "Users > Groups" in current page administration And I navigate to "Users > Groups" in current page administration
And I press "Create group" And I press "Create group"

View file

@ -78,7 +78,6 @@ Feature: Importing of groups and groupings
@javascript @javascript
Scenario: Import groups with idnumber when the user does not have proper permissions for the idnumber field Scenario: Import groups with idnumber when the user does not have proper permissions for the idnumber field
Given I log in as "admin" Given I log in as "admin"
And I am on site homepage
And I am on course page "Course 1" And I am on course page "Course 1"
And I navigate to "Users > Permissions" in current page administration And I navigate to "Users > Permissions" in current page administration
And I override the system permissions of "Teacher" role with: And I override the system permissions of "Teacher" role with:

View file

@ -19,7 +19,6 @@ Feature: Atto Autosave
And I set the field "Autosave frequency" to "3" And I set the field "Autosave frequency" to "3"
And I set the field with xpath "//select[@name='s_editor_atto_autosavefrequency[u]']" to "seconds" And I set the field with xpath "//select[@name='s_editor_atto_autosavefrequency[u]']" to "seconds"
And I click on "Save changes" "button" And I click on "Save changes" "button"
And I am on site homepage
And I am on course page "Course 1" And I am on course page "Course 1"
And I navigate to "Edit settings" node in "Course administration" And I navigate to "Edit settings" node in "Course administration"
And I set the field with xpath "//select[@name='summary_editor[format]']" to "1" And I set the field with xpath "//select[@name='summary_editor[format]']" to "1"
@ -55,7 +54,6 @@ Feature: Atto Autosave
And I follow "Manage private files..." And I follow "Manage private files..."
And I upload "lib/editor/atto/tests/fixtures/moodle-logo.png" file to "Files" filemanager And I upload "lib/editor/atto/tests/fixtures/moodle-logo.png" file to "Files" filemanager
And I click on "Save changes" "button" And I click on "Save changes" "button"
And I am on homepage
And I am on course page "Course 1" And I am on course page "Course 1"
And I navigate to "Edit settings" node in "Course administration" And I navigate to "Edit settings" node in "Course administration"
And I set the field "Course summary" to "<p>Image test</p>" And I set the field "Course summary" to "<p>Image test</p>"

View file

@ -13,7 +13,6 @@ Feature: Atto editor with customised toolbar
| activity | name | intro | course | idnumber | | activity | name | intro | course | idnumber |
| label | L1 | <a href="../lib/editor/atto/tests/fixtures/custom_toolbar_example.php">FixtureLink</a> | C1 | label1 | | label | L1 | <a href="../lib/editor/atto/tests/fixtures/custom_toolbar_example.php">FixtureLink</a> | C1 | label1 |
When I log in as "admin" When I log in as "admin"
And I am on site homepage
And I am on course page "Course 1" And I am on course page "Course 1"
And I follow "FixtureLink" And I follow "FixtureLink"

View file

@ -18,7 +18,6 @@ Feature: Add or remove items from the TinyMCE editor toolbar
Scenario: Remove icons Scenario: Remove icons
When the following config values are set as admin: When the following config values are set as admin:
| customtoolbar | fontselect,fontsizeselect,formatselect,\|,undo,redo,\|,search,replace,\|,fullscreen | editor_tinymce | | customtoolbar | fontselect,fontsizeselect,formatselect,\|,undo,redo,\|,search,replace,\|,fullscreen | editor_tinymce |
And I am on site homepage
And I am on course page "Course 1" And I am on course page "Course 1"
And I turn editing mode on And I turn editing mode on
And I add a "Database" to section "1" And I add a "Database" to section "1"
@ -29,7 +28,6 @@ Feature: Add or remove items from the TinyMCE editor toolbar
Scenario: Add icons Scenario: Add icons
When the following config values are set as admin: When the following config values are set as admin:
| customtoolbar | fontselect,fontsizeselect,formatselect,\|,undo,redo,\|,search,replace,\|,fullscreen,anchor | editor_tinymce | | customtoolbar | fontselect,fontsizeselect,formatselect,\|,undo,redo,\|,search,replace,\|,fullscreen,anchor | editor_tinymce |
And I am on site homepage
And I am on course page "Course 1" And I am on course page "Course 1"
And I turn editing mode on And I turn editing mode on
And I add a "Database" to section "1" And I add a "Database" to section "1"
@ -37,14 +35,12 @@ Feature: Add or remove items from the TinyMCE editor toolbar
And "#id_introeditor_tbl .mce_anchor" "css_element" should exist And "#id_introeditor_tbl .mce_anchor" "css_element" should exist
And the following config values are set as admin: And the following config values are set as admin:
| customtoolbar | fontselect,fontsizeselect,formatselect,\|,undo,redo,\|,search,replace,\|,fullscreen | editor_tinymce | | customtoolbar | fontselect,fontsizeselect,formatselect,\|,undo,redo,\|,search,replace,\|,fullscreen | editor_tinymce |
And I am on site homepage
And I am on course page "Course 1" And I am on course page "Course 1"
And I add a "Database" to section "1" And I add a "Database" to section "1"
And "#id_introeditor_tbl .mce_anchor" "css_element" should not exist And "#id_introeditor_tbl .mce_anchor" "css_element" should not exist
And I press "Cancel" And I press "Cancel"
Scenario: Default icons Scenario: Default icons
And I am on site homepage
Given I am on course page "Course 1" Given I am on course page "Course 1"
And I turn editing mode on And I turn editing mode on
When I add a "Database" to section "1" When I add a "Database" to section "1"

View file

@ -13,7 +13,6 @@ Feature: Forms with a multi select field dependency
| activity | name | intro | course | idnumber | | activity | name | intro | course | idnumber |
| label | L1 | <a href="../lib/form/tests/fixtures/multi_select_dependencies.php">FixtureLink</a> | C1 | label1 | | label | L1 | <a href="../lib/form/tests/fixtures/multi_select_dependencies.php">FixtureLink</a> | C1 | label1 |
And I log in as "admin" And I log in as "admin"
And I am on site homepage
And I am on course page "Course 1" And I am on course page "Course 1"
When I follow "FixtureLink" When I follow "FixtureLink"
Then the "Enter your name" "field" should be disabled Then the "Enter your name" "field" should be disabled

View file

@ -177,7 +177,6 @@ Feature: Group assignment submissions
| GG1 | G1 | | GG1 | G1 |
| GG1 | G2 | | GG1 | G2 |
And I log in as "admin" And I log in as "admin"
And I am on site homepage
And I am on course page "Course 1" And I am on course page "Course 1"
And I turn editing mode on And I turn editing mode on
And I add a "Assignment" to section "1" and I fill the form with: And I add a "Assignment" to section "1" and I fill the form with:
@ -215,7 +214,6 @@ Feature: Group assignment submissions
And I press "Save changes" And I press "Save changes"
And I log out And I log out
And I log in as "admin" And I log in as "admin"
And I am on site homepage
And I am on course page "Course 1" And I am on course page "Course 1"
And I follow "Test assignment name" And I follow "Test assignment name"
And I should see "3" in the "Groups" "table_row" And I should see "3" in the "Groups" "table_row"

View file

@ -38,7 +38,6 @@ Feature: Submissions are unlocked when a new attempt is given
And I press "Save changes" And I press "Save changes"
And I log out And I log out
And I log in as "teacher1" And I log in as "teacher1"
And I am on site homepage
And I am on course page "Course 1" And I am on course page "Course 1"
And I follow "Test assignment name" And I follow "Test assignment name"
And I navigate to "View all submissions" in current page administration And I navigate to "View all submissions" in current page administration
@ -73,7 +72,6 @@ Feature: Submissions are unlocked when a new attempt is given
And I press "Save changes" And I press "Save changes"
And I log out And I log out
And I log in as "teacher1" And I log in as "teacher1"
And I am on site homepage
And I am on course page "Course 1" And I am on course page "Course 1"
And I follow "Test assignment name" And I follow "Test assignment name"
And I navigate to "View all submissions" in current page administration And I navigate to "View all submissions" in current page administration

View file

@ -36,7 +36,7 @@ Feature: Mapping courses in a feedback
| feedback | Another feedback | C1 | feedback1 | 1 | 1 | 0 | | feedback | Another feedback | C1 | feedback1 | 1 | 1 | 0 |
When I log in as "manager" When I log in as "manager"
And I am on site homepage And I am on site homepage
And I am on course page "Course feedback" And I follow "Course feedback"
And I click on "Edit questions" "link" in the "[role=main]" "css_element" And I click on "Edit questions" "link" in the "[role=main]" "css_element"
And I add a "Information" question to the feedback with: And I add a "Information" question to the feedback with:
| Question | this is an information question | | Question | this is an information question |
@ -57,17 +57,14 @@ Feature: Mapping courses in a feedback
And I am on course page "Course 1" And I am on course page "Course 1"
And I turn editing mode on And I turn editing mode on
And I add the "Feedback" block And I add the "Feedback" block
And I am on site homepage
And I am on course page "Course 2" And I am on course page "Course 2"
And I add the "Feedback" block And I add the "Feedback" block
And I am on site homepage
And I am on course page "Course 3" And I am on course page "Course 3"
And I add the "Feedback" block And I add the "Feedback" block
And I log out And I log out
Scenario: Course feedback can not be mapped Scenario: Course feedback can not be mapped
And I log in as "manager" And I log in as "manager"
And I am on site homepage
And I am on course page "Course 1" And I am on course page "Course 1"
And I follow "Another feedback" And I follow "Another feedback"
And I should not see "Mapped courses" And I should not see "Mapped courses"
@ -77,7 +74,7 @@ Feature: Mapping courses in a feedback
Scenario: Site feedback is not mapped to any course Scenario: Site feedback is not mapped to any course
And I log in as "user1" And I log in as "user1"
And I am on site homepage And I am on site homepage
And I am on course page "Course feedback" And I follow "Course feedback"
And I follow "Answer the questions..." And I follow "Answer the questions..."
And I should see "Acceptance test site" in the ".feedback_form" "css_element" And I should see "Acceptance test site" in the ".feedback_form" "css_element"
And I set the following fields to these values: And I set the following fields to these values:
@ -85,7 +82,7 @@ Feature: Mapping courses in a feedback
| this is a simple multiple choice | option d | | this is a simple multiple choice | option d |
And I press "Submit your answers" And I press "Submit your answers"
And I press "Continue" And I press "Continue"
And I am on course page "Course 1" And I follow "Course 1"
And I click on "Course feedback" "link" in the "Feedback" "block" And I click on "Course feedback" "link" in the "Feedback" "block"
And I follow "Answer the questions..." And I follow "Answer the questions..."
And I should not see "Acceptance test site" in the ".feedback_form" "css_element" And I should not see "Acceptance test site" in the ".feedback_form" "css_element"
@ -138,7 +135,7 @@ Feature: Mapping courses in a feedback
Scenario: Site feedback is mapped to courses Scenario: Site feedback is mapped to courses
And I log in as "manager" And I log in as "manager"
And I am on site homepage And I am on site homepage
And I am on course page "Course feedback" And I follow "Course feedback"
And I follow "Map feedback to courses" And I follow "Map feedback to courses"
And I set the field "Courses" to "Course 2" And I set the field "Courses" to "Course 2"
And I set the field "Courses" to "Course 3" And I set the field "Courses" to "Course 3"
@ -147,16 +144,14 @@ Feature: Mapping courses in a feedback
And I log in as "user1" And I log in as "user1"
And I am on site homepage And I am on site homepage
And I am on course page "Course feedback" And I follow "Course feedback"
And I should see "You can only access this feedback from a course" And I should see "You can only access this feedback from a course"
And I should not see "Answer the questions..." And I should not see "Answer the questions..."
And I am on site homepage
And I am on course page "Course 1" And I am on course page "Course 1"
And "Feedback" "block" should not exist And "Feedback" "block" should not exist
And I should not see "Course feedback" And I should not see "Course feedback"
And I am on site homepage
And I am on course page "Course 2" And I am on course page "Course 2"
And I click on "Course feedback" "link" in the "Feedback" "block" And I click on "Course feedback" "link" in the "Feedback" "block"
And I follow "Answer the questions..." And I follow "Answer the questions..."
@ -196,7 +191,7 @@ Feature: Mapping courses in a feedback
And I log out And I log out
And I log in as "manager" And I log in as "manager"
And I am on site homepage And I am on site homepage
And I am on course page "Course feedback" And I follow "Course feedback"
And I navigate to "Analysis" in current page administration And I navigate to "Analysis" in current page administration
And I should see "All courses" in the "#feedback_course_filter [data-fieldtype=autocomplete] .form-autocomplete-selection [role=listitem]" "css_element" And I should see "All courses" in the "#feedback_course_filter [data-fieldtype=autocomplete] .form-autocomplete-selection [role=listitem]" "css_element"
And I show chart data for the "multichoicerated" feedback And I show chart data for the "multichoicerated" feedback

View file

@ -65,7 +65,6 @@ Feature: Saving, using and deleting feedback templates
And I follow "Edit questions" And I follow "Edit questions"
And I should see "this is a multiple choice 1" And I should see "this is a multiple choice 1"
# Make sure this template is not available in another course # Make sure this template is not available in another course
And I am on site homepage
And I am on course page "Course 2" And I am on course page "Course 2"
And I follow "Learning experience course 2" And I follow "Learning experience course 2"
And I follow "Templates" And I follow "Templates"
@ -111,7 +110,6 @@ Feature: Saving, using and deleting feedback templates
Scenario: Manager can save template as public and it will be available in any course Scenario: Manager can save template as public and it will be available in any course
When I log in as "manager" When I log in as "manager"
And I am on site homepage
And I am on course page "Course 1" And I am on course page "Course 1"
And I follow "Learning experience course 1" And I follow "Learning experience course 1"
And I follow "Templates" And I follow "Templates"
@ -134,7 +132,6 @@ Feature: Saving, using and deleting feedback templates
Scenario: Teacher can delete course templates but can not delete public templates Scenario: Teacher can delete course templates but can not delete public templates
# Save feedback as both public and course template # Save feedback as both public and course template
When I log in as "manager" When I log in as "manager"
And I am on site homepage
And I am on course page "Course 1" And I am on course page "Course 1"
And I follow "Learning experience course 1" And I follow "Learning experience course 1"
And I follow "Templates" And I follow "Templates"
@ -166,7 +163,6 @@ Feature: Saving, using and deleting feedback templates
Scenario: Manager can delete both course and public templates Scenario: Manager can delete both course and public templates
# Save feedback as both public and course template # Save feedback as both public and course template
When I log in as "manager" When I log in as "manager"
And I am on site homepage
And I am on course page "Course 1" And I am on course page "Course 1"
And I follow "Learning experience course 1" And I follow "Learning experience course 1"
And I click on "Templates" "link" in the "[role=main]" "css_element" And I click on "Templates" "link" in the "[role=main]" "css_element"

View file

@ -15,7 +15,6 @@ Feature: Students can choose from 4 discussion display options and their choice
| user | course | role | | user | course | role |
| student1 | C1 | student | | student1 | C1 | student |
And I log in as "admin" And I log in as "admin"
And I am on site homepage
And I am on course page "Course 1" And I am on course page "Course 1"
And I turn editing mode on And I turn editing mode on
And I add a "Forum" to section "1" and I fill the form with: And I add a "Forum" to section "1" and I fill the form with:

View file

@ -15,7 +15,6 @@ Feature: A user can control their own subscription preferences for a discussion
| user | course | role | | user | course | role |
| student1 | C1 | student | | student1 | C1 | student |
And I log in as "admin" And I log in as "admin"
And I am on site homepage
And I am on course page "Course 1" And I am on course page "Course 1"
And I turn editing mode on And I turn editing mode on
@ -135,7 +134,6 @@ Feature: A user can control their own subscription preferences for a discussion
And "You are not subscribed to this discussion. Click to subscribe." "link" should exist in the "Test post subject two" "table_row" And "You are not subscribed to this discussion. Click to subscribe." "link" should exist in the "Test post subject two" "table_row"
And I log out And I log out
And I log in as "admin" And I log in as "admin"
And I am on site homepage
And I am on course page "Course 1" And I am on course page "Course 1"
And I follow "Test forum name" And I follow "Test forum name"
And I navigate to "Edit settings" in current page administration And I navigate to "Edit settings" in current page administration
@ -181,7 +179,6 @@ Feature: A user can control their own subscription preferences for a discussion
And "You are not subscribed to this discussion. Click to subscribe." "link" should exist in the "Test post subject two" "table_row" And "You are not subscribed to this discussion. Click to subscribe." "link" should exist in the "Test post subject two" "table_row"
And I log out And I log out
And I log in as "admin" And I log in as "admin"
And I am on site homepage
And I am on course page "Course 1" And I am on course page "Course 1"
And I follow "Test forum name" And I follow "Test forum name"
And I navigate to "Edit settings" in current page administration And I navigate to "Edit settings" in current page administration

View file

@ -47,7 +47,6 @@ Feature: Students can edit or delete their forum posts within a set time limit
And I navigate to "Security > Site policies" in site administration And I navigate to "Security > Site policies" in site administration
And I set the field "Maximum time to edit posts" to "1 minutes" And I set the field "Maximum time to edit posts" to "1 minutes"
And I press "Save changes" And I press "Save changes"
And I am on site homepage
And I am on course page "Course 1" And I am on course page "Course 1"
And I turn editing mode on And I turn editing mode on
And I add the "Recent activity" block And I add the "Recent activity" block

View file

@ -15,7 +15,6 @@ Feature: A user can control their own subscription preferences for a forum
| user | course | role | | user | course | role |
| student1 | C1 | student | | student1 | C1 | student |
And I log in as "admin" And I log in as "admin"
And I am on site homepage
And I am on course page "Course 1" And I am on course page "Course 1"
And I turn editing mode on And I turn editing mode on

View file

@ -17,7 +17,6 @@ Feature: A user can control their default discussion subscription settings
| student1 | C1 | student | | student1 | C1 | student |
| student2 | C1 | student | | student2 | C1 | student |
And I log in as "admin" And I log in as "admin"
And I am on site homepage
And I am on course page "Course 1" And I am on course page "Course 1"
And I turn editing mode on And I turn editing mode on

View file

@ -69,9 +69,8 @@ Feature: New discussions and discussions with recently added replies are display
| Message | Reply to the first post | | Message | Reply to the first post |
And I press "Post to forum" And I press "Post to forum"
And I wait to be redirected And I wait to be redirected
And I am on site homepage
And I am on course page "Course 1" And I am on course page "Course 1"
And I am on course page "Course general forum" And I follow "Course general forum"
# #
# Make sure the order of the forum posts is as expected (most recently participated first). # Make sure the order of the forum posts is as expected (most recently participated first).
# #

View file

@ -39,7 +39,6 @@ Feature: Posting to groups in a separate group discussion when restricted to gro
| G1 | G1G2 | | G1 | G1G2 |
| G2 | G2G1 | | G2 | G2G1 |
And I log in as "admin" And I log in as "admin"
And I am on site homepage
And I am on course page "Course 1" And I am on course page "Course 1"
And I turn editing mode on And I turn editing mode on
And I add a "Forum" to section "1" and I fill the form with: And I add a "Forum" to section "1" and I fill the form with:

View file

@ -17,7 +17,6 @@ Feature: Users can choose to set start and end time for display of their discuss
And I log in as "admin" And I log in as "admin"
And the following config values are set as admin: And the following config values are set as admin:
| forum_enabletimedposts | 1 | | forum_enabletimedposts | 1 |
And I am on site homepage
And I am on course page "Course 1" And I am on course page "Course 1"
And I turn editing mode on And I turn editing mode on
And I add a "Forum" to section "1" and I fill the form with: And I add a "Forum" to section "1" and I fill the form with:
@ -35,7 +34,6 @@ Feature: Users can choose to set start and end time for display of their discuss
| Subject | Discussion 3 timed visible now | | Subject | Discussion 3 timed visible now |
| Message | Discussion contents 3, first message | | Message | Discussion contents 3, first message |
| timestart[enabled] | 1 | | timestart[enabled] | 1 |
And I am on site homepage
And I am on course page "Course 1" And I am on course page "Course 1"
And I follow "Test forum name" And I follow "Test forum name"
And I should see "Discussion 2 timed" And I should see "Discussion 2 timed"

View file

@ -17,7 +17,6 @@ Feature: A teacher can set one of 3 possible options for tracking read forum pos
| student1 | C1 | student | | student1 | C1 | student |
| student2 | C1 | student | | student2 | C1 | student |
And I log in as "admin" And I log in as "admin"
And I am on site homepage
And I am on course page "Course 1" And I am on course page "Course 1"
And I turn editing mode on And I turn editing mode on
@ -81,7 +80,6 @@ Feature: A teacher can set one of 3 possible options for tracking read forum pos
Scenario: Tracking forum posts forced with user tracking on Scenario: Tracking forum posts forced with user tracking on
Given the following config values are set as admin: Given the following config values are set as admin:
| forum_allowforcedreadtracking | 1 | | forum_allowforcedreadtracking | 1 |
And I am on site homepage
And I am on course page "Course 1" And I am on course page "Course 1"
Given I add a "Forum" to section "1" and I fill the form with: Given I add a "Forum" to section "1" and I fill the form with:
| Forum name | Test forum name | | Forum name | Test forum name |
@ -104,7 +102,6 @@ Feature: A teacher can set one of 3 possible options for tracking read forum pos
Scenario: Tracking forum posts forced with user tracking off Scenario: Tracking forum posts forced with user tracking off
Given the following config values are set as admin: Given the following config values are set as admin:
| forum_allowforcedreadtracking | 1 | | forum_allowforcedreadtracking | 1 |
And I am on site homepage
And I am on course page "Course 1" And I am on course page "Course 1"
Given I add a "Forum" to section "1" and I fill the form with: Given I add a "Forum" to section "1" and I fill the form with:
| Forum name | Test forum name | | Forum name | Test forum name |
@ -127,7 +124,6 @@ Feature: A teacher can set one of 3 possible options for tracking read forum pos
Scenario: Tracking forum posts forced (with force disabled) with user tracking on Scenario: Tracking forum posts forced (with force disabled) with user tracking on
Given the following config values are set as admin: Given the following config values are set as admin:
| forum_allowforcedreadtracking | 1 | | forum_allowforcedreadtracking | 1 |
And I am on site homepage
And I am on course page "Course 1" And I am on course page "Course 1"
Given I add a "Forum" to section "1" and I fill the form with: Given I add a "Forum" to section "1" and I fill the form with:
| Forum name | Test forum name | | Forum name | Test forum name |
@ -158,7 +154,6 @@ Feature: A teacher can set one of 3 possible options for tracking read forum pos
Scenario: Tracking forum posts forced (with force disabled) with user tracking off Scenario: Tracking forum posts forced (with force disabled) with user tracking off
Given the following config values are set as admin: Given the following config values are set as admin:
| forum_allowforcedreadtracking | 1 | | forum_allowforcedreadtracking | 1 |
And I am on site homepage
And I am on course page "Course 1" And I am on course page "Course 1"
Given I add a "Forum" to section "1" and I fill the form with: Given I add a "Forum" to section "1" and I fill the form with:
| Forum name | Test forum name | | Forum name | Test forum name |

View file

@ -24,7 +24,6 @@ Feature: Test duplicating a quiz containing an Assay question
| essay-002 | 1 | | essay-002 | 1 |
| essay-003 | 1 | | essay-003 | 1 |
And I log in as "admin" And I log in as "admin"
And I am on site homepage
And I am on course page "Course 1" And I am on course page "Course 1"
@javascript @javascript

View file

@ -20,7 +20,6 @@ Feature: Test duplicating a quiz containing a Matching question
And quiz "Test quiz" contains the following questions: And quiz "Test quiz" contains the following questions:
| matching-001 | 1 | | matching-001 | 1 |
And I log in as "admin" And I log in as "admin"
And I am on site homepage
And I am on course page "Course 1" And I am on course page "Course 1"
@javascript @javascript

View file

@ -9,7 +9,6 @@ Feature: In a report, admin can filter log data by action
| fullname | shortname | category | groupmode | | fullname | shortname | category | groupmode |
| Course 1 | C1 | 0 | 1 | | Course 1 | C1 | 0 | 1 |
And I log in as "admin" And I log in as "admin"
And I am on site homepage
And I am on course page "Course 1" And I am on course page "Course 1"
And I turn editing mode on And I turn editing mode on
# Create Action. # Create Action.

View file

@ -13,7 +13,6 @@ Feature: In a report, admin can see loglive data
And I click on "Enable" "link" in the "Legacy log" "table_row" And I click on "Enable" "link" in the "Legacy log" "table_row"
And the following config values are set as admin: And the following config values are set as admin:
| loglegacy | 1 | logstore_legacy | | loglegacy | 1 | logstore_legacy |
And I am on site homepage
And I am on course page "Course 1" And I am on course page "Course 1"
And I turn editing mode on And I turn editing mode on
And I add a "Database" to section "3" and I fill the form with: And I add a "Database" to section "3" and I fill the form with:
@ -41,7 +40,6 @@ Feature: In a report, admin can see loglive data
And I press "Pause live updates" And I press "Pause live updates"
And I am on course page "Course module created" And I am on course page "Course module created"
And I switch to "action" window And I switch to "action" window
And I am on site homepage
And I am on course page "Course 1" And I am on course page "Course 1"
And I add a "Database" to section "3" and I fill the form with: And I add a "Database" to section "3" and I fill the form with:
| Name | Test name2 | | Name | Test name2 |
@ -64,7 +62,6 @@ Feature: In a report, admin can see loglive data
And I press "Pause live updates" And I press "Pause live updates"
And I am on course page "Course_add mod" And I am on course page "Course_add mod"
And I switch to "action" window And I switch to "action" window
And I am on site homepage
And I am on course page "Course 1" And I am on course page "Course 1"
And I add a "Database" to section "3" and I fill the form with: And I add a "Database" to section "3" and I fill the form with:
| Name | Test name2 | | Name | Test name2 |

View file

@ -19,7 +19,6 @@ Feature: View an outline report
| student1 | C1 | student | | student1 | C1 | student |
| student2 | C1 | student | | student2 | C1 | student |
When I log in as "admin" When I log in as "admin"
And I am on site homepage
And I am on course page "Course 1" And I am on course page "Course 1"
And I turn editing mode on And I turn editing mode on
And I add a "Forum" to section "1" and I fill the form with: And I add a "Forum" to section "1" and I fill the form with:
@ -68,7 +67,6 @@ Feature: View an outline report
And I follow "Book name" And I follow "Book name"
And I log out And I log out
And I log in as "admin" And I log in as "admin"
And I am on site homepage
And I am on course page "Course 1" And I am on course page "Course 1"
When I navigate to "Activity report" node in "Course administration > Reports" When I navigate to "Activity report" node in "Course administration > Reports"
Then I should see "2 by 2 users" in the "Book name" "table_row" Then I should see "2 by 2 users" in the "Book name" "table_row"
@ -101,7 +99,6 @@ Feature: View an outline report
Given I navigate to "Manage log stores" node in "Site administration > Plugins > Logging" Given I navigate to "Manage log stores" node in "Site administration > Plugins > Logging"
And "Enable" "link" should exist in the "Legacy log" "table_row" And "Enable" "link" should exist in the "Legacy log" "table_row"
And I click on "Disable" "link" in the "Standard log" "table_row" And I click on "Disable" "link" in the "Standard log" "table_row"
And I am on site homepage
And I am on course page "Course 1" And I am on course page "Course 1"
When I navigate to "Activity report" node in "Course administration > Reports" When I navigate to "Activity report" node in "Course administration > Reports"
Then I should see "No log reader enabled" Then I should see "No log reader enabled"

View file

@ -17,7 +17,6 @@ Feature: View the user page for the outline report
| teacher1 | C1 | editingteacher | | teacher1 | C1 | editingteacher |
| student1 | C1 | student | | student1 | C1 | student |
When I log in as "admin" When I log in as "admin"
And I am on site homepage
And I am on course page "Course 1" And I am on course page "Course 1"
And I turn editing mode on And I turn editing mode on
And I add a "Folder" to section "1" and I fill the form with: And I add a "Folder" to section "1" and I fill the form with:

View file

@ -42,7 +42,6 @@ Feature: In a participation report, admin can filter student actions
And I follow "Test book name" And I follow "Test book name"
And I log out And I log out
When I log in as "admin" When I log in as "admin"
And I am on site homepage
And I am on course page "Course 1" And I am on course page "Course 1"
When I navigate to "Course participation" node in "Course administration > Reports" When I navigate to "Course participation" node in "Course administration > Reports"
And I set the field "instanceid" to "Test book name" And I set the field "instanceid" to "Test book name"
@ -72,7 +71,6 @@ Feature: In a participation report, admin can filter student actions
And I follow "Test book name" And I follow "Test book name"
And I log out And I log out
And I log in as "admin" And I log in as "admin"
And I am on site homepage
And I am on course page "Course 1" And I am on course page "Course 1"
When I navigate to "Course participation" node in "Course administration > Reports" When I navigate to "Course participation" node in "Course administration > Reports"
And I set the field "instanceid" to "Test book name" And I set the field "instanceid" to "Test book name"
@ -87,7 +85,6 @@ Feature: In a participation report, admin can filter student actions
And I follow "Test book name" And I follow "Test book name"
And I log out And I log out
And I log in as "admin" And I log in as "admin"
And I am on site homepage
And I am on course page "Course 1" And I am on course page "Course 1"
When I navigate to "Course participation" node in "Course administration > Reports" When I navigate to "Course participation" node in "Course administration > Reports"
And I set the field "instanceid" to "Test book name" And I set the field "instanceid" to "Test book name"

View file

@ -10,7 +10,6 @@ Feature: Create folders in the file manager
| fullname | shortname | category | | fullname | shortname | category |
| Course 1 | C1 | 0 | | Course 1 | C1 | 0 |
And I log in as "admin" And I log in as "admin"
And I am on site homepage
And I am on course page "Course 1" And I am on course page "Course 1"
And I turn editing mode on And I turn editing mode on
And I add a "Folder" to section "0" And I add a "Folder" to section "0"

View file

@ -20,7 +20,6 @@ Feature: Create shortcuts
And I upload "lib/tests/fixtures/empty.txt" file to "Files" filemanager And I upload "lib/tests/fixtures/empty.txt" file to "Files" filemanager
Then I should see "empty.txt" in the "div.fp-content" "css_element" Then I should see "empty.txt" in the "div.fp-content" "css_element"
And I press "Save changes" And I press "Save changes"
And I am on site homepage
And I am on course page "Course 1" And I am on course page "Course 1"
And I turn editing mode on And I turn editing mode on
And I add a "Folder" to section "1" And I add a "Folder" to section "1"

View file

@ -91,7 +91,6 @@ Feature: Access to full profiles of users
@javascript @javascript
Scenario: View full profiles of someone in the same group in a course with separate groups. Scenario: View full profiles of someone in the same group in a course with separate groups.
Given I log in as "admin" Given I log in as "admin"
And I am on site homepage
And I am on course page "Course 1" And I am on course page "Course 1"
And I navigate to "Edit settings" node in "Course administration" And I navigate to "Edit settings" node in "Course administration"
And I set the following fields to these values: And I set the following fields to these values:
@ -106,7 +105,6 @@ Feature: Access to full profiles of users
And I should see "The details of this user are not available to you" And I should see "The details of this user are not available to you"
And I log out And I log out
And I log in as "admin" And I log in as "admin"
And I am on site homepage
And I am on course page "Course 1" And I am on course page "Course 1"
And I navigate to "Users > Groups" in current page administration And I navigate to "Users > Groups" in current page administration
And I press "Create group" And I press "Create group"