Skip to content

Commit 3433707

Browse files
committed
Update ui test runner
1 parent 254ed46 commit 3433707

File tree

1 file changed

+6
-16
lines changed

1 file changed

+6
-16
lines changed

.github/workflows/tests.yml

Lines changed: 6 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -166,25 +166,15 @@ jobs:
166166
167167
- name: Install Test Dependencies
168168
run: |
169-
cd ui-tests
170169
jlpm --immutable
171170
npx playwright install chromium
171+
working-directory: ui-tests
172172

173-
- name: Launch JupyterLab
173+
- name: Execute integration tests
174+
shell: bash -l {0}
175+
working-directory: ui-tests
174176
run: |
175-
cd ui-tests
176-
jlpm start:detached
177-
178-
- name: Wait for JupyterLab
179-
uses: ifaxity/wait-on-action@v1
180-
with:
181-
resource: http-get://localhost:8888/api
182-
timeout: 20000
183-
184-
- name: Run UI Tests
185-
run: |
186-
cd ui-tests
187-
jlpm test
177+
npx playwright test
188178
189179
- name: Upload Playwright Test assets
190180
if: always()
@@ -204,8 +194,8 @@ jobs:
204194
205195
- name: Update snapshots
206196
if: failure()
197+
working-directory: ui-tests
207198
run: |
208-
cd ui-tests
209199
jlpm test:update
210200
211201
- name: Upload updated snapshots

0 commit comments

Comments
 (0)