diff --git a/Jenkinsfile b/Jenkinsfile index eeab466439..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 = 10; +def numSeleniumContainers = 1; dockerizedBuildPipeline( // expose gallery port on host so selenium container can hit it 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/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}`); }, /** 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": {