MOBILE-4061 behat: Fix repeated tests scenario names
parent
136fc96711
commit
cb1a611b5e
|
@ -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"
|
||||
|
||||
|
|
|
@ -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"
|
||||
|
||||
|
|
|
@ -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"
|
||||
|
||||
|
|
|
@ -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"
|
||||
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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"
|
||||
|
||||
|
|
|
@ -18,7 +18,6 @@ Feature: It opens external links properly.
|
|||
| forum | user | name | message |
|
||||
| Test forum | student1 | Forum topic | See <a href="https://moodle.org/">moodle.org external link</a> |
|
||||
|
||||
# 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
|
||||
|
|
Loading…
Reference in New Issue