Skip to content

Commit e1dd044

Browse files
committed
chore(test): removing vue jest tests, adding playwright tests to CI
1 parent c5113e9 commit e1dd044

8 files changed

Lines changed: 229 additions & 4156 deletions

File tree

.github/workflows/actions/build-vue-router/action.yml

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -32,10 +32,6 @@ runs:
3232
run: npm run build
3333
shell: bash
3434
working-directory: ./packages/vue-router
35-
- name: 🧪 Test Spec
36-
run: npm run test.spec
37-
shell: bash
38-
working-directory: ./packages/vue-router
3935
- uses: ./.github/workflows/actions/upload-archive
4036
with:
4137
name: ionic-vue-router

.github/workflows/actions/test-vue-e2e/action.yml

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,10 @@ runs:
3232
run: npm install
3333
shell: bash
3434
working-directory: ./packages/vue/test/build/${{ inputs.app }}
35+
- name: 📦 Install Playwright Browsers
36+
run: npx playwright install chromium
37+
shell: bash
38+
working-directory: ./packages/vue/test/build/${{ inputs.app }}
3539
- name: 🔄 Sync
3640
run: npm run sync
3741
shell: bash
@@ -44,3 +48,9 @@ runs:
4448
run: npm run test:e2e
4549
shell: bash
4650
working-directory: ./packages/vue/test/build/${{ inputs.app }}
51+
- name: 🎭 Run Playwright Tests
52+
run: npx playwright test --retries=2
53+
env:
54+
CI: true
55+
shell: bash
56+
working-directory: ./packages/vue/test/build/${{ inputs.app }}

packages/vue-router/__tests__/locationHistory.spec.ts

Lines changed: 0 additions & 108 deletions
This file was deleted.

packages/vue-router/__tests__/viewStacks.spec.ts

Lines changed: 0 additions & 158 deletions
This file was deleted.

0 commit comments

Comments
 (0)