Skip to content

Commit 64ca89f

Browse files
committed
chore: remove article e2e tests and related fixtures
1 parent e37c090 commit 64ca89f

28 files changed

+27
-1582
lines changed

.github/workflows/test.yml

Lines changed: 2 additions & 40 deletions
Original file line numberDiff line numberDiff line change
@@ -64,45 +64,7 @@ jobs:
6464
with:
6565
token: ${{ secrets.CODECOV_TOKEN }}
6666

67-
cypress_e2e_tests:
68-
name: Cypress E2E test
69-
timeout-minutes: 10
70-
runs-on: ubuntu-latest
71-
steps:
72-
- uses: actions/checkout@v5
73-
74-
- uses: pnpm/action-setup@v4
75-
with:
76-
run_install: false
77-
78-
- name: Use Node.js 22.x
79-
uses: actions/setup-node@v5
80-
with:
81-
node-version: 22.x
82-
cache: pnpm
83-
84-
- name: Install dependencies
85-
run: pnpm install
86-
87-
- name: Get cypress version
88-
id: cypress-version
89-
run: echo "version=$(pnpm info cypress version)" >> $GITHUB_OUTPUT
90-
91-
- name: Cache cypress binary
92-
id: cache-cypress-binary
93-
uses: actions/cache@v4
94-
with:
95-
path: ~/.cache/Cypress
96-
key: cypress-binary-${{ runner.os }}-${{ steps.cypress-version.outputs.version }}
97-
98-
- name: Install cypress binary
99-
if: steps.cache-cypress-binary.outputs.cache-hit != 'true'
100-
run: pnpm cypress install
101-
102-
- name: E2E test
103-
run: pnpm test:cypress
104-
105-
playwright_e2e_tests:
67+
e2e_tests:
10668
name: Playwright E2E test
10769
timeout-minutes: 10
10870
runs-on: macos-latest
@@ -138,7 +100,7 @@ jobs:
138100
run: pnpm playwright install --with-deps
139101

140102
- name: E2E test
141-
run: pnpm test:playwright
103+
run: pnpm test:e2e
142104

143105
- uses: actions/upload-artifact@v4
144106
if: ${{ !cancelled() }}

.gitignore

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -14,9 +14,6 @@ dist-ssr
1414
coverage
1515
*.local
1616

17-
/cypress/videos/
18-
/cypress/screenshots/
19-
2017
/test-results/
2118
/playwright-report/
2219
/blob-report/

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ For more information on how to this works with other frontends/backends, head ov
2828
- [x] [ESLint](https://eslint.vuejs.org/) and [@mutoe/eslint-config](https://github.com/mutoe/eslint-config) for linting and styling (based on [@anthony/eslint-config](https://github.com/anthony/eslint-config))
2929
- [x] [Vitest](https://vitest.dev/) for unit testing
3030
- [x] [Testing Library](https://testing-library.com/docs/vue-testing-library/intro/) for component testing
31-
- [x] [Cypress](https://docs.cypress.io) for E2E testing
31+
- [x] [Playwright](https://playwright.dev) for E2E and visual testing
3232
- [x] [GitHub Actions](https://docs.github.com/en/actions) CI/CD
3333

3434
> Basically, some of they are necessary features for the development of medium to large projects, and you can also use this repository as a starter.

cypress.config.ts

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

cypress/e2e/article.cy.ts

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

cypress/e2e/auth.cy.ts

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

cypress/e2e/constant.ts

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

cypress/e2e/favorite.cy.ts

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

cypress/e2e/follow.cy.ts

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

0 commit comments

Comments
 (0)