Skip to content

update playwright verison #11

update playwright verison

update playwright verison #11

Workflow file for this run

name: 'End-to-end certifier'
on:
workflow_dispatch:
inputs:
environment:
description: The environment in which to run the job
default: dev
region:
description: The region in which to run the job
default: us-east-1
package:
description: The package name
job:
description: The name of the job (as defined in the deployment config)
# TEMPORARY: Remove this trigger before merging
push:
branches:
- JSUI-3538-add-e2e-certifier
jobs:
test-job:
runs-on: ubuntu--latest
steps:
- name: Deploy JSUI beta version on Netlify
run: curl --request POST https://api.netlify.com/build_hooks/${{ secrets.NETLIFY_BUILD_HOOK_ID }}
- name: Checkout repository
uses: actions/checkout@v2
- name: Install test dependencies
run: |
cd ${{ github.workspace }}/playwright
npm install
npx playwright install --with-deps
- name: Run tests
run: |
cd ${{ github.workspace }}/playwright
npx playwright test