From 4080cd2942c2f7d2abdbedb196c99f67be0813e3 Mon Sep 17 00:00:00 2001 From: Steve Persch Date: Wed, 20 Dec 2023 16:54:05 -0600 Subject: [PATCH] comment out polling --- .github/workflows/playwright.yml | 21 ++++++++++----------- 1 file changed, 10 insertions(+), 11 deletions(-) diff --git a/.github/workflows/playwright.yml b/.github/workflows/playwright.yml index baeb669c80..c004ce2511 100644 --- a/.github/workflows/playwright.yml +++ b/.github/workflows/playwright.yml @@ -31,16 +31,16 @@ jobs: - name: Check githead run: curl https://pr-${GITHUB_PR_NUMBER}-documentation.appa.pantheon.site/githead.txt - - - uses: artiz/poll-endpoint@1.0.2 - with: - url: https://pr-${{ github.event.number }}-documentation.appa.pantheon.site/githead-${{ github.event.pull_request.head.sha }}.txt - method: GET - expectStatus: 200 - expectBody: ${{ github.event.pull_request.head.sha }} - #expectBodyRegex: "git commit" - timeout: 600000 - interval: 5000 + # @todo, this is a hack to get the githead from the build process. + # - uses: artiz/poll-endpoint@1.0.2 + # with: + # url: https://pr-${{ github.event.number }}-documentation.appa.pantheon.site/githead-${{ github.event.pull_request.head.sha }}.txt + # method: GET + # expectStatus: 200 + # expectBody: ${{ github.event.pull_request.head.sha }} + # #expectBodyRegex: "git commit" + # timeout: 600000 + # interval: 5000 - name: Install dependencies run: npm ci @@ -50,7 +50,6 @@ jobs: - name: Run Playwright tests run: npx playwright test - uses: actions/upload-artifact@v3 - # @todo, figure out how to record video of tests executing. if: always() with: name: playwright-report