From c84e2be4a1c3455b7369ad601d4a702baf06ff11 Mon Sep 17 00:00:00 2001 From: Noel De Martin Date: Tue, 28 Feb 2023 11:09:38 +0100 Subject: [PATCH] Revert "MOBILE-4239 behat: Disable snapshot steps" This reverts commit b2ad6377e82809d9718ab6d9477edbf7b5a294eb. --- src/core/features/course/tests/behat/basic_usage.feature | 2 +- src/core/features/login/tests/behat/basic_usage.feature | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/core/features/course/tests/behat/basic_usage.feature b/src/core/features/course/tests/behat/basic_usage.feature index 392feb76f..74b735629 100755 --- a/src/core/features/course/tests/behat/basic_usage.feature +++ b/src/core/features/course/tests/behat/basic_usage.feature @@ -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" 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 Then the header should be "Choice course 1" in the app diff --git a/src/core/features/login/tests/behat/basic_usage.feature b/src/core/features/login/tests/behat/basic_usage.feature index d9687c675..f7d7a55d1 100755 --- a/src/core/features/login/tests/behat/basic_usage.feature +++ b/src/core/features/login/tests/behat/basic_usage.feature @@ -31,14 +31,14 @@ Feature: Test basic usage of login in app And I press "Connect to your 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 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: | Username | student1 | | Password | student1 | And I press "Log in" near "Forgotten your username or password?" 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 Scenario: Add a non existing account