matrix-art

An image gallery for Matrix
git clone git://archive.git.mtrnord.blog/MTRNord/matrix-art.git
Log | Files | Refs | README | LICENSE

commit 7c434df5a24fbdd3fe06bf1eb086b34649762ad7
parent 9f43d38e612ee091c4475041a72a4a3c666b3bd3
Author: MTRNord <mtrnord1@gmail.com>
Date:   Sat,  5 Feb 2022 19:35:28 +0100

Add debug code to playwright tests

Diffstat:
M.github/workflows/playwright.yml | 5+++--
Me2e/home.spec.ts | 1+
2 files changed, 4 insertions(+), 2 deletions(-)

diff --git a/.github/workflows/playwright.yml b/.github/workflows/playwright.yml @@ -33,7 +33,8 @@ jobs: telemetry.nextjs.org:443 location.services.mozilla.com:443 art.midnightthoughts.space:443 - matrix.art.midnightthoughts.space:443" + matrix.art.midnightthoughts.space:443 + localhost:80" - uses: actions/checkout@629c2de402a417ea7690ca6ce3f33229e27606a5 # v2 with: persist-credentials: false @@ -49,7 +50,7 @@ jobs: - name: Install Playwright run: npx playwright install --with-deps && npx playwright install msedge - name: Run Playwright tests - run: npx playwright test + run: node --version && npx playwright --version && npx playwright test - uses: actions/upload-artifact@82c141cc518b40d92cc801eee768e7aafc9c2fa2 # v2 if: always() with: diff --git a/e2e/home.spec.ts b/e2e/home.spec.ts @@ -5,6 +5,7 @@ test.use({ }); test('test navigation to details', async ({ page, baseURL }) => { + console.log(baseURL); page.on('console', msg => console.log(msg.text())); // Go to http://localhost:3000/