[Github CI][m]: Update cypress test cmd in CI

This commit is contained in:
Rising Odegua 2021-03-08 10:33:48 +01:00
parent 95a4227162
commit 6aec97a728
2 changed files with 16 additions and 18 deletions

View File

@ -1,4 +1,4 @@
name: Jest-Tests
name: Portal-Catalog-Tests
on: push
jobs:
build:
@ -13,3 +13,18 @@ jobs:
run: |
cd examples/catalog
yarn test -u
cypress-run:
runs-on: ubuntu-16.04
steps:
- name: Checkout
uses: actions/checkout@v1
- name: Cypress run
uses: cypress-io/github-action@v2
with:
working-directory: examples/catalog
browser: chrome
build: yarn run build
start: yarn start
wait-on: "http://localhost:3000"

View File

@ -1,17 +0,0 @@
name: Cypress Integration Tests
on: [push]
jobs:
cypress-run:
runs-on: ubuntu-16.04
steps:
- name: Checkout
uses: actions/checkout@v1
- name: Cypress run
uses: cypress-io/github-action@v2
with:
working-directory: packages/portal
browser: chrome
build: yarn run build
start: yarn start
wait-on: "http://localhost:3000"