Skip to content

fix: accept displayProperty of both with and without display prefix [v39] #2334

fix: accept displayProperty of both with and without display prefix [v39]

fix: accept displayProperty of both with and without display prefix [v39] #2334

Workflow file for this run

name: 'dhis2: test (cypress)'
on:
push:
branches:
- master
pull_request:
env:
SERVER_START_CMD: 'yarn cypress:start'
SERVER_URL: 'http://localhost:3000'
CYPRESS_RECORD_KEY: ${{ secrets.CYPRESS_RECORD_KEY }}
REACT_APP_DHIS2_BASE_URL: ${{ secrets.CYPRESS_DHIS2_BASE_URL_39 }}
cypress_dhis2_base_url: ${{ secrets.CYPRESS_DHIS2_BASE_URL_39 }}
cypress_dhis2_username: ${{ secrets.DHIS2_USERNAME }}
cypress_dhis2_password: ${{ secrets.DHIS_PASSWORD }}
jobs:
e2e:
runs-on: ubuntu-latest
if: "!contains(github.event.head_commit.message, '[skip ci]')"
strategy:
matrix:
containers: [1, 2, 3]
steps:
- name: Checkout
uses: actions/checkout@v2
- name: Tests
uses: cypress-io/github-action@v2
with:
record: true
parallel: true
start: ${{ env.SERVER_START_CMD }}
wait-on: ${{ env.SERVER_URL }}
wait-on-timeout: 60
group: 'e2e'
env:
CI: true
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}