diff --git a/.github/workflows/dev.yaml b/.github/workflows/dev.yaml index 09e86ed2b..af03becbf 100644 --- a/.github/workflows/dev.yaml +++ b/.github/workflows/dev.yaml @@ -9,6 +9,7 @@ env: SAUCE_CAPABILITIES_OVERRIDES_PATH: "sauceLabsCapabilities.json" EDGE_BASE_PATH: ee-pre-prd ALLOY_ENV: int + SAUCE_TUNNEL_ID: github-action-tunnel jobs: linting: diff --git a/.sauce/dev.yml b/.sauce/dev.yml index a2fe3ef8c..946ad5ff5 100644 --- a/.sauce/dev.yml +++ b/.sauce/dev.yml @@ -14,7 +14,7 @@ testcafe: version: 3.6.0 nodeVersion: "22" speed: 1 -pageLoadTimeout: 3000 +pageLoadTimeout: 5000 disablePageCaching: true timeZone: New_York npm: @@ -26,22 +26,8 @@ npm: - "@adobe/reactor-cookie" - "@adobe/reactor-query-string" suites: - - name: "Edge" - browserName: "microsoftedge" - headless: true - browserVersion: "119" - src: - - "test/functional/specs/**/*.js" - platformName: "Windows 11" - excludedTestFiles: - [ - "test/functional/specs/Personalization/C782718.js", - "test/functional/specs/Privacy/C5594870.js", - "test/functional/specs/Personalization/C8631577.js", - ] - name: "Safari" browserName: "safari" - headless: true browserVersion: "latest" src: - "test/functional/specs/**/*.js" diff --git a/karma.saucelabs.conf.cjs b/karma.saucelabs.conf.cjs index 205d13a2c..4929ebcaf 100644 --- a/karma.saucelabs.conf.cjs +++ b/karma.saucelabs.conf.cjs @@ -19,29 +19,32 @@ module.exports = (config) => { base: "SauceLabs", browserName: "chrome", browserVersion: "latest", - platform: "Windows 11", + platformName: "Windows 11", + "sauce:options": { + tunnelIdentifier: process.env.SAUCE_TUNNEL_ID, + headless: true, + }, }, sl_safariW3C: { base: "SauceLabs", browserName: "safari", browserVersion: "latest", - platform: "macOS 13", + platformName: "macOS 13", + "sauce:options": { + tunnelIdentifier: process.env.SAUCE_TUNNEL_ID, + headless: true, + }, }, sl_firefoxW3C: { base: "SauceLabs", browserName: "firefox", - platformName: "Windows 11", browserVersion: "latest", + platformName: "Windows 11", "sauce:options": { - geckodriverVersion: "0.34.0", + tunnelIdentifier: process.env.SAUCE_TUNNEL_ID, + headless: true, }, }, - sl_edgeW3C: { - base: "SauceLabs", - browserName: "microsoftedge", - browserVersion: "latest", - platform: "Windows 11", - }, }; config.set({ @@ -50,9 +53,12 @@ module.exports = (config) => { concurrency: 10, colors: true, sauceLabs: { - screenResolution: "800x600", + testName: "Alloy Unit Tests", build: `GH #${process.env.BUILD_NUMBER} (${process.env.BUILD_ID})`, - tunnelIdentifier: process.env.JOB_NUMBER, + tunnelIdentifier: process.env.SAUCE_TUNNEL_ID, + screenResolution: "1280x1024", + recordVideo: false, + recordScreenshots: false, }, plugins: [ "karma-jasmine",