From 0797860e9df71cc1d1943dc742aabceb5dc33025 Mon Sep 17 00:00:00 2001 From: Nikita Barsukov Date: Wed, 26 Jul 2023 15:46:18 +0300 Subject: [PATCH] chore: debug commit 3 --- .github/workflows/e2e.yml | 1 + projects/demo-playwright/tests/example.spec.ts | 3 +-- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/e2e.yml b/.github/workflows/e2e.yml index 1dbf5e0643df6..2de60443d4ad9 100644 --- a/.github/workflows/e2e.yml +++ b/.github/workflows/e2e.yml @@ -122,6 +122,7 @@ jobs: run: npx nx serve-compiled demo --path ${{ env.DIST }} --port ${{ env.NG_SERVER_PORT }} - name: Run screenshot tests on ${{ env.DIST }} + continue-on-error: true run: npx nx e2e demo-playwright - name: Clean up resources diff --git a/projects/demo-playwright/tests/example.spec.ts b/projects/demo-playwright/tests/example.spec.ts index f7f8816f2f4b1..342935588c9c2 100644 --- a/projects/demo-playwright/tests/example.spec.ts +++ b/projects/demo-playwright/tests/example.spec.ts @@ -9,9 +9,8 @@ test(`has title`, async ({page}) => { test(`debug screenshot`, async ({page}) => { await page.goto(`/components/mobile-calendar`); - await page.locator(`tui-mobile-calendar-example-1 button`).click(); - await expect(page.locator(`tui-dialog tui-mobile-calendar`)).toHaveScreenshot( + await expect(page.locator(`tui-mobile-calendar-example-1`)).toHaveScreenshot( `test-playwright-screenshot.png`, ); });