From ae63c71d42fba0cb86df05e59226b59dca7a5156 Mon Sep 17 00:00:00 2001 From: Noel De Martin Date: Tue, 2 Aug 2022 11:45:00 +0200 Subject: [PATCH] MOBILE-4069 behat: Add missing refresh gestures --- src/core/features/courses/tests/behat/basic_usage-310.feature | 4 +++- src/core/features/courses/tests/behat/basic_usage-311.feature | 4 +++- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/src/core/features/courses/tests/behat/basic_usage-310.feature b/src/core/features/courses/tests/behat/basic_usage-310.feature index 8b28fede8..e34eb0b25 100755 --- a/src/core/features/courses/tests/behat/basic_usage-310.feature +++ b/src/core/features/courses/tests/behat/basic_usage-310.feature @@ -73,7 +73,9 @@ Feature: Test basic usage of courses in app When I press "Open block drawer" in the app And I press "Grade" in the app Then the header should be "assignment" in the app - And I should find "Test assignment description" in the app + + When I pull to refresh in the app + Then I should find "Test assignment description" in the app And I should find "Time remaining" in the app When I press "Needs grading" in the app diff --git a/src/core/features/courses/tests/behat/basic_usage-311.feature b/src/core/features/courses/tests/behat/basic_usage-311.feature index 91589822b..fd43cb910 100755 --- a/src/core/features/courses/tests/behat/basic_usage-311.feature +++ b/src/core/features/courses/tests/behat/basic_usage-311.feature @@ -118,7 +118,9 @@ Feature: Test basic usage of courses in app When I press "Open block drawer" in the app And I press "Grade" in the app Then the header should be "assignment" in the app - And I should find "Test assignment description" in the app + + When I pull to refresh in the app + Then I should find "Test assignment description" in the app And I should find "Time remaining" in the app When I press "Needs grading" in the app