From b75813b9bc6ae1fe6ba4936698bbc8e09bf80ec8 Mon Sep 17 00:00:00 2001 From: Paul D'Ambra Date: Thu, 12 Oct 2023 12:00:40 +0100 Subject: [PATCH] chore: update wait-on-action (#17945) --- .github/workflows/ci-e2e.yml | 5 ++++- cypress/support/e2e.ts | 2 -- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/.github/workflows/ci-e2e.yml b/.github/workflows/ci-e2e.yml index 987eacf4e237e..05162767a3d32 100644 --- a/.github/workflows/ci-e2e.yml +++ b/.github/workflows/ci-e2e.yml @@ -212,7 +212,10 @@ jobs: - name: Wait for PostHog # these are required checks so, we can't skip entire sections if: needs.changes.outputs.shouldTriggerCypress == 'true' - uses: iFaxity/wait-on-action@v1 + # this action might be abandoned - but v1 doesn't point to latest of v1 (which it should) + # so pointing to v1.1.0 to remove warnings about node version with v1 + # todo check https://github.com/iFaxity/wait-on-action/releases for new releases + uses: iFaxity/wait-on-action@v1.1.0 timeout-minutes: 3 with: verbose: true diff --git a/cypress/support/e2e.ts b/cypress/support/e2e.ts index d9c7a1b088171..02170cf711177 100644 --- a/cypress/support/e2e.ts +++ b/cypress/support/e2e.ts @@ -69,9 +69,7 @@ afterEach(function () { const event = state === 'passed' ? 'e2e_testing_test_passed' : 'e2e_testing_test_failed' if (E2E_TESTING) { - cy.log(`E2E_TESTING: ${event} ${Cypress.spec.name}`, { state, duration }) cy.window().then((win) => { - cy.log('has posthog on window', { window, posthog: (win as any).posthog }) ;(win as any).posthog?.capture(event, { state, duration }) }) }