Fix Playwright snapshot update workflow (#6724)

* tmp: test updating UI

* Update `test_folder`

* try debug with workflow dispatch

* try on push

* fix

* try more triggers

* debug

* Install pre-commit

* run base setup

* try disable git hooks

* undo test changes
pull/6726/head
Jeremy Tuloup 3 years ago committed by GitHub
parent 32970b4417
commit 6e6ac276e7
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -21,6 +21,9 @@ jobs:
- name: Checkout
uses: actions/checkout@v3
- name: Base Setup
uses: jupyterlab/maintainer-tools/.github/actions/base-setup@v1
- name: Checkout the branch from the PR that triggered the job
run: |
# PR branch remote must be checked out using https URL
@ -42,6 +45,9 @@ jobs:
cd dist
python -m pip install -vv notebook*.whl
# disable git hooks
git config core.hooksPath no-hooks
- name: Install the test dependencies
run: |
cd ui-tests
@ -52,6 +58,6 @@ jobs:
uses: jupyterlab/maintainer-tools/.github/actions/update-snapshots@v1
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
test_folder: playwright-tests
test_folder: ui-tests
start_server_script: 'null'
update_script: test:update --browser ${{ matrix.browser }}

Loading…
Cancel
Save