From dbcbee41336303e3531701acb624957728cbd6d5 Mon Sep 17 00:00:00 2001 From: Andrew Nicols Date: Thu, 22 Aug 2019 07:45:49 +0800 Subject: [PATCH] MDL-66378 behat: Change screen size to small to work around UI bugs --- admin/tests/behat/manage_tokens.feature | 1 + admin/tool/lp/tests/behat/framework_crud.feature | 1 + admin/tool/lp/tests/behat/template_crud.feature | 1 + 3 files changed, 3 insertions(+) diff --git a/admin/tests/behat/manage_tokens.feature b/admin/tests/behat/manage_tokens.feature index d30e2300bd1..dc1cd948a60 100644 --- a/admin/tests/behat/manage_tokens.feature +++ b/admin/tests/behat/manage_tokens.feature @@ -9,6 +9,7 @@ Feature: Manage tokens | username | password | firstname | lastname | | testuser | testuser | Joe | Bloggs | | testuser2 | testuser2 | TestFirstname | TestLastname | + And I change window size to "small" And I log in as "admin" And I am on site homepage diff --git a/admin/tool/lp/tests/behat/framework_crud.feature b/admin/tool/lp/tests/behat/framework_crud.feature index df34c228979..168a028ef4e 100644 --- a/admin/tool/lp/tests/behat/framework_crud.feature +++ b/admin/tool/lp/tests/behat/framework_crud.feature @@ -6,6 +6,7 @@ Feature: Manage competency frameworks Background: Given I log in as "admin" + And I change window size to "small" And I am on site homepage Scenario: Create a new framework diff --git a/admin/tool/lp/tests/behat/template_crud.feature b/admin/tool/lp/tests/behat/template_crud.feature index 0156243a98d..a5386ffccb9 100644 --- a/admin/tool/lp/tests/behat/template_crud.feature +++ b/admin/tool/lp/tests/behat/template_crud.feature @@ -6,6 +6,7 @@ Feature: Manage plearning plan templates Background: Given I log in as "admin" + And I change window size to "small" And I am on site homepage Scenario: Create a new learning plan template