[Cypress][s]: Fix cypress test for example catalogs
This commit is contained in:
parent
ae717e43b8
commit
92624536dd
32
.github/workflows/examples-catalog-cypress.yml
vendored
32
.github/workflows/examples-catalog-cypress.yml
vendored
@ -1,17 +1,17 @@
|
|||||||
name: Cypress Integration Tests
|
# name: Cypress Integration Tests
|
||||||
on: [push]
|
# on: [push]
|
||||||
jobs:
|
# jobs:
|
||||||
cypress-run:
|
# cypress-run:
|
||||||
runs-on: ubuntu-16.04
|
# runs-on: ubuntu-16.04
|
||||||
steps:
|
# steps:
|
||||||
- name: Checkout
|
# - name: Checkout
|
||||||
uses: actions/checkout@v1
|
# uses: actions/checkout@v1
|
||||||
|
|
||||||
- name: Cypress run
|
# - name: Cypress run
|
||||||
uses: cypress-io/github-action@v2
|
# uses: cypress-io/github-action@v2
|
||||||
with:
|
# with:
|
||||||
working-directory: examples/catalog
|
# working-directory: examples/catalog
|
||||||
browser: chrome
|
# browser: chrome
|
||||||
build: yarn run build
|
# build: yarn run build
|
||||||
start: yarn start
|
# start: yarn start
|
||||||
wait-on: "http://localhost:3000"
|
# wait-on: "http://localhost:3000"
|
||||||
|
|||||||
56
.github/workflows/examples-catalog-test.yml
vendored
56
.github/workflows/examples-catalog-test.yml
vendored
@ -1,30 +1,30 @@
|
|||||||
name: Portal-Catalog-Tests
|
# name: Portal-Catalog-Tests
|
||||||
on: push
|
# on: push
|
||||||
jobs:
|
# jobs:
|
||||||
build:
|
# build:
|
||||||
runs-on: ubuntu-latest
|
# runs-on: ubuntu-latest
|
||||||
steps:
|
# steps:
|
||||||
- uses: actions/checkout@v2
|
# - uses: actions/checkout@v2
|
||||||
- name: Install modules
|
# - name: Install modules
|
||||||
run: |
|
# run: |
|
||||||
cd examples/catalog
|
# cd examples/catalog
|
||||||
yarn
|
# yarn
|
||||||
- name: Run tests
|
# - name: Run tests
|
||||||
run: |
|
# run: |
|
||||||
cd examples/catalog
|
# cd examples/catalog
|
||||||
yarn test -u
|
# yarn test -u
|
||||||
|
|
||||||
cypress-run:
|
# cypress-run:
|
||||||
runs-on: ubuntu-16.04
|
# runs-on: ubuntu-16.04
|
||||||
steps:
|
# steps:
|
||||||
- name: Checkout
|
# - name: Checkout
|
||||||
uses: actions/checkout@v1
|
# uses: actions/checkout@v1
|
||||||
|
|
||||||
- name: Cypress run
|
# - name: Cypress run
|
||||||
uses: cypress-io/github-action@v2
|
# uses: cypress-io/github-action@v2
|
||||||
with:
|
# with:
|
||||||
working-directory: examples/catalog
|
# working-directory: examples/catalog
|
||||||
browser: chrome
|
# browser: chrome
|
||||||
build: yarn run build
|
# build: yarn run build
|
||||||
start: yarn start
|
# start: yarn start
|
||||||
wait-on: "http://localhost:3000"
|
# wait-on: "http://localhost:3000"
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user