Skip to content

Wait for categories button before using it #179

Wait for categories button before using it

Wait for categories button before using it #179

name: E2E and JS tests
on: push
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
jobs:
test:
runs-on: ubuntu-latest
continue-on-error: false
strategy:
fail-fast: true
steps:
- name: Checkout code
uses: actions/checkout@master
- name: Set up NodeJS 14.x
uses: actions/setup-node@v2
with:
node-version: '14'
- name: Build Edit Flow
run: |
npm ci
npm run build
- name: Install WordPress with wp-env
run: npm run wp-env start
- name: Run Lint JS
run: npm run lint-js
- name: Run JS tests (Jest)
run: npm run test-jest
- name: Run E2E tests (1/5)
run: npm run test-e2e
- name: Run E2E tests (2/5)
run: npm run test-e2e
- name: Run E2E tests (3/5)
run: npm run test-e2e
- name: Run E2E tests (4/5)
run: npm run test-e2e
- name: Run E2E tests (5/5)
run: npm run test-e2e