diff --git a/src/core/features/user/tests/behat/basic_usage.feature b/src/core/features/user/tests/behat/basic_usage.feature index 4aa6b8401..eb189dc9d 100755 --- a/src/core/features/user/tests/behat/basic_usage.feature +++ b/src/core/features/user/tests/behat/basic_usage.feature @@ -51,3 +51,11 @@ Feature: Test basic usage of user features When I press "Reconnect" in the app Then I should find "Acceptance test site" in the app + + Scenario: View profile + Given I entered the app as "student1" + When I press the user menu button in the app + And I press "Student" in the app + Then I should find "student1@example.com" in the app + And I should find "Student Student" in the app + And the UI should match the snapshot diff --git a/src/core/features/user/tests/behat/snapshots/test-basic-usage-of-user-features-view-profile_7.png b/src/core/features/user/tests/behat/snapshots/test-basic-usage-of-user-features-view-profile_7.png new file mode 100644 index 000000000..0a73d48c8 Binary files /dev/null and b/src/core/features/user/tests/behat/snapshots/test-basic-usage-of-user-features-view-profile_7.png differ