Skip to content

Commit

Permalink
ci: Setup correct path to playwright tests in update snapshots workflow
Browse files Browse the repository at this point in the history
Signed-off-by: Mahendra Paipuri <[email protected]>

ci: Complete update snapshots workflow

Signed-off-by: Mahendra Paipuri <[email protected]>

ci: Force update snapshots workflow

Signed-off-by: Mahendra Paipuri <[email protected]>

ci; Revert changes

Signed-off-by: Mahendra Paipuri <[email protected]>
  • Loading branch information
mahendrapaipuri committed Dec 15, 2024
1 parent f2e1b9d commit b26573d
Showing 1 changed file with 8 additions and 3 deletions.
11 changes: 8 additions & 3 deletions .github/workflows/update-playwright-snapshots.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,16 +29,21 @@ jobs:
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

- name: Install your project
- name: Install from source
run: HATCH_BUILD_HOOKS_ENABLE=true python -m pip install -e '.[test-ui]'

- name: Uninstall jupyter-fs
run: |
# Execute the required installation command
# Uninstall jupyter-fs as it overrides the original browser-test.js to
# check its own functionality (https://github.com/jpmorganchase/jupyter-fs/blob/main/jupyterfs/browser-test.js)
pip uninstall jupyter-fs -y
- name: Update snapshots
uses: jupyterlab/maintainer-tools/.github/actions/update-snapshots@v1
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
# Test folder within your repository
test_folder: playwright-tests
test_folder: jupyterlab/packages/jupyterlab-jupytext-extension/ui-tests/tests

# Optional npm scripts (the default values are displayed)
# Script to start the server or 'null' if Playwright is taking care of it
Expand Down

0 comments on commit b26573d

Please sign in to comment.