From 6d65680909ab62cb4822d70899246f7514f0171b Mon Sep 17 00:00:00 2001 From: Noel De Martin Date: Tue, 28 Feb 2023 09:06:30 +0100 Subject: [PATCH 1/3] MOBILE-4069 behat: Fix timeline test Co-authored-by: Dani Palou --- .../block/timeline/tests/behat/basic_usage-311.feature | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/src/addons/block/timeline/tests/behat/basic_usage-311.feature b/src/addons/block/timeline/tests/behat/basic_usage-311.feature index e7501b5f9..d22c111bf 100644 --- a/src/addons/block/timeline/tests/behat/basic_usage-311.feature +++ b/src/addons/block/timeline/tests/behat/basic_usage-311.feature @@ -25,11 +25,11 @@ Feature: Timeline block. | assign | C1 | assign03 | Assignment 03 | ##tomorrow## | | assign | C2 | assign04 | Assignment 04 | ##+2 days## | | assign | C1 | assign05 | Assignment 05 | ##+5 days## | - | assign | C2 | assign06 | Assignment 06 | ##+1 month## | - | assign | C2 | assign07 | Assignment 07 | ##+1 month## | - | assign | C3 | assign08 | Assignment 08 | ##+1 month## | - | assign | C2 | assign09 | Assignment 09 | ##+1 month## | - | assign | C1 | assign10 | Assignment 10 | ##+1 month## | + | assign | C2 | assign06 | Assignment 06 | ##+31 days## | + | assign | C2 | assign07 | Assignment 07 | ##+31 days## | + | assign | C3 | assign08 | Assignment 08 | ##+31 days## | + | assign | C2 | assign09 | Assignment 09 | ##+31 days## | + | assign | C1 | assign10 | Assignment 10 | ##+31 days## | | assign | C1 | assign11 | Assignment 11 | ##+6 months## | | assign | C1 | assign12 | Assignment 12 | ##+6 months## | | assign | C1 | assign13 | Assignment 13 | ##+6 months## | From c5ec2d757320b62504eaa88afe2e432b2d7676ee Mon Sep 17 00:00:00 2001 From: Noel De Martin Date: Tue, 28 Feb 2023 09:06:59 +0100 Subject: [PATCH 2/3] MOBILE-4239 behat: Scope report tests to 4.1 --- .../features/reportbuilder/tests/behat/reportbuilder.feature | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/core/features/reportbuilder/tests/behat/reportbuilder.feature b/src/core/features/reportbuilder/tests/behat/reportbuilder.feature index ab128c38f..fc004127d 100644 --- a/src/core/features/reportbuilder/tests/behat/reportbuilder.feature +++ b/src/core/features/reportbuilder/tests/behat/reportbuilder.feature @@ -1,8 +1,9 @@ -@app @javascript @core_reportbuilder +@app @javascript @core_reportbuilder @lms_from4.1 Feature: Report builder Background: - Given the following "core_reportbuilder > Reports" exist: + Given the Moodle site is compatible with this feature + And the following "core_reportbuilder > Reports" exist: | name | source | default | | My report 01 | core_user\reportbuilder\datasource\users | 1 | | My report 02 | core_user\reportbuilder\datasource\users | 2 | From f1ee961c6bc03f7df9b6f5c1289bfc02a4e8b9be Mon Sep 17 00:00:00 2001 From: Noel De Martin Date: Tue, 28 Feb 2023 09:54:31 +0100 Subject: [PATCH 3/3] MOBILE-4239 behat: Skip flaky tests in jenkins --- src/addons/mod/glossary/tests/behat/navigation.feature | 1 + 1 file changed, 1 insertion(+) diff --git a/src/addons/mod/glossary/tests/behat/navigation.feature b/src/addons/mod/glossary/tests/behat/navigation.feature index 309c0a1f0..659d286ff 100644 --- a/src/addons/mod/glossary/tests/behat/navigation.feature +++ b/src/addons/mod/glossary/tests/behat/navigation.feature @@ -200,6 +200,7 @@ Feature: Test glossary navigation When I swipe to the left in the app Then I should find "Acerola is a fruit" in the app + @ci_jenkins_skip Scenario: Tablet navigation on glossary Given I entered the course "Course 1" as "student1" in the app And I change viewport size to "1200x640"