diff --git a/src/addons/mod/assign/tests/behat/navigation.feature b/src/addons/mod/assign/tests/behat/navigation.feature index 12ee6c291..487a9c34d 100644 --- a/src/addons/mod/assign/tests/behat/navigation.feature +++ b/src/addons/mod/assign/tests/behat/navigation.feature @@ -35,7 +35,7 @@ Feature: Test assignments navigation | assignment | student1 | Lorem | | assignment | student3 | Ipsum | - Scenario: Mobile navigation + Scenario: Mobile navigation on assignment Given I entered the course "Course 1" as "teacher1" in the app # Initial status @@ -149,7 +149,7 @@ Feature: Test assignments navigation But I should not find "First Student" in the app And I should not find "Second Student" in the app - Scenario: Tablet navigation + Scenario: Tablet navigation on assignment Given I entered the course "Course 1" as "teacher1" in the app And I change viewport size to "1200x640" diff --git a/src/addons/mod/chat/tests/behat/navigation.feature b/src/addons/mod/chat/tests/behat/navigation.feature index 0b757fb3a..8bca1e498 100644 --- a/src/addons/mod/chat/tests/behat/navigation.feature +++ b/src/addons/mod/chat/tests/behat/navigation.feature @@ -25,7 +25,7 @@ Feature: Test chat navigation And I press "Send" in the app Then I should find "Test message" in the app - Scenario: Tablet navigation + Scenario: Tablet navigation on chat Given I entered the course "Course 1" as "student2" in the app And I change viewport size to "1200x640" diff --git a/src/addons/mod/forum/tests/behat/navigation.feature b/src/addons/mod/forum/tests/behat/navigation.feature index 0ecbb040b..f3a9a4f7a 100644 --- a/src/addons/mod/forum/tests/behat/navigation.feature +++ b/src/addons/mod/forum/tests/behat/navigation.feature @@ -41,7 +41,7 @@ Feature: Test forum navigation | Discussion 04 | Discussion 04 | Discussion 04 first reply | | Discussion 05 | Discussion 05 | Discussion 05 first reply | - Scenario: Mobile navigation + Scenario: Mobile navigation on forum Given I entered the course "Course 1" as "student1" in the app # By last reply @@ -138,7 +138,7 @@ Feature: Test forum navigation # When I swipe to the left in the app # Then I should find "Discussion 20 message" in the app - Scenario: Tablet navigation + Scenario: Tablet navigation on forum Given I entered the course "Course 1" as "student1" in the app And I change viewport size to "1200x640" diff --git a/src/addons/mod/glossary/tests/behat/navigation.feature b/src/addons/mod/glossary/tests/behat/navigation.feature index cd807e65b..77d1bd1b8 100644 --- a/src/addons/mod/glossary/tests/behat/navigation.feature +++ b/src/addons/mod/glossary/tests/behat/navigation.feature @@ -87,7 +87,7 @@ Feature: Test glossary navigation | glossary | Tangerine | Tangerine is a fruit | student1 | | glossary | Watermelon | Watermelon is a fruit | student2 | - Scenario: Mobile navigation + Scenario: Mobile navigation on glossary Given I entered the course "Course 1" as "student1" in the app # Alphabetically @@ -194,7 +194,7 @@ Feature: Test glossary navigation When I swipe to the left in the app Then I should find "Acerola is a fruit" in the app - Scenario: Tablet navigation + Scenario: Tablet navigation on glossary Given I entered the course "Course 1" as "student1" in the app And I change viewport size to "1200x640" diff --git a/src/core/features/courses/tests/behat/basic_usage-311.feature b/src/core/features/courses/tests/behat/basic_usage-311.feature index 40f642f36..3b0a4a52c 100755 --- a/src/core/features/courses/tests/behat/basic_usage-311.feature +++ b/src/core/features/courses/tests/behat/basic_usage-311.feature @@ -34,7 +34,7 @@ Feature: Test basic usage of courses in app | activity | course | idnumber | name | intro | assignsubmission_onlinetext_enabled | | assign | C1 | assign1 | assignment | Test assignment description | 1 | - Scenario: "Dashboard" tab displayed in >= 3.3 sites + Scenario: "Dashboard" tab displayed Given I entered the app as "student1" When I should see "Dashboard" And the header should be "Acceptance test site" in the app diff --git a/src/core/features/courses/tests/behat/basic_usage.feature b/src/core/features/courses/tests/behat/basic_usage.feature index 313e9b063..c76f34d9c 100755 --- a/src/core/features/courses/tests/behat/basic_usage.feature +++ b/src/core/features/courses/tests/behat/basic_usage.feature @@ -34,6 +34,7 @@ Feature: Test basic usage of courses in app | activity | course | idnumber | name | intro | assignsubmission_onlinetext_enabled | | assign | C1 | assign1 | assignment | Test assignment description | 1 | + @lms_from4.0 Scenario: "Dashboard" tab displayed Given I entered the app as "student1" When I should see "Dashboard" @@ -48,6 +49,7 @@ Feature: Test basic usage of courses in app And I should find "Course 2" in the app And I should find "Course 3" in the app + @lms_from4.0 Scenario: See my courses Given I entered the app as "student1" When the header should be "Acceptance test site" in the app diff --git a/src/core/features/settings/tests/behat/settings_navigation.feature b/src/core/features/settings/tests/behat/settings_navigation.feature index e097556ba..9096b1138 100644 --- a/src/core/features/settings/tests/behat/settings_navigation.feature +++ b/src/core/features/settings/tests/behat/settings_navigation.feature @@ -6,7 +6,7 @@ Feature: It navigates properly within settings. | username | | student1 | - Scenario: Mobile navigation + Scenario: Mobile navigation on settings Given I entered the app as "student1" # Settings @@ -45,7 +45,7 @@ Feature: It navigates properly within settings. And I press "Manage downloads" in the app Then I should find "Total space used" in the app - Scenario: Tablet navigation + Scenario: Tablet navigation on settings Given I entered the app as "student1" And I change viewport size to "1200x640" diff --git a/src/tests/behat/navigation_externallinks.feature b/src/tests/behat/navigation_externallinks.feature index 7fbd9f133..35fcf6564 100644 --- a/src/tests/behat/navigation_externallinks.feature +++ b/src/tests/behat/navigation_externallinks.feature @@ -18,7 +18,6 @@ Feature: It opens external links properly. | forum | user | name | message | | Test forum | student1 | Forum topic | See moodle.org external link | - # This test is flaky and may fail Scenario: Click an external link Given I entered the course "Course 1" as "student1" in the app When I press "Test forum" in the app