Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Applitools stability experiments #499

Draft
wants to merge 4 commits into
base: main
Choose a base branch
from
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion Jenkinsfile
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion gallery/package.json
Original file line number Diff line number Diff line change
@@ -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": {
Expand Down
3 changes: 3 additions & 0 deletions gallery/wdio.conf.js
Original file line number Diff line number Diff line change
Expand Up @@ -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`;
Expand Down Expand Up @@ -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}`);
},
/**
Expand Down
2 changes: 1 addition & 1 deletion lib/package.json
Original file line number Diff line number Diff line change
@@ -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": {
Expand Down