From cbb6835db0c75333b14828fdb6ef1e0e83a6b46d Mon Sep 17 00:00:00 2001
From: Rajab Natshah <rajabn@gmail.com>
Date: Fri, 12 Aug 2022 23:56:03 +0300
Subject: [PATCH] Issue #3293696: Fixed the automated functional testing
 features after the switch of Vartheme BS5 branch from 1.0.x-dev to 2.0.x-dev
 and replace Bootstrap Barrio theme with Radix theme on Varbase installation

---
 .circleci/config.yml                                            | 2 +-
 behat.yml                                                       | 2 +-
 .../04-10-landing-page-section-configurations.feature           | 1 +
 3 files changed, 3 insertions(+), 2 deletions(-)

diff --git a/.circleci/config.yml b/.circleci/config.yml
index 9946a34b..2bb10903 100644
--- a/.circleci/config.yml
+++ b/.circleci/config.yml
@@ -32,7 +32,7 @@ commands:
       ## Configure and run the virtual display.
       - run:
           name: Configure and run the virtual display.
-          command: Xvfb -ac :99 -screen 0 1600x1200x24 > /dev/null 2>&1
+          command: Xvfb -ac :99 -screen 0 1920x1080x24 > /dev/null 2>&1
           background: true
 
       ## Setup Apache2 and PHP8.1
diff --git a/behat.yml b/behat.yml
index cac6df82..bdb4961f 100644
--- a/behat.yml
+++ b/behat.yml
@@ -73,7 +73,7 @@ default:
                 - "--headless"
                 - "--start-maximized"
                 - "--disable-gpu"
-                - "--window-size=3000,1200"
+                - "--window-size=1920x1080"
                 - "--no-sandbox"
                 - "--disable-dev-shm-usage"
                 - "--disable-setuid-sandbox"
diff --git a/tests/features/varbase/04-content-structure/04-10-landing-page-section-configurations.feature b/tests/features/varbase/04-content-structure/04-10-landing-page-section-configurations.feature
index dac7bbff..5d253b6d 100644
--- a/tests/features/varbase/04-content-structure/04-10-landing-page-section-configurations.feature
+++ b/tests/features/varbase/04-content-structure/04-10-landing-page-section-configurations.feature
@@ -63,6 +63,7 @@ As a site admin, I will create a new landing page, add a section with different
      Then I should see "Test Rich text in 2 cols section, col 2" 
 
      When I scroll to the top of the page
+      And I wait 2s
       And I press the "Save layout" button
       And I wait
       And I should see "Test Rich text in 2 cols section, col 1"
-- 
GitLab