Skip to content
New issue

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

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

Already on GitHub? Sign in to your account

Fix dev workflow unit and functional test settings #1187

Merged
merged 7 commits into from
Sep 19, 2024
Merged
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
1 change: 1 addition & 0 deletions .github/workflows/dev.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down
16 changes: 1 addition & 15 deletions .sauce/dev.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ testcafe:
version: 3.6.0
nodeVersion: "22"
speed: 1
pageLoadTimeout: 3000
pageLoadTimeout: 5000
disablePageCaching: true
timeZone: New_York
npm:
Expand All @@ -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"
Expand Down
30 changes: 18 additions & 12 deletions karma.saucelabs.conf.cjs
Original file line number Diff line number Diff line change
Expand Up @@ -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({
Expand All @@ -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",
Expand Down
Loading