feat: migrate from Cypress to Playwright for E2E testing
- Remove Cypress dependencies and configuration files - Install @playwright/test with browser support - Add playwright.config.ts with optimized settings for Next.js - Migrate existing Cypress tests to Playwright format - Add new E2E test scripts to package.json - Configure GitHub Actions workflow for automated testing - Update .gitignore for Playwright artifacts BREAKING CHANGE: E2E testing framework changed from Cypress to Playwright
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "cpl-v4",
|
||||
"version": "1.6.680",
|
||||
"version": "1.6.682",
|
||||
"private": true,
|
||||
"scripts": {
|
||||
"dev": "next dev",
|
||||
@@ -12,6 +12,10 @@
|
||||
"check": "npm run lint && npm run typecheck",
|
||||
"lint": "next lint",
|
||||
"test": "jest",
|
||||
"test:e2e": "playwright test",
|
||||
"test:e2e:ui": "playwright test --ui",
|
||||
"test:e2e:debug": "playwright test --debug",
|
||||
"test:e2e:report": "playwright show-report",
|
||||
"prepare": "husky install",
|
||||
"bump-version": "node ./scripts/bumpVersion.js"
|
||||
},
|
||||
@@ -55,11 +59,11 @@
|
||||
"redux": "^5.0.1"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@playwright/test": "^1.54.2",
|
||||
"@testing-library/jest-dom": "^6.6.3",
|
||||
"@testing-library/react": "^16.2.0",
|
||||
"@types/bcryptjs": "^2.4.6",
|
||||
"@types/crypto-js": "^4.2.2",
|
||||
"@types/cypress": "^1.1.6",
|
||||
"@types/jest": "^29.5.14",
|
||||
"@types/lodash": "^4.17.16",
|
||||
"@types/node": "^22.10.10",
|
||||
@@ -69,7 +73,6 @@
|
||||
"@types/redux-mock-store": "^1.5.0",
|
||||
"@types/testing-library__react": "^10.2.0",
|
||||
"cross-env": "^7.0.3",
|
||||
"cypress": "^14.0.0",
|
||||
"eslint": "8.57.1",
|
||||
"eslint-config-next": "15.3.4",
|
||||
"husky": "^8.0.0",
|
||||
|
||||
Reference in New Issue
Block a user