From 7ea74eb431c5ed9d19e6e3ed0f08d9b65a3ddf51 Mon Sep 17 00:00:00 2001 From: BryceLTaylor Date: Tue, 18 May 2021 09:43:16 -0400 Subject: [PATCH] Use circleCI build ID for saucelabs test names --- test/integration-legacy/selenium-helpers.js | 4 ++-- test/integration/selenium-helpers.js | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/test/integration-legacy/selenium-helpers.js b/test/integration-legacy/selenium-helpers.js index 99e0b8ceb..6e32255ef 100644 --- a/test/integration-legacy/selenium-helpers.js +++ b/test/integration-legacy/selenium-helpers.js @@ -5,7 +5,7 @@ require('chromedriver'); const headless = process.env.SMOKE_HEADLESS || false; const remote = process.env.SMOKE_REMOTE || false; const ci = process.env.CI || false; -const buildID = process.env.TRAVIS_BUILD_NUMBER; +const buildID = process.env.CIRCLE_WORKFLOW_ID; const {SAUCE_USERNAME, SAUCE_ACCESS_KEY} = process.env; const {By, Key, until} = webdriver; @@ -35,7 +35,7 @@ class SeleniumHelper { if (remote === 'true'){ let nameToUse; if (ci === 'true'){ - nameToUse = 'travis ' + buildID + ' : ' + name; + nameToUse = 'circleCI ' + buildID + ' : ' + name; } else { nameToUse = name; } diff --git a/test/integration/selenium-helpers.js b/test/integration/selenium-helpers.js index 4dd333c6d..9d9587468 100644 --- a/test/integration/selenium-helpers.js +++ b/test/integration/selenium-helpers.js @@ -6,7 +6,7 @@ const chromedriverVersion = require('chromedriver').version; const headless = process.env.SMOKE_HEADLESS || false; const remote = process.env.SMOKE_REMOTE || false; const ci = process.env.CI || false; -const buildID = process.env.TRAVIS_BUILD_NUMBER; +const buildID = process.env.CIRCLE_WORKFLOW_ID; const {SAUCE_USERNAME, SAUCE_ACCESS_KEY} = process.env; const {By, Key, until} = webdriver; @@ -36,7 +36,7 @@ class SeleniumHelper { if (remote === 'true'){ let nameToUse; if (ci === 'true'){ - nameToUse = 'travis ' + buildID + ' : ' + name; + nameToUse = 'circleCI ' + buildID + ' : ' + name; } else { nameToUse = name; }