mirror of
https://github.com/moodle/moodle.git
synced 2025-08-05 08:56:36 +02:00
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:
parent
c987d1b2ef
commit
93be3f730c
60 changed files with 7 additions and 162 deletions
|
@ -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"
|
||||
And I should see "0 of 1" in the "Activity completion" "table_row"
|
||||
And I trigger cron
|
||||
And I am on site homepage
|
||||
And I am on course page "Course 1"
|
||||
And I should see "1 of 1" in the "Activity completion" "table_row"
|
||||
And I follow "More details"
|
||||
|
|
|
@ -39,7 +39,6 @@ Feature: Enable Block Completion in a course using manual self completion
|
|||
# should be created before the task runs.
|
||||
And I wait "1" seconds
|
||||
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"
|
||||
Then I should see "Status: Complete" in the "Course completion status" "block"
|
||||
And I should see "Yes" in the "Self completion" "table_row"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue