Skip to content

Commit

Permalink
chore: update supported framework versions in schema (#875)
Browse files Browse the repository at this point in the history
* chore: update supported framework versions in schema

* ci: bump tested framework versions

* ci: bump node version for schema generation
  • Loading branch information
alexplischke authored Jan 22, 2024
1 parent 5a3c78c commit d1c2e45
Show file tree
Hide file tree
Showing 9 changed files with 24 additions and 30 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -59,9 +59,9 @@ jobs:
uses: actions/checkout@v4

- name: Setup Node.js
uses: actions/setup-node@v3
uses: actions/setup-node@v4
with:
node-version: '16'
node-version: 20
cache: npm
cache-dependency-path: scripts/json-schema-bundler/package-lock.json

Expand Down
6 changes: 3 additions & 3 deletions .sauce/cypress-10.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ rootDir: tests/e2e/cypress_10/e2e/
defaults:
timeout: 5m
cypress:
version: 13.6.0
version: 13.6.3
configFile: "cypress.config.js"
suites:
# - name: "(experimental) webkit test"
Expand All @@ -25,7 +25,7 @@ suites:

- name: "chrome test"
browser: "chrome"
platformName: "macOS 11.00"
platformName: "macOS 12"
config:
env:
hello: world
Expand All @@ -35,7 +35,7 @@ suites:
- name: "firefox test"
browser: "firefox"
browserVersion: "104" # FF 105 does not work with cypress
platformName: "macOS 11.00"
platformName: "macOS 12"
config:
env:
hello: world
Expand Down
6 changes: 3 additions & 3 deletions .sauce/playwright.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,18 +11,18 @@ defaults:
timeout: 5m
rootDir: tests/e2e/playwright/
playwright:
version: 1.40.1
version: 1.41.0
suites:
- name: "chromium test in sauce"
platformName: "Windows 10"
platformName: "Windows 11"
testMatch: ['.*.js']
env:
hello: world
params:
browserName: "chromium"

- name: "webkit test in sauce"
platformName: "Windows 10"
platformName: "Windows 11"
testMatch: ['.*.js']
params:
browserName: "webkit"
Expand Down
6 changes: 3 additions & 3 deletions .sauce/testcafe.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,14 +10,14 @@ sauce:
defaults:
timeout: 5m
testcafe:
version: 3.4.0
version: 3.5.0
rootDir: tests/e2e/testcafe/
suites:
- name: Chrome in sauce
browserName: chrome
src:
- "*.test.js"
platformName: "macOS 11.00"
platformName: "macOS 12"
compilerOptions:
typescript:
options:
Expand All @@ -27,7 +27,7 @@ suites:
browserName: firefox
src:
- "*.test.js"
platformName: "Windows 10"
platformName: "Windows 11"

- name: iOS Test
browserName: safari
Expand Down
15 changes: 6 additions & 9 deletions api/saucectl.schema.json
Original file line number Diff line number Diff line change
Expand Up @@ -842,6 +842,7 @@
"version": {
"enum": [
"package.json",
"13.6.3",
"13.6.0",
"13.4.0",
"13.3.0",
Expand All @@ -851,9 +852,7 @@
"12.11.0",
"12.6.0",
"12.3.0",
"11.2.0",
"10.10.0",
"10.7.0"
"11.2.0"
],
"description": "Which framework version to use."
},
Expand Down Expand Up @@ -1428,6 +1427,7 @@
"$ref": "#/allOf/8/then/properties/playwright/properties/version",
"enum": [
"package.json",
"1.41.0",
"1.40.1",
"1.39.0",
"1.38.1",
Expand All @@ -1437,9 +1437,7 @@
"1.33.0",
"1.31.1",
"1.29.2",
"1.28.1",
"1.27.1",
"1.25.1"
"1.28.1"
]
},
"configFile": {
Expand Down Expand Up @@ -1766,6 +1764,7 @@
"$ref": "#/allOf/8/then/properties/playwright/properties/version",
"enum": [
"package.json",
"3.5.0",
"3.4.0",
"3.3.0",
"3.2.0",
Expand All @@ -1774,9 +1773,7 @@
"2.5.0",
"2.3.1",
"2.2.0",
"2.1.0",
"2.0.1",
"2.0.0"
"2.1.0"
]
},
"configFile": {
Expand Down
5 changes: 2 additions & 3 deletions api/v1/framework/cypress.schema.json
Original file line number Diff line number Diff line change
Expand Up @@ -63,6 +63,7 @@
"$ref": "../subschema/common.schema.json#/definitions/version",
"enum": [
"package.json",
"13.6.3",
"13.6.0",
"13.4.0",
"13.3.0",
Expand All @@ -72,9 +73,7 @@
"12.11.0",
"12.6.0",
"12.3.0",
"11.2.0",
"10.10.0",
"10.7.0"
"11.2.0"
]
},
"reporters": {
Expand Down
5 changes: 2 additions & 3 deletions api/v1alpha/framework/playwright.schema.json
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,7 @@
"$ref": "../subschema/common.schema.json#/definitions/version",
"enum": [
"package.json",
"1.41.0",
"1.40.1",
"1.39.0",
"1.38.1",
Expand All @@ -60,9 +61,7 @@
"1.33.0",
"1.31.1",
"1.29.2",
"1.28.1",
"1.27.1",
"1.25.1"
"1.28.1"
]
},
"configFile": {
Expand Down
5 changes: 2 additions & 3 deletions api/v1alpha/framework/testcafe.schema.json
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,7 @@
"$ref": "../subschema/common.schema.json#/definitions/version",
"enum": [
"package.json",
"3.5.0",
"3.4.0",
"3.3.0",
"3.2.0",
Expand All @@ -59,9 +60,7 @@
"2.5.0",
"2.3.1",
"2.2.0",
"2.1.0",
"2.0.1",
"2.0.0"
"2.1.0"
]
},
"configFile": {
Expand Down
2 changes: 1 addition & 1 deletion tests/e2e/playwright-cucumberjs/.sauce/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ sauce:
defaults:
timeout: 5m
playwright:
version: 1.27.1
version: 1.41.0
rootDir: ./
suites:
- name: My Cucumber Test
Expand Down

0 comments on commit d1c2e45

Please sign in to comment.