File tree Expand file tree Collapse file tree 2 files changed +25
-1
lines changed Expand file tree Collapse file tree 2 files changed +25
-1
lines changed Original file line number Diff line number Diff line change @@ -274,6 +274,30 @@ jobs:
274274 ${{ github.workspace }}/packages/**/*.tgz
275275 ${{ github.workspace }}/packages/serverless/dist-awslambda-layer/*.zip
276276
277+ job_playwright_test :
278+ name : Playwright E2E Tests
279+ needs : job_build
280+ runs-on : ubuntu-latest
281+ steps :
282+ - name : Check out current commit (${{ github.sha }})
283+ uses : actions/checkout@v2
284+ - name : Set up Node
285+ uses : actions/setup-node@v1
286+ - name : Check dependency cache
287+ uses : actions/cache@v2
288+ with :
289+ path : ${{ env.CACHED_DEPENDENCY_PATHS }}
290+ key : ${{ needs.job_build.outputs.dependency_cache_key }}
291+ - name : Check build cache
292+ uses : actions/cache@v2
293+ with :
294+ path : ${{ env.CACHED_BUILD_PATHS }}
295+ key : ${{ env.BUILD_CACHE_KEY }}
296+ - name : Run Playwright tests
297+ run : |
298+ cd packages/browser
299+ yarn test:e2e
300+
277301 job_browserstack_test :
278302 name : BrowserStack
279303 needs : job_build
Original file line number Diff line number Diff line change 7272 "fix" : " run-s fix:eslint fix:prettier" ,
7373 "fix:prettier" : " prettier --write \" {src,test}/**/*.ts\" " ,
7474 "fix:eslint" : " eslint . --format stylish --fix" ,
75- "test" : " run-s test:unit test:e2e " ,
75+ "test" : " run-s test:unit" ,
7676 "test:unit" : " jest --config test/unit/jest.config.js" ,
7777 "test:unit:watch" : " jest --config test/unit/jest.config.js --watch" ,
7878 "test:integration" : " test/integration/run.js" ,
You can’t perform that action at this time.
0 commit comments