diff --git a/pages/workspace/main-page.js b/pages/workspace/main-page.js index 5f3464a2..e5283264 100644 --- a/pages/workspace/main-page.js +++ b/pages/workspace/main-page.js @@ -280,6 +280,10 @@ exports.MainPage = class MainPage extends BasePage { await expect(this.createdLayer).toBeVisible(); } + async isCopyLayerVisible() { + await expect(this.copyLayer).toBeVisible(); + } + async doubleClickCreatedBoardTitleOnCanvas() { await this.createdBoardTitle.dblclick(); } diff --git a/tests/components/main-components/component-grid-layout.spec.js b/tests/components/main-components/component-grid-layout.spec.js index 8d788605..ce7dca2f 100644 --- a/tests/components/main-components/component-grid-layout.spec.js +++ b/tests/components/main-components/component-grid-layout.spec.js @@ -168,8 +168,8 @@ mainTest.describe(() => { await mainPage.showMainComponentViaRightClick(); const newPage = await popupPromise; const newMainPage = new MainPage(newPage); - await newMainPage.isCreatedLayerVisible(); await newMainPage.waitForViewportVisible(); + await newMainPage.isCopyLayerVisible(); await expect(newPage).toHaveScreenshot('board-component-on-first-file.png', { mask: [newMainPage.usersSection], }); diff --git a/tests/components/main-components/context-menu-options.spec.js-snapshots/win32/chrome/component-new-name-canvas.png b/tests/components/main-components/context-menu-options.spec.js-snapshots/win32/chrome/component-new-name-canvas.png index 8761f8c7..4c8d26b8 100644 Binary files a/tests/components/main-components/context-menu-options.spec.js-snapshots/win32/chrome/component-new-name-canvas.png and b/tests/components/main-components/context-menu-options.spec.js-snapshots/win32/chrome/component-new-name-canvas.png differ diff --git a/tests/components/main-components/context-menu-options.spec.js-snapshots/win32/firefox/component-new-name-canvas.png b/tests/components/main-components/context-menu-options.spec.js-snapshots/win32/firefox/component-new-name-canvas.png index faa8b032..fa1de54f 100644 Binary files a/tests/components/main-components/context-menu-options.spec.js-snapshots/win32/firefox/component-new-name-canvas.png and b/tests/components/main-components/context-menu-options.spec.js-snapshots/win32/firefox/component-new-name-canvas.png differ diff --git a/tests/components/main-components/update-main-components.spec.js b/tests/components/main-components/update-main-components.spec.js index f6f5ea27..2b715aec 100644 --- a/tests/components/main-components/update-main-components.spec.js +++ b/tests/components/main-components/update-main-components.spec.js @@ -191,7 +191,7 @@ mainTest.describe(() => { await mainPage.refreshPage(); await mainPage.waitForViewportVisible(); await expect(mainPage.viewport).toHaveScreenshot('main-copies-component-shadow-updated.png', { - mask: [mainPage.guides, mainPage.guidesFragment], + mask: [mainPage.guides, mainPage.guidesFragment, mainPage.toolBarWindow], maxDiffPixels: 0, }); }, diff --git a/tests/components/main-components/update-main-components.spec.js-snapshots/win32/chrome/main-copies-component-shadow-updated.png b/tests/components/main-components/update-main-components.spec.js-snapshots/win32/chrome/main-copies-component-shadow-updated.png index 946c1956..570d9b41 100644 Binary files a/tests/components/main-components/update-main-components.spec.js-snapshots/win32/chrome/main-copies-component-shadow-updated.png and b/tests/components/main-components/update-main-components.spec.js-snapshots/win32/chrome/main-copies-component-shadow-updated.png differ diff --git a/tests/components/main-components/update-main-components.spec.js-snapshots/win32/firefox/main-copies-component-shadow-updated.png b/tests/components/main-components/update-main-components.spec.js-snapshots/win32/firefox/main-copies-component-shadow-updated.png index f9642e02..dc3df434 100644 Binary files a/tests/components/main-components/update-main-components.spec.js-snapshots/win32/firefox/main-copies-component-shadow-updated.png and b/tests/components/main-components/update-main-components.spec.js-snapshots/win32/firefox/main-copies-component-shadow-updated.png differ diff --git a/tests/composition/composition-text.spec.js-snapshots/win32/firefox/inspect-text-block-color.png b/tests/composition/composition-text.spec.js-snapshots/win32/firefox/inspect-text-block-color.png index 411f62aa..e27949d3 100644 Binary files a/tests/composition/composition-text.spec.js-snapshots/win32/firefox/inspect-text-block-color.png and b/tests/composition/composition-text.spec.js-snapshots/win32/firefox/inspect-text-block-color.png differ diff --git a/tests/dashboard/dashboard-teams.spec.js-snapshots/win32/firefox/request-access-dialog-image.png b/tests/dashboard/dashboard-teams.spec.js-snapshots/win32/firefox/request-access-dialog-image.png index e5c35caf..2fe7b995 100644 Binary files a/tests/dashboard/dashboard-teams.spec.js-snapshots/win32/firefox/request-access-dialog-image.png and b/tests/dashboard/dashboard-teams.spec.js-snapshots/win32/firefox/request-access-dialog-image.png differ diff --git a/tests/panels-features/panels-features-pages.spec.js-snapshots/win32/firefox/hidden-pages.png b/tests/panels-features/panels-features-pages.spec.js-snapshots/win32/firefox/hidden-pages.png index 86208d11..e2dde5a0 100644 Binary files a/tests/panels-features/panels-features-pages.spec.js-snapshots/win32/firefox/hidden-pages.png and b/tests/panels-features/panels-features-pages.spec.js-snapshots/win32/firefox/hidden-pages.png differ diff --git a/tests/ui-theme/ui-theme-features-light-mode.spec.js-snapshots/win32/chrome/dashboard-image.png b/tests/ui-theme/ui-theme-features-light-mode.spec.js-snapshots/win32/chrome/dashboard-image.png index c63fd1ae..35806644 100644 Binary files a/tests/ui-theme/ui-theme-features-light-mode.spec.js-snapshots/win32/chrome/dashboard-image.png and b/tests/ui-theme/ui-theme-features-light-mode.spec.js-snapshots/win32/chrome/dashboard-image.png differ diff --git a/tests/ui-theme/ui-theme-features-light-mode.spec.js-snapshots/win32/firefox/dashboard-image.png b/tests/ui-theme/ui-theme-features-light-mode.spec.js-snapshots/win32/firefox/dashboard-image.png index d491d475..a42aff83 100644 Binary files a/tests/ui-theme/ui-theme-features-light-mode.spec.js-snapshots/win32/firefox/dashboard-image.png and b/tests/ui-theme/ui-theme-features-light-mode.spec.js-snapshots/win32/firefox/dashboard-image.png differ diff --git a/tests/view-mode.spec.js-snapshots/win32/firefox/shared-error-image.png b/tests/view-mode.spec.js-snapshots/win32/firefox/shared-error-image.png index ed4055bf..bb6af57c 100644 Binary files a/tests/view-mode.spec.js-snapshots/win32/firefox/shared-error-image.png and b/tests/view-mode.spec.js-snapshots/win32/firefox/shared-error-image.png differ