mirror of
https://github.com/nasa/openmct.git
synced 2024-12-19 21:27:52 +00:00
chore: bump Playwright to v1.39.0 (#7201)
This commit is contained in:
parent
4dbca9cb09
commit
8e7c02069e
@ -2,7 +2,7 @@ version: 2.1
|
|||||||
executors:
|
executors:
|
||||||
pw-focal-development:
|
pw-focal-development:
|
||||||
docker:
|
docker:
|
||||||
- image: mcr.microsoft.com/playwright:v1.36.2-focal
|
- image: mcr.microsoft.com/playwright:v1.39.0-focal
|
||||||
environment:
|
environment:
|
||||||
NODE_ENV: development # Needed to ensure 'dist' folder created and devDependencies installed
|
NODE_ENV: development # Needed to ensure 'dist' folder created and devDependencies installed
|
||||||
PERCY_POSTINSTALL_BROWSER: 'true' # Needed to store the percy browser in cache deps
|
PERCY_POSTINSTALL_BROWSER: 'true' # Needed to store the percy browser in cache deps
|
||||||
@ -162,7 +162,7 @@ jobs:
|
|||||||
steps:
|
steps:
|
||||||
- build_and_install:
|
- build_and_install:
|
||||||
node-version: <<parameters.node-version>>
|
node-version: <<parameters.node-version>>
|
||||||
- run: npx playwright@1.36.2 install #Necessary for bare ubuntu machine
|
- run: npx playwright@1.39.0 install #Necessary for bare ubuntu machine
|
||||||
- run: |
|
- run: |
|
||||||
export $(cat src/plugins/persistence/couch/.env.ci | xargs)
|
export $(cat src/plugins/persistence/couch/.env.ci | xargs)
|
||||||
docker-compose -f src/plugins/persistence/couch/couchdb-compose.yaml up --detach
|
docker-compose -f src/plugins/persistence/couch/couchdb-compose.yaml up --detach
|
||||||
|
6
.github/workflows/e2e-couchdb.yml
vendored
6
.github/workflows/e2e-couchdb.yml
vendored
@ -27,7 +27,7 @@ jobs:
|
|||||||
key: ${{ runner.os }}-node-${{ hashFiles('**/package.json') }}
|
key: ${{ runner.os }}-node-${{ hashFiles('**/package.json') }}
|
||||||
restore-keys: |
|
restore-keys: |
|
||||||
${{ runner.os }}-node-
|
${{ runner.os }}-node-
|
||||||
|
|
||||||
- run: npm install --cache ~/.npm --no-audit --progress=false
|
- run: npm install --cache ~/.npm --no-audit --progress=false
|
||||||
|
|
||||||
- name: Login to DockerHub
|
- name: Login to DockerHub
|
||||||
@ -36,8 +36,8 @@ jobs:
|
|||||||
with:
|
with:
|
||||||
username: ${{ secrets.DOCKERHUB_USERNAME }}
|
username: ${{ secrets.DOCKERHUB_USERNAME }}
|
||||||
password: ${{ secrets.DOCKERHUB_TOKEN }}
|
password: ${{ secrets.DOCKERHUB_TOKEN }}
|
||||||
|
|
||||||
- run: npx playwright@1.36.2 install
|
- run: npx playwright@1.39.0 install
|
||||||
|
|
||||||
- name: Start CouchDB Docker Container and Init with Setup Scripts
|
- name: Start CouchDB Docker Container and Init with Setup Scripts
|
||||||
run: |
|
run: |
|
||||||
|
8
.github/workflows/e2e-pr.yml
vendored
8
.github/workflows/e2e-pr.yml
vendored
@ -24,7 +24,7 @@ jobs:
|
|||||||
- uses: actions/setup-node@v4
|
- uses: actions/setup-node@v4
|
||||||
with:
|
with:
|
||||||
node-version: 'lts/hydrogen'
|
node-version: 'lts/hydrogen'
|
||||||
|
|
||||||
- name: Cache NPM dependencies
|
- name: Cache NPM dependencies
|
||||||
uses: actions/cache@v3
|
uses: actions/cache@v3
|
||||||
with:
|
with:
|
||||||
@ -32,8 +32,8 @@ jobs:
|
|||||||
key: ${{ runner.os }}-node-${{ hashFiles('**/package.json') }}
|
key: ${{ runner.os }}-node-${{ hashFiles('**/package.json') }}
|
||||||
restore-keys: |
|
restore-keys: |
|
||||||
${{ runner.os }}-node-
|
${{ runner.os }}-node-
|
||||||
|
|
||||||
- run: npx playwright@1.36.2 install
|
- run: npx playwright@1.39.0 install
|
||||||
- run: npx playwright install chrome-beta
|
- run: npx playwright install chrome-beta
|
||||||
- run: npm install --cache ~/.npm --no-audit --progress=false
|
- run: npm install --cache ~/.npm --no-audit --progress=false
|
||||||
- run: npm run test:e2e:full -- --max-failures=40
|
- run: npm run test:e2e:full -- --max-failures=40
|
||||||
@ -65,4 +65,4 @@ jobs:
|
|||||||
});
|
});
|
||||||
} catch (error) {
|
} catch (error) {
|
||||||
core.warning(`Failed to remove ' + labelToRemove + ' label: ${error.message}`);
|
core.warning(`Failed to remove ' + labelToRemove + ' label: ${error.message}`);
|
||||||
}
|
}
|
||||||
|
@ -8,7 +8,7 @@
|
|||||||
"@deploysentinel/playwright": "0.3.4",
|
"@deploysentinel/playwright": "0.3.4",
|
||||||
"@percy/cli": "1.26.0",
|
"@percy/cli": "1.26.0",
|
||||||
"@percy/playwright": "1.0.4",
|
"@percy/playwright": "1.0.4",
|
||||||
"@playwright/test": "1.36.2",
|
"@playwright/test": "1.39.0",
|
||||||
"@types/eventemitter3": "1.2.0",
|
"@types/eventemitter3": "1.2.0",
|
||||||
"@types/jasmine": "4.3.4",
|
"@types/jasmine": "4.3.4",
|
||||||
"@types/lodash": "4.14.192",
|
"@types/lodash": "4.14.192",
|
||||||
|
Loading…
Reference in New Issue
Block a user