chore: setup playwright ui & headless

This commit is contained in:
Bart Stefanski 2023-04-21 11:27:42 +02:00
parent a862cdbe11
commit 09f71f6bcd
8 changed files with 597 additions and 23 deletions

View file

@ -11,15 +11,12 @@
"storybook": "FORCE_COLOR=1 storybook dev -p 6006",
"build-storybook": "FORCE_COLOR=1 storybook build",
"test": "FORCE_COLOR=1 jest --passWithNoTests",
"e2e:headless": "playwright test",
"e2e:ui": "playwright test --ui",
"format": "prettier --write \"**/*.{ts,tsx,md}\"",
"postinstall": "patch-package"
},
"dependencies": {
"next": "^13.1.1",
"react": "^18.2.0",
"react-dom": "^18.2.0",
"lodash": "^4.17.21",
"tailwind-merge": "^1.10.0",
"@radix-ui/react-accordion": "^1.1.1",
"@radix-ui/react-checkbox": "^1.0.3",
"@radix-ui/react-dialog": "^1.0.3",
@ -35,11 +32,18 @@
"@radix-ui/react-tabs": "^1.0.3",
"@radix-ui/react-toggle-group": "^1.0.3",
"@radix-ui/react-tooltip": "^1.0.5",
"class-variance-authority": "^0.4.0"
"class-variance-authority": "^0.4.0",
"lodash": "^4.17.21",
"next": "^13.1.1",
"react": "^18.2.0",
"react-dom": "^18.2.0",
"tailwind-merge": "^1.10.0"
},
"devDependencies": {
"@babel/core": "^7.0.0",
"@jest/globals": "^29.5.0",
"@next/bundle-analyzer": "^13.3.0",
"@playwright/test": "^1.32.3",
"@storybook/addon-essentials": "^7.0.5",
"@storybook/addon-interactions": "^7.0.5",
"@storybook/addon-links": "^7.0.5",
@ -47,33 +51,32 @@
"@storybook/nextjs": "^7.0.5",
"@storybook/react": "^7.0.5",
"@storybook/testing-library": "^0.0.14-next.2",
"@types/node": "^17.0.12",
"@types/react": "^18.0.22",
"@types/react-dom": "^18.0.7",
"eslint": "7.32.0",
"next-compose-plugins": "^2.2.1",
"storybook": "^7.0.5",
"eslint-config-next": "13.0.0",
"eslint-config-prettier": "^8.3.0",
"eslint-plugin-react": "7.31.8",
"@typescript-eslint/eslint-plugin": "^5.57.1",
"@typescript-eslint/parser": "^5.54.1",
"eslint-config-react-app": "^7.0.1",
"eslint-plugin-import": "^2.27.5",
"eslint-plugin-storybook": "^0.6.11",
"@jest/globals": "^29.5.0",
"@testing-library/jest-dom": "^5.16.5",
"@testing-library/react": "^14.0.0",
"@total-typescript/ts-reset": "^0.4.2",
"@types/node": "^17.0.12",
"@types/react": "^18.0.22",
"@types/react-dom": "^18.0.7",
"@typescript-eslint/eslint-plugin": "^5.57.1",
"@typescript-eslint/parser": "^5.54.1",
"autoprefixer": "^10.4.14",
"eslint": "7.32.0",
"eslint-config-next": "13.0.0",
"eslint-config-prettier": "^8.3.0",
"eslint-config-react-app": "^7.0.1",
"eslint-plugin-import": "^2.27.5",
"eslint-plugin-react": "7.31.8",
"eslint-plugin-storybook": "^0.6.11",
"fetch-mock": "^9.11.0",
"jest": "^29.5.0",
"jest-environment-jsdom": "^29.5.0",
"next-compose-plugins": "^2.2.1",
"patch-package": "^6.5.1",
"postcss": "^8.4.21",
"postinstall-postinstall": "^2.1.0",
"prettier": "latest",
"prettier-plugin-tailwindcss": "^0.2.7",
"storybook": "^7.0.5",
"tailwindcss": "^3.2.7",
"ts-jest": "^29.1.0",
"tsc": "^2.0.4",