use Circle’s BUILD_NUM instead of WORKFLOW_ID in saucelabs tests

This commit is contained in:
BryceLTaylor 2021-05-18 14:36:59 -04:00
parent c13f2ef598
commit 511933cde8
2 changed files with 2 additions and 2 deletions

View file

@ -6,7 +6,7 @@ const headless = process.env.SMOKE_HEADLESS || false;
const remote = process.env.SMOKE_REMOTE || false;
const ci = process.env.CI || false;
const usingCircle = process.env.CIRCLECI || false;
const buildID = process.env.CIRCLE_WORKFLOW_ID || '0000';
const buildID = process.env.CIRCLE_BUILD_NUM || '0000';
const {SAUCE_USERNAME, SAUCE_ACCESS_KEY} = process.env;
const {By, Key, until} = webdriver;

View file

@ -7,7 +7,7 @@ const headless = process.env.SMOKE_HEADLESS || false;
const remote = process.env.SMOKE_REMOTE || false;
const ci = process.env.CI || false;
const usingCircle = process.env.CIRCLECI || false;
const buildID = process.env.CIRCLE_WORKFLOW_ID || '0000';
const buildID = process.env.CIRCLE_BUILD_NUM || '0000';
const {SAUCE_USERNAME, SAUCE_ACCESS_KEY} = process.env;
const {By, Key, until} = webdriver;