From f13af5dcb4c2eeccdf956d0d222eb949fd780a9f Mon Sep 17 00:00:00 2001 From: chalapkoStanislav Date: Tue, 13 Aug 2024 23:48:51 +0300 Subject: [PATCH] test fix --- .github/workflows/playwright_pre_daily.yml | 1 + .github/workflows/playwright_pre_firefox.yml | 1 + .github/workflows/playwright_pre_webkit.yml | 1 + tests/composition/composition-grid-layout.spec.js | 1 + 4 files changed, 4 insertions(+) diff --git a/.github/workflows/playwright_pre_daily.yml b/.github/workflows/playwright_pre_daily.yml index 8ca60000..7baf361e 100644 --- a/.github/workflows/playwright_pre_daily.yml +++ b/.github/workflows/playwright_pre_daily.yml @@ -22,6 +22,7 @@ jobs: env: BASE_URL: ${{ secrets.BASE_URL }} LOGIN_EMAIL: ${{ secrets.SECOND_EMAIL }} + SECOND_EMAIL: ${{ secrets.LOGIN_EMAIL }} LOGIN_PWD: ${{ secrets.LOGIN_PWD }} GITHUB_RUN_ID: ${{ github.run.id }} REFRESH_TOKEN: ${{ secrets.REFRESH_TOKEN }} diff --git a/.github/workflows/playwright_pre_firefox.yml b/.github/workflows/playwright_pre_firefox.yml index 05533ff6..41bdbcad 100644 --- a/.github/workflows/playwright_pre_firefox.yml +++ b/.github/workflows/playwright_pre_firefox.yml @@ -30,6 +30,7 @@ jobs: env: BASE_URL: ${{ secrets.BASE_URL }} LOGIN_EMAIL: ${{ secrets.SECOND_EMAIL }} + SECOND_EMAIL: ${{ secrets.LOGIN_EMAIL }} LOGIN_PWD: ${{ secrets.LOGIN_PWD }} GITHUB_RUN_ID: ${{ github.run.id }} REFRESH_TOKEN: ${{ secrets.REFRESH_TOKEN }} diff --git a/.github/workflows/playwright_pre_webkit.yml b/.github/workflows/playwright_pre_webkit.yml index df9d857c..1155c6b9 100644 --- a/.github/workflows/playwright_pre_webkit.yml +++ b/.github/workflows/playwright_pre_webkit.yml @@ -30,6 +30,7 @@ jobs: env: BASE_URL: ${{ secrets.BASE_URL }} LOGIN_EMAIL: ${{ secrets.LOGIN_EMAIL }} + SECOND_EMAIL: ${{ secrets.SECOND_EMAIL }} LOGIN_PWD: ${{ secrets.LOGIN_PWD }} GITHUB_RUN_ID: ${{ github.run.id }} REFRESH_TOKEN: ${{ secrets.REFRESH_TOKEN }} diff --git a/tests/composition/composition-grid-layout.spec.js b/tests/composition/composition-grid-layout.spec.js index 09f27f89..72896975 100644 --- a/tests/composition/composition-grid-layout.spec.js +++ b/tests/composition/composition-grid-layout.spec.js @@ -216,6 +216,7 @@ mainTest(qase(1698,'PENPOT-1698 Upload an image and add it to the table - check await mainPage.clickCreatedBoardTitleOnCanvas(); await designPanelPage.changeHeightAndWidthForLayer('700', '800'); await designPanelPage.openGridEditModeFromDesignPanel(); + await mainPage.waitForChangeIsUnsaved(); await mainPage.waitForChangeIsSaved(); await expect(mainPage.viewport).toHaveScreenshot('resized-board-with-image.png', { mask: [mainPage.guides],