diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index 111eb914b0..9470210480 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -43,7 +43,7 @@ jobs: - name: Install Playwright Browsers run: npx playwright install --with-deps - name: E2E Tests - run: yarn test:e2e:all --bail + run: yarn test:e2e --bail # - uses: actions/upload-artifact@v2 # if: always() diff --git a/package.json b/package.json index d03ab1ce6f..3baf0ca6bc 100644 --- a/package.json +++ b/package.json @@ -35,10 +35,9 @@ "dev": "nodemon", "dev:generate-types": "node ./test/generateTypes.js", "pretest": "yarn build", - "test": "yarn test:int && yarn test:components", + "test": "yarn test:int && yarn test:components && yarn test:e2e", "test:int": "cross-env DISABLE_LOGGING=true jest --forceExit --detectOpenHandles", - "test:e2e": "cross-env DISABLE_LOGGING=true playwright test", - "test:e2e:all": "ts-node -T ./test/runE2E.ts", + "test:e2e": "ts-node -T ./test/runE2E.ts", "test:e2e:headed": "cross-env DISABLE_LOGGING=true playwright test --headed", "test:e2e:debug": "cross-env PWDEBUG=1 DISABLE_LOGGING=true playwright test", "test:components": "cross-env jest --config=jest.components.config.js",