diff --git a/src/addons/notifications/tests/behat/notifications.feature b/src/addons/notifications/tests/behat/notifications.feature index a7ac5528d..6ad776d57 100644 --- a/src/addons/notifications/tests/behat/notifications.feature +++ b/src/addons/notifications/tests/behat/notifications.feature @@ -40,8 +40,7 @@ Feature: Notifications | Test 30 | student2 | student1 | 1649766629 | null | Scenario: Mobile navigation - Given I enter the app - And I log in as "student1" + Given I entered the app as "student1" And I press "Notifications" in the app Then I should find "Test 30" in the app But I should not find "Test 10" in the app @@ -81,9 +80,8 @@ Feature: Notifications @ionic7_failure Scenario: Tablet navigation - Given I enter the app + Given I entered the app as "student1" And I change viewport size to "1200x640" in the app - And I log in as "student1" And I press "Notifications" in the app Then I should find "Test 30" in the app But I should not find "Test 10" 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 8a4bbe9b4..e3ad0cd6e 100755 --- a/src/core/features/login/tests/behat/basic_usage.feature +++ b/src/core/features/login/tests/behat/basic_usage.feature @@ -49,8 +49,7 @@ Feature: Test basic usage of login in app Then I should find "Can't connect to site" in the app Scenario: Add a non existing account from accounts switcher - When I enter the app - And I log in as "student1" + Given I entered the app as "student1" And I press the user menu button in the app And I press "Switch account" in the app And I press "Add" in the app diff --git a/src/core/features/reportbuilder/tests/behat/reportbuilder.feature b/src/core/features/reportbuilder/tests/behat/reportbuilder.feature index 9c356811c..621a1c041 100644 --- a/src/core/features/reportbuilder/tests/behat/reportbuilder.feature +++ b/src/core/features/reportbuilder/tests/behat/reportbuilder.feature @@ -119,8 +119,7 @@ Feature: Report builder | student1 | Lionel | Smith | lionel@example.com | Bilbao | Scenario: Open report in mobile - Given I enter the app - And I log in as "student1" + Given I entered the app as "student1" And I press the user menu button in the app When I press "Reports" in the app @@ -132,9 +131,8 @@ Feature: Report builder But I should not find "My report 02" in the app Scenario: Open report in tablet - Given I enter the app + Given I entered the app as "student1" And I change viewport size to "1200x640" in the app - And I log in as "student1" And I press the user menu button in the app When I press "Reports" in the app