From 7f25504a21a76c6e9202ee633a2ded14c41727d8 Mon Sep 17 00:00:00 2001 From: Alejandro Lembke Barrientos Date: Thu, 2 Mar 2023 08:12:41 -0600 Subject: [PATCH] PR-421183: trying to fix the pipeline of cypress. --- .github/workflows/npm-publish.yml | 2 ++ .github/workflows/npm-test.yml | 2 ++ cypress.config.ts | 2 +- 3 files changed, 5 insertions(+), 1 deletion(-) diff --git a/.github/workflows/npm-publish.yml b/.github/workflows/npm-publish.yml index a7d1018..dddc891 100644 --- a/.github/workflows/npm-publish.yml +++ b/.github/workflows/npm-publish.yml @@ -16,6 +16,8 @@ jobs: - run: npm test cypress-run: runs-on: ubuntu-latest + env: + PORT: 3000 steps: - name: Checkout uses: actions/checkout@v3 diff --git a/.github/workflows/npm-test.yml b/.github/workflows/npm-test.yml index 439a7e6..a73c260 100644 --- a/.github/workflows/npm-test.yml +++ b/.github/workflows/npm-test.yml @@ -22,6 +22,8 @@ jobs: - run: npm test cypress-run: runs-on: ubuntu-latest + env: + PORT: 3000 steps: - name: Checkout uses: actions/checkout@v3 diff --git a/cypress.config.ts b/cypress.config.ts index e923fa8..2282812 100644 --- a/cypress.config.ts +++ b/cypress.config.ts @@ -5,7 +5,7 @@ export default defineConfig({ /*setupNodeEvents(on, config) { // implement node event listeners here },*/ - baseUrl: 'http://localhost', + baseUrl: 'http://localhost:3000', specPattern: 'cypress/e2e/**/*.{js,jsx,ts,tsx}', experimentalRunAllSpecs: true, },