mirror of
https://github.com/moodle/moodle.git
synced 2025-08-05 08:56:36 +02:00
MDL-58265 core_test: replace I turn editing on steps
Also remove few more unnecessary steps that redirects behat to site home page to actually get to the course. Part of MDL-55611 epic.
This commit is contained in:
parent
3353cfd8c1
commit
fdeeaff954
458 changed files with 1697 additions and 2148 deletions
|
@ -18,7 +18,7 @@ Feature: tool_monitor_rule
|
|||
And I navigate to "Event monitoring rules" node in "Site administration > Reports"
|
||||
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 1" course homepage
|
||||
And I navigate to "Event monitoring rules" node in "Course administration > Reports"
|
||||
And I press "Add a new rule"
|
||||
And I set the following fields to these values:
|
||||
|
@ -45,8 +45,7 @@ Feature: tool_monitor_rule
|
|||
|
||||
Scenario: Add a rule on course level
|
||||
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 1" course homepage
|
||||
And I navigate to "Event monitoring rules" node in "Course administration > Reports"
|
||||
When I press "Add a new rule"
|
||||
And I set the following fields to these values:
|
||||
|
@ -66,7 +65,7 @@ Feature: tool_monitor_rule
|
|||
|
||||
Scenario: Delete a rule on course level
|
||||
Given I log in as "teacher1"
|
||||
And I am on course page "Course 1"
|
||||
And I am on "Course 1" course homepage
|
||||
And I navigate to "Event monitoring rules" node in "Course administration > Reports"
|
||||
When I click on "Delete rule" "link"
|
||||
Then I should see "Are you sure you want to delete the rule \"New rule course level\"?"
|
||||
|
@ -76,7 +75,7 @@ Feature: tool_monitor_rule
|
|||
|
||||
Scenario: Edit a rule on course level
|
||||
Given I log in as "teacher1"
|
||||
And I am on course page "Course 1"
|
||||
And I am on "Course 1" course homepage
|
||||
And I navigate to "Event monitoring rules" node in "Course administration > Reports"
|
||||
When I click on "Edit rule" "link"
|
||||
And I set the following fields to these values:
|
||||
|
@ -95,7 +94,7 @@ Feature: tool_monitor_rule
|
|||
|
||||
Scenario: Duplicate a rule on course level
|
||||
Given I log in as "teacher1"
|
||||
And I am on course page "Course 1"
|
||||
And I am on "Course 1" course homepage
|
||||
And I navigate to "Event monitoring rules" node in "Course administration > Reports"
|
||||
When I click on "Duplicate rule" "link" in the "New rule course level" "table_row"
|
||||
Then I should see "Rule successfully duplicated"
|
||||
|
@ -154,7 +153,7 @@ Feature: tool_monitor_rule
|
|||
|
||||
Scenario: Duplicate a rule on site level
|
||||
Given I log in as "teacher1"
|
||||
And I am on course page "Course 1"
|
||||
And I am on "Course 1" course homepage
|
||||
And I navigate to "Event monitoring rules" node in "Course administration > Reports"
|
||||
When I click on "Duplicate rule" "link" in the "New rule site level" "table_row"
|
||||
Then I should see "Rule successfully duplicated"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue