Skip to content

Commit

Permalink
Merge pull request #2552 from christianvogt/playwright-ci
Browse files Browse the repository at this point in the history
stop running playwright tests
  • Loading branch information
openshift-merge-bot[bot] authored Mar 1, 2024
2 parents 689eab8 + b7afabe commit 64ced15
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 12 deletions.
3 changes: 0 additions & 3 deletions .github/workflows/pull_request.yml
Original file line number Diff line number Diff line change
Expand Up @@ -42,9 +42,6 @@ jobs:
- name: Install Node.js packages
if: ${{ steps.repo-cache.outputs.cache-hit != 'true' || steps.backend-cache.outputs.cache-hit != 'true' || steps.frontend-cache.outputs.cache-hit != 'true' }}
run: npm install
- name: Install Playwright Browsers
working-directory: ./frontend
run: npx playwright install --with-deps
- name: Check for uncomitted changes
run: |
git diff --exit-code
Expand Down
7 changes: 1 addition & 6 deletions frontend/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -27,18 +27,13 @@
"format": "prettier --write \"./**/*.ts\" \"./**/*.tsx\" \"./**/*.scss\"",
"lint:goal": "eslint --config ./.eslintrc.goal.js --ext .json,.js,.ts,.jsx,.tsx ./src ",
"start:dev": "webpack serve --hot --color --config ./config/webpack.dev.js",
"test": "run-s test:lint test:type-check test:unit test:integration-ci test:cypress-ci",
"test:dev": "run-s test:lint test:unit test:accessibility test:integration",
"test": "run-s test:lint test:type-check test:unit test:cypress-ci",
"test:fix": "eslint --ext .js,.ts,.jsx,.tsx ./src --fix",
"test:lint": "eslint --max-warnings 0 --ext .js,.ts,.jsx,.tsx ./src",
"test:type-check": "tsc --noEmit",
"test:jest": "jest",
"test:unit": "npm run test:jest",
"test:accessibility": "test-storybook --verbose",
"test:cypress-ci": "npx concurrently -k -s first \"npm run cypress:server:build && npm run cypress:server\" \"npx wait-on tcp:127.0.0.1:9001 && npm run cypress:run:mock\"",
"test:integration": "playwright test ./src/__tests__/integration",
"test:integration-ci": "npx concurrently -k -s first -n \"SB,TEST\" \"npm run build:storybook --quiet && npx http-server storybook-static --port 6006 --silent\" \"npx wait-on tcp:127.0.0.1:6006 && npm run test:accessibility && npm run test:integration\"",
"test:e2e": "export E2E=1; playwright test ./src/__tests__/e2e",
"storybook": "storybook dev -p 6006 -s ../config",
"cypress:open": "cypress open --project src/__tests__/cypress",
"cypress:run": "cypress run -b chrome --project src/__tests__/cypress",
Expand Down
3 changes: 0 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -39,9 +39,6 @@
"test": "run-s test:backend test:frontend",
"test:backend": "cd ./backend && npm run test",
"test:frontend": "cd ./frontend && npm run test",
"test:e2e": "cd ./frontend && npm run test:e2e",
"test:accessibility": "cd ./frontend && npm run test:accessibility",
"test:integration": "cd ./frontend && npm run test:integration",
"test:unit": "cd ./frontend && npm run test:unit",
"test:fix": "run-s test:fix-backend test:fix-frontend",
"test:fix-backend": "cd ./backend && npm run test:fix",
Expand Down

0 comments on commit 64ced15

Please sign in to comment.