Skip to content

Commit

Permalink
use jlpm for ui-tests
Browse files Browse the repository at this point in the history
  • Loading branch information
MFA-X-AI committed Dec 11, 2023
1 parent eda3f89 commit c502e64
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/run-ui-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -69,19 +69,19 @@ jobs:
node-version: 18

- name: Install dependencies
run: npm ci
run: jlpm install

- name: Setup Playwright
run: |
npx playwright install --with-deps
jlpm playwright install --with-deps
- name: Install xvfb
run: |
sudo apt-get install xvfb
- name: Test E2E
run: |
( ls && jupyter lab --ServerApp.token= --ServerApp.password= --LabApp.default_url=/lab\?reset ) & npm install -D @playwright/test && cd ui-tests && xvfb-run npx playwright test e2e/datatype-test.spec.ts
( ls && jupyter lab --ServerApp.token= --ServerApp.password= --LabApp.default_url=/lab\?reset ) & jlpm install -D @playwright/test && cd ui-tests && xvfb-run jlpm playwright test e2e/datatype-test.spec.ts
- uses: actions/upload-artifact@v3
if: failure()
Expand Down

0 comments on commit c502e64

Please sign in to comment.