chore: reworking tests to use he cypress github-action instead

This commit is contained in:
blam
2021-02-04 20:57:01 +01:00
parent a4963ec785
commit 83ba509d22
2 changed files with 9 additions and 4 deletions
+8 -4
View File
@@ -110,11 +110,15 @@ jobs:
console.log(result);
return result.data.environment_url;
- name: echo tugboat preview url
- name: Cypress run
uses: cypress-io/github-action@v2
env:
BACKSTAGE_TEST_URL: ${{steps.get-status-env.outputs.result}}
run: yarn e2e-test cypress
CYPRESS_baseUrl: ${{steps.get-status-env.outputs.result}}
with:
config-file: ./packages/e2e-test/src/cypress.json
browser: chrome
headless: true
- name: set status
if: ${{ failure() }}
uses: actions/github-script@v3