Skip to content

Merge branch 'JSUI-3542-move-playwright-tests' into JSUI-3538-add-e2e… #6

Merge branch 'JSUI-3542-move-playwright-tests' into JSUI-3538-add-e2e…

Merge branch 'JSUI-3542-move-playwright-tests' into JSUI-3538-add-e2e… #6

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: Install test dependencies
run: |
cd playwright
npm install
npx playwright install
- name: Run tests
run: |
cd playwright
npx playwright test