From 083289d540544e4386eb4985bfffd152b6be9f93 Mon Sep 17 00:00:00 2001 From: "Eloy Lafuente (stronk7)" Date: Thu, 26 Aug 2021 18:18:53 +0200 Subject: [PATCH] MDL-71209 behat: remove some useless "follow the course" steps They are not really needed and, with the new course index (or maybe with the new navigation, I've not checked), they don't work any more. Hence, removing them. --- admin/tool/lp/tests/behat/plan_crud.feature | 1 - course/tests/behat/max_number_sections.feature | 2 -- 2 files changed, 3 deletions(-) diff --git a/admin/tool/lp/tests/behat/plan_crud.feature b/admin/tool/lp/tests/behat/plan_crud.feature index 761a569fc87..24c03893c2a 100644 --- a/admin/tool/lp/tests/behat/plan_crud.feature +++ b/admin/tool/lp/tests/behat/plan_crud.feature @@ -152,7 +152,6 @@ Feature: Manage plearning plan And I create a course with: | Course full name | New course fullname | | Course short name | New course shortname | - And I follow "New course fullname" And I follow "Competencies" And I press "Add competencies to course" And "Competency picker" "dialogue" should be visible diff --git a/course/tests/behat/max_number_sections.feature b/course/tests/behat/max_number_sections.feature index f337be1c88a..2b8d4d1a433 100644 --- a/course/tests/behat/max_number_sections.feature +++ b/course/tests/behat/max_number_sections.feature @@ -27,7 +27,6 @@ Feature: The maximum number of weeks/topics in a course can be configured | Course short name | New course shortname | | Number of sections | 90 | | Format | Topics format | - And I follow "New course fullname" And I should see "Topic 90" @javascript @@ -44,5 +43,4 @@ Feature: The maximum number of weeks/topics in a course can be configured | Course short name | New course shortname | | Number of sections | 0 | | Format | Topics format | - And I follow "New course fullname" And I should not see "Topic 1"