MOBILE-4239 behat: Disable snapshot steps

main
Noel De Martin 2023-02-27 17:46:30 +01:00
parent e20f2c9f8f
commit b2ad6377e8
2 changed files with 3 additions and 3 deletions

View File

@ -91,7 +91,7 @@ Feature: Test basic usage of one course in app
When I set "page-core-course-index .core-course-thumb" styles to "--course-color" "lightblue" When I set "page-core-course-index .core-course-thumb" styles to "--course-color" "lightblue"
And I set "page-core-course-index .core-course-thumb" styles to "--course-color-tint" "white" And I set "page-core-course-index .core-course-thumb" styles to "--course-color-tint" "white"
Then the UI should match the snapshot # Then the UI should match the snapshot
When I press "Choice course 1" in the app When I press "Choice course 1" in the app
Then the header should be "Choice course 1" in the app Then the header should be "Choice course 1" in the app

View File

@ -31,14 +31,14 @@ Feature: Test basic usage of login in app
And I press "Connect to your site" in the app And I press "Connect to your site" in the app
Then I should find "Acceptance test site" in the app Then I should find "Acceptance test site" in the app
And I replace "/.*/" within ".core-siteurl" with "https://campus.example.edu" And I replace "/.*/" within ".core-siteurl" with "https://campus.example.edu"
And the UI should match the snapshot # And the UI should match the snapshot
When I set the following fields to these values in the app: When I set the following fields to these values in the app:
| Username | student1 | | Username | student1 |
| Password | student1 | | Password | student1 |
And I press "Log in" near "Forgotten your username or password?" in the app And I press "Log in" near "Forgotten your username or password?" in the app
Then I should find "Acceptance test site" in the app Then I should find "Acceptance test site" in the app
And the UI should match the snapshot # And the UI should match the snapshot
But I should not find "Log in" in the app But I should not find "Log in" in the app
Scenario: Add a non existing account Scenario: Add a non existing account