From bb56136440f8e6c4fcf5851187505b4994636be6 Mon Sep 17 00:00:00 2001 From: Ross Pokorny Date: Thu, 23 Sep 2021 15:00:42 -0400 Subject: [PATCH 1/4] Decrease parallelism to 5 --- Jenkinsfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Jenkinsfile b/Jenkinsfile index eeab466439..aac3489bd7 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -9,7 +9,7 @@ def seleniumHubDockerImage = 'docker-all.repo.sonatype.com/selenium/hub' def seleniumDockerImage = 'docker-all.repo.sonatype.com/selenium/node-chrome' def seleniumDockerVersion = '4.0.0-rc-1-prerelease-20210618' -def numSeleniumContainers = 10; +def numSeleniumContainers = 5; dockerizedBuildPipeline( // expose gallery port on host so selenium container can hit it From 0bdce58c38b5a69a965a46346dd2e8a467f42e2a Mon Sep 17 00:00:00 2001 From: Ross Pokorny Date: Thu, 23 Sep 2021 15:00:50 -0400 Subject: [PATCH 2/4] Version bump --- gallery/package.json | 2 +- lib/package.json | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/gallery/package.json b/gallery/package.json index d98e7fef76..63a3fccd9b 100644 --- a/gallery/package.json +++ b/gallery/package.json @@ -1,6 +1,6 @@ { "name": "@sonatype/react-shared-components-gallery", - "version": "8.7.1", + "version": "8.7.2", "description": "Gallery application to demonstrate usage and look of Sonatype shared UI components", "main": "src/main.ts", "scripts": { diff --git a/lib/package.json b/lib/package.json index 89ee2f8bf2..1173db6ab9 100644 --- a/lib/package.json +++ b/lib/package.json @@ -1,6 +1,6 @@ { "name": "@sonatype/react-shared-components", - "version": "8.7.1", + "version": "8.7.2", "description": "Sonatype shared UI components and utilities written in React", "main": "index.js", "repository": { From eff6b44532b4ff82214e31a6d0a02e93bafd3889 Mon Sep 17 00:00:00 2001 From: Ross Pokorny Date: Thu, 23 Sep 2021 15:26:16 -0400 Subject: [PATCH 3/4] Add applitools debug logging --- gallery/wdio.conf.js | 3 +++ 1 file changed, 3 insertions(+) diff --git a/gallery/wdio.conf.js b/gallery/wdio.conf.js index 4f336cb212..9c053d9feb 100644 --- a/gallery/wdio.conf.js +++ b/gallery/wdio.conf.js @@ -10,6 +10,7 @@ const webpackConfigFn = require('./webpack.config.js'); const axios = require('axios'); const { BatchInfo, By, ClassicRunner, Configuration, Eyes, RectangleSize, Target } = require('@applitools/eyes-webdriverio'); +const { ConsoleLogHandler } = require('@applitools/eyes-sdk-core'); const host = process.env.TEST_IP || 'localhost', origin = `http://${host}:4043`; @@ -302,6 +303,8 @@ exports.config = { // DOM info is sent for Root Cause Analysis, which we don't use and which may be causing intermittent failures eyes.setSendDom(false); + eyes.setLogHandler(new ConsoleLogHandler(true)); + await eyes.open(browser, undefined, `${test.parent} ${test.title}`); }, /** From afb80c0b82732704da646ec8c031b7cfb66d2f26 Mon Sep 17 00:00:00 2001 From: Ross Pokorny Date: Fri, 24 Sep 2021 11:01:49 -0400 Subject: [PATCH 4/4] Drop numSeleniumContainers all the way to 1 --- Jenkinsfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Jenkinsfile b/Jenkinsfile index aac3489bd7..22a8504d63 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -9,7 +9,7 @@ def seleniumHubDockerImage = 'docker-all.repo.sonatype.com/selenium/hub' def seleniumDockerImage = 'docker-all.repo.sonatype.com/selenium/node-chrome' def seleniumDockerVersion = '4.0.0-rc-1-prerelease-20210618' -def numSeleniumContainers = 5; +def numSeleniumContainers = 1; dockerizedBuildPipeline( // expose gallery port on host so selenium container can hit it