Skip to content

end-to-end tests on branch #429

end-to-end tests on branch

end-to-end tests on branch #429

name: end-to-end tests on branch
on:
workflow_dispatch:
inputs:
external_ref_id:
description: 'Identifier to use for unique run detection'
required: true
type: string
client_branch:
description: 'Client branch'
required: true
default: 'master'
type: string
jobs:
run-tests:
runs-on: ubuntu-latest
strategy:
matrix:
browser: [ chrome, firefox ]
env:
CLIENT_BRANCH: ${{ github.event.inputs.client_branch }}
HOST: http://127.0.0.1:5002
ORCID_PASSWORD: ${{ secrets.ORCID_PASSWORD }}
ORCID_USER: ${{ secrets.ORCID_USER }}
steps:
- name: ${{ github.event.inputs.external_ref_id }}
run: echo
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
node-version: 16
- uses: actions/setup-python@v4
with:
python-version: 3
- run: make start_client
- uses: DevExpress/testcafe-action@v0.0.6
with:
args: >-
${{ matrix.browser }}
*/index.js
--hostname localhost
--retry-test-pages
--skip-js-errors
--selector-timeout 60000
- run: make -C periodo-client stop