From 57546d83f73bb3c702713b3776665b35c863737c Mon Sep 17 00:00:00 2001
From: "Zambito, Mark" <zambitom@ornl.gov>
Date: Sat, 10 Aug 2024 15:27:44 +0000
Subject: [PATCH] see explaintion MR - 7va puppeteer timeout

---
 .gitlab-ci.yml                | 10 ++++++++++
 deployment/backstop.config.js |  2 +-
 2 files changed, 11 insertions(+), 1 deletion(-)

diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index cf18215..46cc6d9 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -1,3 +1,13 @@
+before_script:
+  - apt-get update
+  - apt-get install -yq gconf-service libasound2 libatk1.0-0 libc6 libcairo2
+    libcups2 libdbus-1-3 libexpat1 libfontconfig1 libgbm1 libgcc1 libgconf-2-4
+    libgdk-pixbuf2.0-0 libglib2.0-0 libgtk-3-0 libnspr4 libpango-1.0-0
+    libpangocairo-1.0-0 libstdc++6 libx11-6 libx11-xcb1 libxcb1 libxcomposite1
+    libxcursor1 libxdamage1 libxext6 libxfixes3 libxi6 libxrandr2 libxrender1
+    libxss1 libxtst6 ca-certificates fonts-liberation libnss3 lsb-release
+    xdg-utils wget
+
 .test project matrix:
 - TRIGGERED_PROJECT:
   - does/template-test-projects/spring-boot-with-mybatis
diff --git a/deployment/backstop.config.js b/deployment/backstop.config.js
index 6144dc1..7b6c673 100644
--- a/deployment/backstop.config.js
+++ b/deployment/backstop.config.js
@@ -81,7 +81,7 @@ module.exports = {
     },
     "engine": "puppeteer",
     "engineOptions": {
-        "args": ["--no-sandbox"]
+        "args": ["--no-sandbox", "--disable-setuid-sandbox"]
     },
     "asyncCaptureLimit": 5,
     "asyncCompareLimit": 50,
-- 
GitLab