Minor: fix version of playwright in CI (#16791)

This commit is contained in:
Shailesh Parmar 2024-06-25 15:39:32 +05:30 committed by GitHub
parent b29b69531b
commit 4395455d18
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 2 additions and 30 deletions

View File

@ -82,20 +82,6 @@ jobs:
restore-keys: |
${{ runner.os }}-maven-
- name: Get yarn cache directory path
if: steps.cache-output.outputs.exit-code == 0
id: yarn-cache-dir-path
run: echo "dir=$(yarn cache dir)" >> $GITHUB_OUTPUT
- uses: actions/cache@v3
if: steps.yarn-cache-dir-path.outputs.exit-code == 0
id: yarn-cache
with:
path: ${{ steps.yarn-cache-dir-path.outputs.dir }}
key: ${{ runner.os }}-yarn-${{ hashFiles('**/yarn.lock') }}
restore-keys: |
${{ runner.os }}-yarn-
- name: Setup Openmetadata Test Environment
uses: ./.github/actions/setup-openmetadata-test-environment
with:
@ -107,7 +93,7 @@ jobs:
working-directory: openmetadata-ui/src/main/resources/ui/
run: yarn --frozen-lockfile
- name: Install Playwright Browsers
run: npx playwright install --with-deps
run: npx playwright@1.44.1 install --with-deps
- name: Run Playwright tests
working-directory: openmetadata-ui/src/main/resources/ui/
run: npx playwright test

View File

@ -82,20 +82,6 @@ jobs:
restore-keys: |
${{ runner.os }}-maven-
- name: Get yarn cache directory path
if: steps.cache-output.outputs.exit-code == 0
id: yarn-cache-dir-path
run: echo "dir=$(yarn cache dir)" >> $GITHUB_OUTPUT
- uses: actions/cache@v3
if: steps.yarn-cache-dir-path.outputs.exit-code == 0
id: yarn-cache
with:
path: ${{ steps.yarn-cache-dir-path.outputs.dir }}
key: ${{ runner.os }}-yarn-${{ hashFiles('**/yarn.lock') }}
restore-keys: |
${{ runner.os }}-yarn-
- name: Setup Openmetadata Test Environment
uses: ./.github/actions/setup-openmetadata-test-environment
with:
@ -107,7 +93,7 @@ jobs:
working-directory: openmetadata-ui/src/main/resources/ui/
run: yarn --frozen-lockfile
- name: Install Playwright Browsers
run: npx playwright install --with-deps
run: npx playwright@1.44.1 install --with-deps
- name: Run Playwright tests
working-directory: openmetadata-ui/src/main/resources/ui/
run: npx playwright test