rewrite existing cypress tests to playwright (#931)

This commit is contained in:
Alex Johansson authored and GitHub committed 2021-10-13 14:26:56 +01:00
1 parent 5c4f4bfd90
commit dc4331ed17
24 files changed
+346 -689

No files matched your search

+3 -2
View File
@@ -13,7 +13,8 @@
"db-nuke": "docker-compose down --volumes --remove-orphans",
"dx": "cross-env BASE_URL=http://localhost:3000 JWT_SECRET=secret DATABASE_URL=postgresql://postgres:@localhost:5450/calendso run-s db-up db-migrate db-seed dev",
"test": "jest",
"test-playwright": "jest --maxWorkers=2 --config jest.playwright.config.js && nyc report --reporter=lcov",
"test-playwright": "jest --config jest.playwright.config.js",
"test-playwright-lcov": "cross-env PLAYWRIGHT_HEADLESS=1 PLAYWRIGHT_COVERAGE=1 yarn test-playwright && nyc report --reporter=lcov",
"build": "next build",
"start": "next start",
"ts-node": "ts-node --compiler-options \"{\\\"module\\\":\\\"commonjs\\\"}\"",
@@ -113,7 +114,6 @@
"babel-jest": "^27.2.4",
"babel-plugin-istanbul": "^6.0.0",
"cross-env": "^7.0.3",
"cypress": "^8.3.0",
"eslint": "^7.32.0",
"eslint-config-prettier": "^8.3.0",
"eslint-plugin-prettier": "^3.4.0",
@@ -123,6 +123,7 @@
"jest": "^27.2.2",
"jest-playwright": "^0.0.1",
"jest-playwright-preset": "^1.7.0",
"kont": "^0.5.1",
"lint-staged": "^11.1.2",
"mockdate": "^3.0.5",
"npm-run-all": "^4.1.5",