Skip to content

Commit

Permalink
Fix saucelabs tests on all environments. (#1119)
Browse files Browse the repository at this point in the history
  • Loading branch information
dompuiu authored May 23, 2024
1 parent cd0d865 commit fc5698e
Show file tree
Hide file tree
Showing 5 changed files with 117 additions and 29 deletions.
1 change: 0 additions & 1 deletion .sauce/dev.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,6 @@ timeZone: New_York
npm:
dependencies:
- parse-uri
- node-fetch
- js-cookie
- read-cache
- uuid
Expand Down
31 changes: 24 additions & 7 deletions .sauce/ee-prd.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,15 +13,14 @@ env:
ALLOY_PROD_VERSION: $ALLOY_PROD_VERSION
NPM_PACKAGE_VERSION: $NPM_PACKAGE_VERSION
testcafe:
version: 2.6.2
version: 3.5.0
speed: 1
pageLoadTimeout: 3000
disablePageCaching: true
timeZone: New_York
npm:
dependencies:
- parse-uri
- node-fetch
- js-cookie
- read-cache
- uuid
Expand All @@ -35,32 +34,50 @@ suites:
- name: "Edge"
browserName: "microsoftedge"
headless: true
browserVersion: "latest"
browserVersion: "119"
src:
- "test/functional/specs/**/*.js"
platformName: "Windows 11"
excludedTestFiles: [ "test/functional/specs/Personalization/C782718.js", "test/functional/specs/Privacy/C5594870.js"]
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"
platformName: "macOS 13"
excludedTestFiles: [ "test/functional/specs/Personalization/C205528.js", "test/functional/specs/Identity/C6842981.js", "test/functional/specs/Privacy/IAB/C224677.js", "test/functional/specs/Privacy/C5594870.js", "test/functional/specs/LibraryInfo/C2589.js" ]
excludedTestFiles:
[
"test/functional/specs/Personalization/C205528.js",
"test/functional/specs/Identity/C6842981.js",
"test/functional/specs/Privacy/IAB/C224677.js",
"test/functional/specs/Privacy/C5594870.js",
"test/functional/specs/LibraryInfo/C2589.js",
]
- name: "Firefox"
browserName: "firefox"
headless: true
browserVersion: "latest"
src:
- "test/functional/specs/**/*.js"
platformName: "Windows 11"
excludedTestFiles: [ "test/functional/specs/Privacy/C5594870.js" ]
excludedTestFiles: ["test/functional/specs/Privacy/C5594870.js"]
- name: "Chrome"
browserName: "chrome"
headless: true
browserVersion: "latest"
src:
- "test/functional/specs/**/*.js"
platformName: "Windows 11"
excludedTestFiles: [ "test/functional/specs/Privacy/C5594870.js", "test/functional/specs/Personalization/C7494472.js" ]
excludedTestFiles:
[
"test/functional/specs/Privacy/C5594870.js",
"test/functional/specs/Personalization/C7494472.js",
"test/functional/specs/Personalization/C8631576.js",
"test/functional/specs/Personalization/C8631577.js",
]
31 changes: 24 additions & 7 deletions .sauce/pre-edge-deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,15 +13,14 @@ env:
ALLOY_PROD_VERSION: $ALLOY_PROD_VERSION
NPM_PACKAGE_VERSION: $NPM_PACKAGE_VERSION
testcafe:
version: 2.6.2
version: 3.5.0
speed: 1
pageLoadTimeout: 3000
disablePageCaching: true
timeZone: New_York
npm:
dependencies:
- parse-uri
- node-fetch
- js-cookie
- read-cache
- uuid
Expand All @@ -35,32 +34,50 @@ suites:
- name: "Edge"
browserName: "microsoftedge"
headless: true
browserVersion: "latest"
browserVersion: "119"
src:
- "test/functional/specs/**/*.js"
platformName: "Windows 11"
excludedTestFiles: [ "test/functional/specs/Personalization/C782718.js", "test/functional/specs/Privacy/C5594870.js"]
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"
platformName: "macOS 13"
excludedTestFiles: [ "test/functional/specs/Personalization/C205528.js", "test/functional/specs/Identity/C6842981.js", "test/functional/specs/Privacy/IAB/C224677.js", "test/functional/specs/Privacy/C5594870.js", "test/functional/specs/LibraryInfo/C2589.js" ]
excludedTestFiles:
[
"test/functional/specs/Personalization/C205528.js",
"test/functional/specs/Identity/C6842981.js",
"test/functional/specs/Privacy/IAB/C224677.js",
"test/functional/specs/Privacy/C5594870.js",
"test/functional/specs/LibraryInfo/C2589.js",
]
- name: "Firefox"
browserName: "firefox"
headless: true
browserVersion: "latest"
src:
- "test/functional/specs/**/*.js"
platformName: "Windows 11"
excludedTestFiles: [ "test/functional/specs/Privacy/C5594870.js" ]
excludedTestFiles: ["test/functional/specs/Privacy/C5594870.js"]
- name: "Chrome"
browserName: "chrome"
headless: true
browserVersion: "latest"
src:
- "test/functional/specs/**/*.js"
platformName: "Windows 11"
excludedTestFiles: [ "test/functional/specs/Privacy/C5594870.js", "test/functional/specs/Personalization/C7494472.js" ]
excludedTestFiles:
[
"test/functional/specs/Privacy/C5594870.js",
"test/functional/specs/Personalization/C7494472.js",
"test/functional/specs/Personalization/C8631576.js",
"test/functional/specs/Personalization/C8631577.js",
]
31 changes: 24 additions & 7 deletions .sauce/pre-prod-upstreams.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,15 +13,14 @@ env:
ALLOY_PROD_VERSION: $ALLOY_PROD_VERSION
NPM_PACKAGE_VERSION: $NPM_PACKAGE_VERSION
testcafe:
version: 2.6.2
version: 3.5.0
speed: 1
pageLoadTimeout: 3000
disablePageCaching: true
timeZone: New_York
npm:
dependencies:
- parse-uri
- node-fetch
- js-cookie
- read-cache
- uuid
Expand All @@ -35,32 +34,50 @@ suites:
- name: "Edge"
browserName: "microsoftedge"
headless: true
browserVersion: "latest"
browserVersion: "119"
src:
- "test/functional/specs/**/*.js"
platformName: "Windows 11"
excludedTestFiles: [ "test/functional/specs/Personalization/C782718.js", "test/functional/specs/Privacy/C5594870.js"]
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"
platformName: "macOS 13"
excludedTestFiles: [ "test/functional/specs/Personalization/C205528.js", "test/functional/specs/Identity/C6842981.js", "test/functional/specs/Privacy/IAB/C224677.js", "test/functional/specs/Privacy/C5594870.js", "test/functional/specs/LibraryInfo/C2589.js" ]
excludedTestFiles:
[
"test/functional/specs/Personalization/C205528.js",
"test/functional/specs/Identity/C6842981.js",
"test/functional/specs/Privacy/IAB/C224677.js",
"test/functional/specs/Privacy/C5594870.js",
"test/functional/specs/LibraryInfo/C2589.js",
]
- name: "Firefox"
browserName: "firefox"
headless: true
browserVersion: "latest"
src:
- "test/functional/specs/**/*.js"
platformName: "Windows 11"
excludedTestFiles: [ "test/functional/specs/Privacy/C5594870.js" ]
excludedTestFiles: ["test/functional/specs/Privacy/C5594870.js"]
- name: "Chrome"
browserName: "chrome"
headless: true
browserVersion: "latest"
src:
- "test/functional/specs/**/*.js"
platformName: "Windows 11"
excludedTestFiles: [ "test/functional/specs/Privacy/C5594870.js", "test/functional/specs/Personalization/C7494472.js" ]
excludedTestFiles:
[
"test/functional/specs/Privacy/C5594870.js",
"test/functional/specs/Personalization/C7494472.js",
"test/functional/specs/Personalization/C8631576.js",
"test/functional/specs/Personalization/C8631577.js",
]
52 changes: 45 additions & 7 deletions .sauce/prod.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,15 +12,14 @@ env:
ALLOY_PROD_VERSION: $ALLOY_PROD_VERSION
NPM_PACKAGE_VERSION: $NPM_PACKAGE_VERSION
testcafe:
version: 2.6.2
version: 3.5.0
speed: 1
pageLoadTimeout: 3000
disablePageCaching: true
timeZone: New_York
npm:
dependencies:
- parse-uri
- node-fetch
- js-cookie
- read-cache
- uuid
Expand All @@ -38,16 +37,33 @@ suites:
src:
- "test/functional/specs/**/*.js"
platformName: "Windows 11"
excludedTestFiles: [ "test/functional/specs/Data Collector/C81182.js", "test/functional/specs/Privacy/C5594870.js", "test/functional/specs/Personalization/C7494472.js", "test/functional/specs/Privacy/C1576777.js", "test/functional/specs/Audiences/C12411.js", "test/functional/specs/Audiences/C31436.js" ]
excludedTestFiles:
[
"test/functional/specs/Data Collector/C81182.js",
"test/functional/specs/Privacy/C5594870.js",
"test/functional/specs/Personalization/C7494472.js",
"test/functional/specs/Privacy/C1576777.js",
"test/functional/specs/Audiences/C12411.js",
"test/functional/specs/Audiences/C31436.js",
]

- name: "Edge"
browserName: "microsoftedge"
headless: true
browserVersion: "latest"
browserVersion: "119"
src:
- "test/functional/specs/**/*.js"
platformName: "Windows 11"
excludedTestFiles: [ "test/functional/specs/Data Collector/C81182.js", "test/functional/specs/Personalization/C782718.js", "test/functional/specs/Privacy/C5594870.js", "test/functional/specs/Privacy/C1576777.js", "test/functional/specs/Audiences/C12411.js", "test/functional/specs/Audiences/C31436.js"]
excludedTestFiles:
[
"test/functional/specs/Data Collector/C81182.js",
"test/functional/specs/Personalization/C782718.js",
"test/functional/specs/Privacy/C5594870.js",
"test/functional/specs/Privacy/C1576777.js",
"test/functional/specs/Audiences/C12411.js",
"test/functional/specs/Audiences/C31436.js",
"test/functional/specs/Personalization/C8631577.js",
]

- name: "Firefox"
browserName: "firefox"
Expand All @@ -56,12 +72,34 @@ suites:
src:
- "test/functional/specs/**/*.js"
platformName: "Windows 11"
excludedTestFiles: [ "test/functional/specs/Data Collector/C81182.js", "test/functional/specs/Privacy/C2593.js", "test/functional/specs/Privacy/C5594870.js", "test/functional/specs/Privacy/C1576777.js", "test/functional/specs/Audiences/C12411.js", "test/functional/specs/Audiences/C31436.js" ]
excludedTestFiles:
[
"test/functional/specs/Data Collector/C81182.js",
"test/functional/specs/Privacy/C2593.js",
"test/functional/specs/Privacy/C5594870.js",
"test/functional/specs/Privacy/C1576777.js",
"test/functional/specs/Audiences/C12411.js",
"test/functional/specs/Audiences/C31436.js",
]

- name: "Safari"
browserName: "safari"
browserVersion: "latest"
src:
- "test/functional/specs/**/*.js"
platformName: "macOS 13"
excludedTestFiles: [ "test/functional/specs/Privacy/C1472435.js", "test/functional/specs/Data Collector/C81182.js", "test/functional/specs/Personalization/C205528.js", "test/functional/specs/Identity/C6842981.js", "test/functional/specs/Privacy/IAB/C224677.js", "test/functional/specs/Privacy/C5594870.js", "test/functional/specs/LibraryInfo/C2589.js", "test/functional/specs/Privacy/C1576777.js", "test/functional/specs/Audiences/C12411.js", "test/functional/specs/Audiences/C31436.js" ]
excludedTestFiles:
[
"test/functional/specs/Privacy/C1472435.js",
"test/functional/specs/Data Collector/C81182.js",
"test/functional/specs/Personalization/C205528.js",
"test/functional/specs/Identity/C6842981.js",
"test/functional/specs/Privacy/IAB/C224677.js",
"test/functional/specs/Privacy/C5594870.js",
"test/functional/specs/LibraryInfo/C2589.js",
"test/functional/specs/Privacy/C1576777.js",
"test/functional/specs/Audiences/C12411.js",
"test/functional/specs/Audiences/C31436.js",
"test/functional/specs/Personalization/C8631576.js",
"test/functional/specs/Personalization/C8631577.js",
]

0 comments on commit fc5698e

Please sign in to comment.