From f27cb45a7f190af60a4a3bfbabca3550251e867a Mon Sep 17 00:00:00 2001 From: Alejandro Lembke Barrientos Date: Tue, 7 Mar 2023 12:32:20 -0600 Subject: [PATCH] PR-579798: trying to fix Cypress component testing. --- .github/workflows/npm-publish.yml | 5 +++-- .github/workflows/npm-test.yml | 5 +++-- 2 files changed, 6 insertions(+), 4 deletions(-) diff --git a/.github/workflows/npm-publish.yml b/.github/workflows/npm-publish.yml index f9acc46..f920dd4 100644 --- a/.github/workflows/npm-publish.yml +++ b/.github/workflows/npm-publish.yml @@ -38,8 +38,9 @@ jobs: - name: Cypress run uses: cypress-io/github-action@v5 # use the explicit version number with: - runTests: false - start: npm run cy:run-component + component: true + # quote the url to be safe against YML parsing surprises + wait-on: 'http://localhost:8080' publish-npm: needs: [ test, cypress-run, cypress-run-component ] runs-on: ubuntu-latest diff --git a/.github/workflows/npm-test.yml b/.github/workflows/npm-test.yml index 62ee573..91cc501 100644 --- a/.github/workflows/npm-test.yml +++ b/.github/workflows/npm-test.yml @@ -44,8 +44,9 @@ jobs: - name: Cypress run uses: cypress-io/github-action@v5 # use the explicit version number with: - runTests: false - start: npm run cy:run-component + component: true + # quote the url to be safe against YML parsing surprises + wait-on: 'http://localhost:8080' test-build-package: needs: [ test, cypress-run, cypress-run-component ] runs-on: ubuntu-latest