diff --git a/fixtures.js b/fixtures.js index 70ff122..c21e050 100644 --- a/fixtures.js +++ b/fixtures.js @@ -10,6 +10,7 @@ const mainTest = base.test.extend({ await loginPage.enterPwd(process.env.LOGIN_PWD); await loginPage.clickLoginButton(); const dashboardPage = new DashboardPage(page); + await dashboardPage.isDashboardOpened(); await dashboardPage.isHeaderDisplayed("Projects"); await dashboardPage.deleteProjectsIfExist(); await dashboardPage.deleteFilesIfExist(); @@ -26,7 +27,7 @@ const dashboardTest = base.test.extend({ await loginPage.enterPwd(process.env.LOGIN_PWD); await loginPage.clickLoginButton(); const dashboardPage = new DashboardPage(page); - await dashboardPage.waitForPageLoaded(); + await dashboardPage.isDashboardOpened(); await dashboardPage.isHeaderDisplayed("Projects"); await dashboardPage.deleteProjectsIfExist(); await dashboardPage.deleteFilesIfExist(); diff --git a/package-lock.json b/package-lock.json index 51701af..66100a1 100644 --- a/package-lock.json +++ b/package-lock.json @@ -12,24 +12,24 @@ "prettier": "^2.7.1" }, "devDependencies": { - "@playwright/test": "^1.34.3", + "@playwright/test": "^1.35.1", "dotenv": "^16.0.3" } }, "node_modules/@playwright/test": { - "version": "1.34.3", - "resolved": "https://registry.npmjs.org/@playwright/test/-/test-1.34.3.tgz", - "integrity": "sha512-zPLef6w9P6T/iT6XDYG3mvGOqOyb6eHaV9XtkunYs0+OzxBtrPAAaHotc0X+PJ00WPPnLfFBTl7mf45Mn8DBmw==", + "version": "1.35.1", + "resolved": "https://registry.npmjs.org/@playwright/test/-/test-1.35.1.tgz", + "integrity": "sha512-b5YoFe6J9exsMYg0pQAobNDR85T1nLumUYgUTtKm4d21iX2L7WqKq9dW8NGJ+2vX0etZd+Y7UeuqsxDXm9+5ZA==", "dev": true, "dependencies": { "@types/node": "*", - "playwright-core": "1.34.3" + "playwright-core": "1.35.1" }, "bin": { "playwright": "cli.js" }, "engines": { - "node": ">=14" + "node": ">=16" }, "optionalDependencies": { "fsevents": "2.3.2" @@ -65,15 +65,15 @@ } }, "node_modules/playwright-core": { - "version": "1.34.3", - "resolved": "https://registry.npmjs.org/playwright-core/-/playwright-core-1.34.3.tgz", - "integrity": "sha512-2pWd6G7OHKemc5x1r1rp8aQcpvDh7goMBZlJv6Co5vCNLVcQJdhxRL09SGaY6HcyHH9aT4tiynZabMofVasBYw==", + "version": "1.35.1", + "resolved": "https://registry.npmjs.org/playwright-core/-/playwright-core-1.35.1.tgz", + "integrity": "sha512-pNXb6CQ7OqmGDRspEjlxE49w+4YtR6a3X6mT1hZXeJHWmsEz7SunmvZeiG/+y1yyMZdHnnn73WKYdtV1er0Xyg==", "dev": true, "bin": { "playwright-core": "cli.js" }, "engines": { - "node": ">=14" + "node": ">=16" } }, "node_modules/prettier": { @@ -93,14 +93,14 @@ }, "dependencies": { "@playwright/test": { - "version": "1.34.3", - "resolved": "https://registry.npmjs.org/@playwright/test/-/test-1.34.3.tgz", - "integrity": "sha512-zPLef6w9P6T/iT6XDYG3mvGOqOyb6eHaV9XtkunYs0+OzxBtrPAAaHotc0X+PJ00WPPnLfFBTl7mf45Mn8DBmw==", + "version": "1.35.1", + "resolved": "https://registry.npmjs.org/@playwright/test/-/test-1.35.1.tgz", + "integrity": "sha512-b5YoFe6J9exsMYg0pQAobNDR85T1nLumUYgUTtKm4d21iX2L7WqKq9dW8NGJ+2vX0etZd+Y7UeuqsxDXm9+5ZA==", "dev": true, "requires": { "@types/node": "*", "fsevents": "2.3.2", - "playwright-core": "1.34.3" + "playwright-core": "1.35.1" } }, "@types/node": { @@ -123,9 +123,9 @@ "optional": true }, "playwright-core": { - "version": "1.34.3", - "resolved": "https://registry.npmjs.org/playwright-core/-/playwright-core-1.34.3.tgz", - "integrity": "sha512-2pWd6G7OHKemc5x1r1rp8aQcpvDh7goMBZlJv6Co5vCNLVcQJdhxRL09SGaY6HcyHH9aT4tiynZabMofVasBYw==", + "version": "1.35.1", + "resolved": "https://registry.npmjs.org/playwright-core/-/playwright-core-1.35.1.tgz", + "integrity": "sha512-pNXb6CQ7OqmGDRspEjlxE49w+4YtR6a3X6mT1hZXeJHWmsEz7SunmvZeiG/+y1yyMZdHnnn73WKYdtV1er0Xyg==", "dev": true }, "prettier": { diff --git a/package.json b/package.json index 4215a93..7a9847a 100644 --- a/package.json +++ b/package.json @@ -23,7 +23,7 @@ }, "homepage": "https://github.com/penpot/penpotqa#readme", "devDependencies": { - "@playwright/test": "^1.34.3", + "@playwright/test": "^1.35.1", "dotenv": "^16.0.3" }, "dependencies": { diff --git a/pages/dashboard-page.js b/pages/dashboard-page.js index 3dbc746..74a52a6 100644 --- a/pages/dashboard-page.js +++ b/pages/dashboard-page.js @@ -16,14 +16,14 @@ exports.DashboardPage = class DashboardPage extends BasePage { ); this.fileTile = page.locator('div[class="grid-item-th"]'); this.secondFileTile = page.locator('div[class="grid-item-th"] >>nth=1'); - this.fileInfoPanel = page.locator('div[class="item-info"]'); + this.fileInfoPanel = page.locator('div[class="dashboard-grid"] div[class="grid-item-th"]'); this.fileNameTitle = page.locator('div[class="item-info"] h3'); this.deleteFileMenuItem = page.locator('a[data-test="file-delete"]'); this.deleteFileButton = page.locator( 'input[value="Delete files"],input[value="Delete file"]' ); this.createFileButtonPlaceholder = page.locator( - 'button[class="create-new"]' + 'div[class="dashboard-grid"] button[class="create-new"]' ); this.createFileButtonTitlePanel = page.locator( '*[data-test="project-new-file"]' @@ -184,7 +184,10 @@ exports.DashboardPage = class DashboardPage extends BasePage { '//*[text()="Libraries & Templates"]//parent::button' ); this.librariesAndTemplatesSection = page.locator( - 'div[class^="dashboard-templates-section "]' + 'div[class^="dashboard-templates-section"]' + ); + this.librariesAndTemplatesSectionCollapsed = page.locator( + 'div[class="dashboard-templates-section collapsed"]' ); this.librariesAndTemplatesSectionLeftArrowButton = page.locator( 'button[class="button left"]' @@ -234,6 +237,7 @@ exports.DashboardPage = class DashboardPage extends BasePage { } async deleteFilesIfExist() { + await expect(this.numberOfFilesText).toBeVisible(); const text = (await this.numberOfFilesText.innerText()).valueOf(); if (!text.includes("0 files")) { await this.deleteFiles(); @@ -253,28 +257,26 @@ exports.DashboardPage = class DashboardPage extends BasePage { await this.deleteProjectButton.click(); } - async deleteProjects() { - for (const el of await this.projectNameTitle.elementHandles()) { - const text = (await el.innerText()).valueOf(); - if (!text.includes("Drafts")) { - await el.click({ button: "right" }); + async deleteProjectsIfExist() { + for (const project of await this.projectNameTitle.elementHandles()) { + const name = (await project.innerText()).valueOf(); + if (!name.includes("Drafts")) { + await project.click({ button: "right" }); await this.deleteProjectMenuItem.click(); await this.deleteProjectButton.click(); } } } - async deleteProjectsIfExist() { - const text = (await this.projectNameTitle.first().innerText()).valueOf(); - if (!text.includes("Drafts")) { - await this.deleteProjects(); - } - } - async waitForPageLoaded() { await this.page.waitForLoadState("networkidle"); } + async isDashboardOpened() { + await expect(this.page).toHaveURL(/.*dashboard/); + await expect(this.page).toHaveTitle(/.*Projects - Your Penpot/); + } + async checkNumberOfFiles(numberOfFiles) { await this.waitForPageLoaded(); await expect(this.numberOfFilesText.first()).toHaveText(numberOfFiles); @@ -678,7 +680,7 @@ exports.DashboardPage = class DashboardPage extends BasePage { } async clickLibrariesAndTemplatesCarouselButton() { - await this.librariesAndTemplatesCarouselButton.dispatchEvent('click'); + await this.librariesAndTemplatesCarouselButton.click(); } async isLibrariesAndTemplatesSectionDisplayed() { @@ -686,7 +688,7 @@ exports.DashboardPage = class DashboardPage extends BasePage { } async isLibrariesAndTemplatesSectionNotDisplayed() { - await expect(this.librariesAndTemplatesSection).not.toBeVisible(); + await expect(this.librariesAndTemplatesSectionCollapsed).toBeVisible(); } async minimizeLibrariesAndTemplatesCarouselIfExpanded() { diff --git a/pages/main-page.js b/pages/main-page.js index 92b94e3..c391053 100644 --- a/pages/main-page.js +++ b/pages/main-page.js @@ -63,10 +63,10 @@ exports.MainPage = class MainPage extends BasePage { this.layersTab = page.locator('div[data-id=":layers"]'); this.layersPanel = page.locator('div[class="layers-tab"]'); this.createdLayerOnLayersPanelNameInput = page.locator( - 'div[class^="element-list-body"] span[class="element-name"]' + 'div[class^="element-list-body"] input[class="element-name"]' ); this.createdLayerOnLayersPanelNameText = page.locator( - 'span[class="element-name"]' + 'div[class^="element-list-body"] span[class="element-name"]' ); this.searchLayersIcon = page.locator('svg[class="icon-search"]'); this.searchLayersInput = page.locator('input[placeholder="Search layers"]'); diff --git a/playwright.config.js b/playwright.config.js index 8973860..e9184dd 100644 --- a/playwright.config.js +++ b/playwright.config.js @@ -63,6 +63,11 @@ const config = { }, { name: "firefox", + expect: { + toHaveScreenshot: { + maxDiffPixelRatio: 0.01 + } + }, use: { browserName: "firefox", viewport: { @@ -73,6 +78,11 @@ const config = { }, { name: "webkit", + expect: { + toHaveScreenshot: { + maxDiffPixelRatio: 0.01 + } + }, use: { browserName: "webkit", viewport: { diff --git a/tests/assets/assets-colors.spec.js-snapshots/firefox/colors-add-color.png b/tests/assets/assets-colors.spec.js-snapshots/firefox/colors-add-color.png index 878aead..e1aa347 100644 Binary files a/tests/assets/assets-colors.spec.js-snapshots/firefox/colors-add-color.png and b/tests/assets/assets-colors.spec.js-snapshots/firefox/colors-add-color.png differ diff --git a/tests/assets/assets-colors.spec.js-snapshots/firefox/colors-edit-color.png b/tests/assets/assets-colors.spec.js-snapshots/firefox/colors-edit-color.png index 6a7113f..641e756 100644 Binary files a/tests/assets/assets-colors.spec.js-snapshots/firefox/colors-edit-color.png and b/tests/assets/assets-colors.spec.js-snapshots/firefox/colors-edit-color.png differ diff --git a/tests/assets/assets-colors.spec.js-snapshots/firefox/colors-rename-color.png b/tests/assets/assets-colors.spec.js-snapshots/firefox/colors-rename-color.png index c7e7156..a5178c4 100644 Binary files a/tests/assets/assets-colors.spec.js-snapshots/firefox/colors-rename-color.png and b/tests/assets/assets-colors.spec.js-snapshots/firefox/colors-rename-color.png differ diff --git a/tests/assets/assets-colors.spec.js-snapshots/firefox/group-colors-renamed.png b/tests/assets/assets-colors.spec.js-snapshots/firefox/group-colors-renamed.png index 4ae5e6c..858522d 100644 Binary files a/tests/assets/assets-colors.spec.js-snapshots/firefox/group-colors-renamed.png and b/tests/assets/assets-colors.spec.js-snapshots/firefox/group-colors-renamed.png differ diff --git a/tests/assets/assets-colors.spec.js-snapshots/firefox/group-colors.png b/tests/assets/assets-colors.spec.js-snapshots/firefox/group-colors.png index 0c270b3..c4f5f25 100644 Binary files a/tests/assets/assets-colors.spec.js-snapshots/firefox/group-colors.png and b/tests/assets/assets-colors.spec.js-snapshots/firefox/group-colors.png differ diff --git a/tests/assets/assets-colors.spec.js-snapshots/webkit/colors-add-color.png b/tests/assets/assets-colors.spec.js-snapshots/webkit/colors-add-color.png index 9209df5..d2c3a8f 100644 Binary files a/tests/assets/assets-colors.spec.js-snapshots/webkit/colors-add-color.png and b/tests/assets/assets-colors.spec.js-snapshots/webkit/colors-add-color.png differ diff --git a/tests/assets/assets-colors.spec.js-snapshots/webkit/colors-edit-color.png b/tests/assets/assets-colors.spec.js-snapshots/webkit/colors-edit-color.png index 7992439..3d2ec22 100644 Binary files a/tests/assets/assets-colors.spec.js-snapshots/webkit/colors-edit-color.png and b/tests/assets/assets-colors.spec.js-snapshots/webkit/colors-edit-color.png differ diff --git a/tests/assets/assets-colors.spec.js-snapshots/webkit/colors-rename-color.png b/tests/assets/assets-colors.spec.js-snapshots/webkit/colors-rename-color.png index b325a68..78deaac 100644 Binary files a/tests/assets/assets-colors.spec.js-snapshots/webkit/colors-rename-color.png and b/tests/assets/assets-colors.spec.js-snapshots/webkit/colors-rename-color.png differ diff --git a/tests/assets/assets-colors.spec.js-snapshots/webkit/group-colors-renamed.png b/tests/assets/assets-colors.spec.js-snapshots/webkit/group-colors-renamed.png index 0c82fd7..9319acd 100644 Binary files a/tests/assets/assets-colors.spec.js-snapshots/webkit/group-colors-renamed.png and b/tests/assets/assets-colors.spec.js-snapshots/webkit/group-colors-renamed.png differ diff --git a/tests/assets/assets-colors.spec.js-snapshots/webkit/group-colors.png b/tests/assets/assets-colors.spec.js-snapshots/webkit/group-colors.png index 6b825cb..82d7463 100644 Binary files a/tests/assets/assets-colors.spec.js-snapshots/webkit/group-colors.png and b/tests/assets/assets-colors.spec.js-snapshots/webkit/group-colors.png differ diff --git a/tests/assets/assets-components.spec.js-snapshots/chrome/components-rectangle.png b/tests/assets/assets-components.spec.js-snapshots/chrome/components-rectangle.png index e9f6a1c..8cb46ef 100644 Binary files a/tests/assets/assets-components.spec.js-snapshots/chrome/components-rectangle.png and b/tests/assets/assets-components.spec.js-snapshots/chrome/components-rectangle.png differ diff --git a/tests/assets/assets-components.spec.js-snapshots/firefox/components-image.png b/tests/assets/assets-components.spec.js-snapshots/firefox/components-image.png index aa26ec1..db05484 100644 Binary files a/tests/assets/assets-components.spec.js-snapshots/firefox/components-image.png and b/tests/assets/assets-components.spec.js-snapshots/firefox/components-image.png differ diff --git a/tests/assets/assets-components.spec.js-snapshots/firefox/components-list-view.png b/tests/assets/assets-components.spec.js-snapshots/firefox/components-list-view.png index c49ce9d..c9c50de 100644 Binary files a/tests/assets/assets-components.spec.js-snapshots/firefox/components-list-view.png and b/tests/assets/assets-components.spec.js-snapshots/firefox/components-list-view.png differ diff --git a/tests/assets/assets-components.spec.js-snapshots/firefox/components-path.png b/tests/assets/assets-components.spec.js-snapshots/firefox/components-path.png index 7a89d2f..d59e09a 100644 Binary files a/tests/assets/assets-components.spec.js-snapshots/firefox/components-path.png and b/tests/assets/assets-components.spec.js-snapshots/firefox/components-path.png differ diff --git a/tests/assets/assets-components.spec.js-snapshots/firefox/components-rectangle-duplicated.png b/tests/assets/assets-components.spec.js-snapshots/firefox/components-rectangle-duplicated.png index 1c82f5b..343e198 100644 Binary files a/tests/assets/assets-components.spec.js-snapshots/firefox/components-rectangle-duplicated.png and b/tests/assets/assets-components.spec.js-snapshots/firefox/components-rectangle-duplicated.png differ diff --git a/tests/assets/assets-components.spec.js-snapshots/firefox/components-rectangle.png b/tests/assets/assets-components.spec.js-snapshots/firefox/components-rectangle.png index d8e254a..b87605d 100644 Binary files a/tests/assets/assets-components.spec.js-snapshots/firefox/components-rectangle.png and b/tests/assets/assets-components.spec.js-snapshots/firefox/components-rectangle.png differ diff --git a/tests/assets/assets-components.spec.js-snapshots/firefox/components-text.png b/tests/assets/assets-components.spec.js-snapshots/firefox/components-text.png index c7b1eb3..910b2ff 100644 Binary files a/tests/assets/assets-components.spec.js-snapshots/firefox/components-text.png and b/tests/assets/assets-components.spec.js-snapshots/firefox/components-text.png differ diff --git a/tests/assets/assets-components.spec.js-snapshots/firefox/components-tile-view.png b/tests/assets/assets-components.spec.js-snapshots/firefox/components-tile-view.png index 4bdbd4f..6b30d79 100644 Binary files a/tests/assets/assets-components.spec.js-snapshots/firefox/components-tile-view.png and b/tests/assets/assets-components.spec.js-snapshots/firefox/components-tile-view.png differ diff --git a/tests/assets/assets-components.spec.js-snapshots/webkit/components-image.png b/tests/assets/assets-components.spec.js-snapshots/webkit/components-image.png index 8abe5ba..33c1cfe 100644 Binary files a/tests/assets/assets-components.spec.js-snapshots/webkit/components-image.png and b/tests/assets/assets-components.spec.js-snapshots/webkit/components-image.png differ diff --git a/tests/assets/assets-components.spec.js-snapshots/webkit/components-list-view.png b/tests/assets/assets-components.spec.js-snapshots/webkit/components-list-view.png index dae3a07..943c893 100644 Binary files a/tests/assets/assets-components.spec.js-snapshots/webkit/components-list-view.png and b/tests/assets/assets-components.spec.js-snapshots/webkit/components-list-view.png differ diff --git a/tests/assets/assets-components.spec.js-snapshots/webkit/components-path.png b/tests/assets/assets-components.spec.js-snapshots/webkit/components-path.png index 1376199..aca6843 100644 Binary files a/tests/assets/assets-components.spec.js-snapshots/webkit/components-path.png and b/tests/assets/assets-components.spec.js-snapshots/webkit/components-path.png differ diff --git a/tests/assets/assets-components.spec.js-snapshots/webkit/components-rectangle-duplicated.png b/tests/assets/assets-components.spec.js-snapshots/webkit/components-rectangle-duplicated.png index 6a73b68..355b1d0 100644 Binary files a/tests/assets/assets-components.spec.js-snapshots/webkit/components-rectangle-duplicated.png and b/tests/assets/assets-components.spec.js-snapshots/webkit/components-rectangle-duplicated.png differ diff --git a/tests/assets/assets-components.spec.js-snapshots/webkit/components-rectangle.png b/tests/assets/assets-components.spec.js-snapshots/webkit/components-rectangle.png index 0529244..48a2bab 100644 Binary files a/tests/assets/assets-components.spec.js-snapshots/webkit/components-rectangle.png and b/tests/assets/assets-components.spec.js-snapshots/webkit/components-rectangle.png differ diff --git a/tests/assets/assets-components.spec.js-snapshots/webkit/components-text.png b/tests/assets/assets-components.spec.js-snapshots/webkit/components-text.png index 62043c2..fa33495 100644 Binary files a/tests/assets/assets-components.spec.js-snapshots/webkit/components-text.png and b/tests/assets/assets-components.spec.js-snapshots/webkit/components-text.png differ diff --git a/tests/assets/assets-components.spec.js-snapshots/webkit/components-tile-view.png b/tests/assets/assets-components.spec.js-snapshots/webkit/components-tile-view.png index 29eadd0..a0564e9 100644 Binary files a/tests/assets/assets-components.spec.js-snapshots/webkit/components-tile-view.png and b/tests/assets/assets-components.spec.js-snapshots/webkit/components-tile-view.png differ diff --git a/tests/assets/assets-graphics.spec.js-snapshots/firefox/graphics-jpg.png b/tests/assets/assets-graphics.spec.js-snapshots/firefox/graphics-jpg.png index f0eb415..4c72ea2 100644 Binary files a/tests/assets/assets-graphics.spec.js-snapshots/firefox/graphics-jpg.png and b/tests/assets/assets-graphics.spec.js-snapshots/firefox/graphics-jpg.png differ diff --git a/tests/assets/assets-graphics.spec.js-snapshots/firefox/graphics-list-view.png b/tests/assets/assets-graphics.spec.js-snapshots/firefox/graphics-list-view.png index a0ae81f..7d5f51f 100644 Binary files a/tests/assets/assets-graphics.spec.js-snapshots/firefox/graphics-list-view.png and b/tests/assets/assets-graphics.spec.js-snapshots/firefox/graphics-list-view.png differ diff --git a/tests/assets/assets-graphics.spec.js-snapshots/firefox/graphics-png.png b/tests/assets/assets-graphics.spec.js-snapshots/firefox/graphics-png.png index 89392dc..f772413 100644 Binary files a/tests/assets/assets-graphics.spec.js-snapshots/firefox/graphics-png.png and b/tests/assets/assets-graphics.spec.js-snapshots/firefox/graphics-png.png differ diff --git a/tests/assets/assets-graphics.spec.js-snapshots/firefox/graphics-svg.png b/tests/assets/assets-graphics.spec.js-snapshots/firefox/graphics-svg.png index 159b7fd..f0b1f35 100644 Binary files a/tests/assets/assets-graphics.spec.js-snapshots/firefox/graphics-svg.png and b/tests/assets/assets-graphics.spec.js-snapshots/firefox/graphics-svg.png differ diff --git a/tests/assets/assets-graphics.spec.js-snapshots/firefox/graphics-tile-view.png b/tests/assets/assets-graphics.spec.js-snapshots/firefox/graphics-tile-view.png index 17cae84..894bed8 100644 Binary files a/tests/assets/assets-graphics.spec.js-snapshots/firefox/graphics-tile-view.png and b/tests/assets/assets-graphics.spec.js-snapshots/firefox/graphics-tile-view.png differ diff --git a/tests/assets/assets-graphics.spec.js-snapshots/firefox/group-graphics-renamed.png b/tests/assets/assets-graphics.spec.js-snapshots/firefox/group-graphics-renamed.png index c2ee43f..3bb1920 100644 Binary files a/tests/assets/assets-graphics.spec.js-snapshots/firefox/group-graphics-renamed.png and b/tests/assets/assets-graphics.spec.js-snapshots/firefox/group-graphics-renamed.png differ diff --git a/tests/assets/assets-graphics.spec.js-snapshots/firefox/group-graphics.png b/tests/assets/assets-graphics.spec.js-snapshots/firefox/group-graphics.png index e86ffd3..aabac09 100644 Binary files a/tests/assets/assets-graphics.spec.js-snapshots/firefox/group-graphics.png and b/tests/assets/assets-graphics.spec.js-snapshots/firefox/group-graphics.png differ diff --git a/tests/assets/assets-graphics.spec.js-snapshots/webkit/graphics-jpg.png b/tests/assets/assets-graphics.spec.js-snapshots/webkit/graphics-jpg.png index 593aebf..99d30ee 100644 Binary files a/tests/assets/assets-graphics.spec.js-snapshots/webkit/graphics-jpg.png and b/tests/assets/assets-graphics.spec.js-snapshots/webkit/graphics-jpg.png differ diff --git a/tests/assets/assets-graphics.spec.js-snapshots/webkit/graphics-list-view.png b/tests/assets/assets-graphics.spec.js-snapshots/webkit/graphics-list-view.png index eee9156..cf84307 100644 Binary files a/tests/assets/assets-graphics.spec.js-snapshots/webkit/graphics-list-view.png and b/tests/assets/assets-graphics.spec.js-snapshots/webkit/graphics-list-view.png differ diff --git a/tests/assets/assets-graphics.spec.js-snapshots/webkit/graphics-png.png b/tests/assets/assets-graphics.spec.js-snapshots/webkit/graphics-png.png index fb9b93b..1b2c304 100644 Binary files a/tests/assets/assets-graphics.spec.js-snapshots/webkit/graphics-png.png and b/tests/assets/assets-graphics.spec.js-snapshots/webkit/graphics-png.png differ diff --git a/tests/assets/assets-graphics.spec.js-snapshots/webkit/graphics-svg.png b/tests/assets/assets-graphics.spec.js-snapshots/webkit/graphics-svg.png index 978b611..b7f28bd 100644 Binary files a/tests/assets/assets-graphics.spec.js-snapshots/webkit/graphics-svg.png and b/tests/assets/assets-graphics.spec.js-snapshots/webkit/graphics-svg.png differ diff --git a/tests/assets/assets-graphics.spec.js-snapshots/webkit/graphics-tile-view.png b/tests/assets/assets-graphics.spec.js-snapshots/webkit/graphics-tile-view.png index feb9895..adbdf69 100644 Binary files a/tests/assets/assets-graphics.spec.js-snapshots/webkit/graphics-tile-view.png and b/tests/assets/assets-graphics.spec.js-snapshots/webkit/graphics-tile-view.png differ diff --git a/tests/assets/assets-typographies.spec.js-snapshots/firefox/group-typographies-renamed.png b/tests/assets/assets-typographies.spec.js-snapshots/firefox/group-typographies-renamed.png index ba1f010..a618e5a 100644 Binary files a/tests/assets/assets-typographies.spec.js-snapshots/firefox/group-typographies-renamed.png and b/tests/assets/assets-typographies.spec.js-snapshots/firefox/group-typographies-renamed.png differ diff --git a/tests/assets/assets-typographies.spec.js-snapshots/firefox/group-typographies.png b/tests/assets/assets-typographies.spec.js-snapshots/firefox/group-typographies.png index ce04a0f..bdf19ee 100644 Binary files a/tests/assets/assets-typographies.spec.js-snapshots/firefox/group-typographies.png and b/tests/assets/assets-typographies.spec.js-snapshots/firefox/group-typographies.png differ diff --git a/tests/assets/assets-typographies.spec.js-snapshots/firefox/typographies-add-typography-expanded.png b/tests/assets/assets-typographies.spec.js-snapshots/firefox/typographies-add-typography-expanded.png index b3fcd9c..4597ff7 100644 Binary files a/tests/assets/assets-typographies.spec.js-snapshots/firefox/typographies-add-typography-expanded.png and b/tests/assets/assets-typographies.spec.js-snapshots/firefox/typographies-add-typography-expanded.png differ diff --git a/tests/assets/assets-typographies.spec.js-snapshots/firefox/typographies-add-typography-minimized.png b/tests/assets/assets-typographies.spec.js-snapshots/firefox/typographies-add-typography-minimized.png index 0a2f58b..544c2ce 100644 Binary files a/tests/assets/assets-typographies.spec.js-snapshots/firefox/typographies-add-typography-minimized.png and b/tests/assets/assets-typographies.spec.js-snapshots/firefox/typographies-add-typography-minimized.png differ diff --git a/tests/assets/assets-typographies.spec.js-snapshots/firefox/typographies-deleted-typography.png b/tests/assets/assets-typographies.spec.js-snapshots/firefox/typographies-deleted-typography.png index 47587db..a38c43d 100644 Binary files a/tests/assets/assets-typographies.spec.js-snapshots/firefox/typographies-deleted-typography.png and b/tests/assets/assets-typographies.spec.js-snapshots/firefox/typographies-deleted-typography.png differ diff --git a/tests/assets/assets-typographies.spec.js-snapshots/firefox/typographies-edit-typography-expanded.png b/tests/assets/assets-typographies.spec.js-snapshots/firefox/typographies-edit-typography-expanded.png index 1ffd473..fdb8a76 100644 Binary files a/tests/assets/assets-typographies.spec.js-snapshots/firefox/typographies-edit-typography-expanded.png and b/tests/assets/assets-typographies.spec.js-snapshots/firefox/typographies-edit-typography-expanded.png differ diff --git a/tests/assets/assets-typographies.spec.js-snapshots/firefox/typographies-edit-typography-minimized.png b/tests/assets/assets-typographies.spec.js-snapshots/firefox/typographies-edit-typography-minimized.png index 60fadb6..f0ac12e 100644 Binary files a/tests/assets/assets-typographies.spec.js-snapshots/firefox/typographies-edit-typography-minimized.png and b/tests/assets/assets-typographies.spec.js-snapshots/firefox/typographies-edit-typography-minimized.png differ diff --git a/tests/assets/assets-typographies.spec.js-snapshots/firefox/typographies-rename-typography-expanded.png b/tests/assets/assets-typographies.spec.js-snapshots/firefox/typographies-rename-typography-expanded.png index 6385aec..0bfffa9 100644 Binary files a/tests/assets/assets-typographies.spec.js-snapshots/firefox/typographies-rename-typography-expanded.png and b/tests/assets/assets-typographies.spec.js-snapshots/firefox/typographies-rename-typography-expanded.png differ diff --git a/tests/assets/assets-typographies.spec.js-snapshots/firefox/typographies-rename-typography-minimized.png b/tests/assets/assets-typographies.spec.js-snapshots/firefox/typographies-rename-typography-minimized.png index f2af0c0..70fb6ef 100644 Binary files a/tests/assets/assets-typographies.spec.js-snapshots/firefox/typographies-rename-typography-minimized.png and b/tests/assets/assets-typographies.spec.js-snapshots/firefox/typographies-rename-typography-minimized.png differ diff --git a/tests/assets/assets-typographies.spec.js-snapshots/webkit/group-typographies-renamed.png b/tests/assets/assets-typographies.spec.js-snapshots/webkit/group-typographies-renamed.png index 9cb68b2..cf0d95a 100644 Binary files a/tests/assets/assets-typographies.spec.js-snapshots/webkit/group-typographies-renamed.png and b/tests/assets/assets-typographies.spec.js-snapshots/webkit/group-typographies-renamed.png differ diff --git a/tests/assets/assets-typographies.spec.js-snapshots/webkit/group-typographies.png b/tests/assets/assets-typographies.spec.js-snapshots/webkit/group-typographies.png index 381cb76..5f8c8d7 100644 Binary files a/tests/assets/assets-typographies.spec.js-snapshots/webkit/group-typographies.png and b/tests/assets/assets-typographies.spec.js-snapshots/webkit/group-typographies.png differ diff --git a/tests/assets/assets-typographies.spec.js-snapshots/webkit/typographies-add-typography-expanded.png b/tests/assets/assets-typographies.spec.js-snapshots/webkit/typographies-add-typography-expanded.png index 5d0303c..3fba4b4 100644 Binary files a/tests/assets/assets-typographies.spec.js-snapshots/webkit/typographies-add-typography-expanded.png and b/tests/assets/assets-typographies.spec.js-snapshots/webkit/typographies-add-typography-expanded.png differ diff --git a/tests/assets/assets-typographies.spec.js-snapshots/webkit/typographies-add-typography-minimized.png b/tests/assets/assets-typographies.spec.js-snapshots/webkit/typographies-add-typography-minimized.png index 8088f8e..794554d 100644 Binary files a/tests/assets/assets-typographies.spec.js-snapshots/webkit/typographies-add-typography-minimized.png and b/tests/assets/assets-typographies.spec.js-snapshots/webkit/typographies-add-typography-minimized.png differ diff --git a/tests/assets/assets-typographies.spec.js-snapshots/webkit/typographies-deleted-typography.png b/tests/assets/assets-typographies.spec.js-snapshots/webkit/typographies-deleted-typography.png index 0974d72..ee8ec7b 100644 Binary files a/tests/assets/assets-typographies.spec.js-snapshots/webkit/typographies-deleted-typography.png and b/tests/assets/assets-typographies.spec.js-snapshots/webkit/typographies-deleted-typography.png differ diff --git a/tests/assets/assets-typographies.spec.js-snapshots/webkit/typographies-edit-typography-expanded.png b/tests/assets/assets-typographies.spec.js-snapshots/webkit/typographies-edit-typography-expanded.png index 2b37ec9..1952b90 100644 Binary files a/tests/assets/assets-typographies.spec.js-snapshots/webkit/typographies-edit-typography-expanded.png and b/tests/assets/assets-typographies.spec.js-snapshots/webkit/typographies-edit-typography-expanded.png differ diff --git a/tests/assets/assets-typographies.spec.js-snapshots/webkit/typographies-edit-typography-minimized.png b/tests/assets/assets-typographies.spec.js-snapshots/webkit/typographies-edit-typography-minimized.png index fceb417..0577e48 100644 Binary files a/tests/assets/assets-typographies.spec.js-snapshots/webkit/typographies-edit-typography-minimized.png and b/tests/assets/assets-typographies.spec.js-snapshots/webkit/typographies-edit-typography-minimized.png differ diff --git a/tests/assets/assets-typographies.spec.js-snapshots/webkit/typographies-rename-typography-expanded.png b/tests/assets/assets-typographies.spec.js-snapshots/webkit/typographies-rename-typography-expanded.png index cc78ba3..a4fbb7d 100644 Binary files a/tests/assets/assets-typographies.spec.js-snapshots/webkit/typographies-rename-typography-expanded.png and b/tests/assets/assets-typographies.spec.js-snapshots/webkit/typographies-rename-typography-expanded.png differ diff --git a/tests/assets/assets-typographies.spec.js-snapshots/webkit/typographies-rename-typography-minimized.png b/tests/assets/assets-typographies.spec.js-snapshots/webkit/typographies-rename-typography-minimized.png index 0dad3bc..6807c1c 100644 Binary files a/tests/assets/assets-typographies.spec.js-snapshots/webkit/typographies-rename-typography-minimized.png and b/tests/assets/assets-typographies.spec.js-snapshots/webkit/typographies-rename-typography-minimized.png differ diff --git a/tests/composition/composition-board.spec.js b/tests/composition/composition-board.spec.js index a2904df..5d7d97b 100644 --- a/tests/composition/composition-board.spec.js +++ b/tests/composition/composition-board.spec.js @@ -19,7 +19,10 @@ mainTest("CO-2 Create a board from toolbar", async ({ page }) => { await mainPage.clickViewportTwice(); await mainPage.waitForChangeIsSaved(); await mainPage.isCreatedLayerVisible(); - await expect(mainPage.viewport).toHaveScreenshot("board.png"); + await expect(mainPage.viewport).toHaveScreenshot( + "board.png", { + mask: [mainPage.guides] + }); }); mainTest("CO-4 Rename board with valid name", async ({ page }) => { @@ -53,7 +56,10 @@ mainTest("CO-10 Add and edit Shadow to board", async ({ page }) => { await colorPalettePopUp.setHex("#304d6a"); await mainPage.clickViewportTwice(); await mainPage.waitForChangeIsSaved(); - await expect(mainPage.viewport).toHaveScreenshot("board-drop-shadow.png"); + await expect(mainPage.viewport).toHaveScreenshot( + "board-drop-shadow.png", { + mask: [mainPage.guides] + }); await mainPage.selectTypeForShadow("Inner shadow"); await mainPage.changeXForShadow("5"); await mainPage.changeYForShadow("7"); @@ -64,7 +70,10 @@ mainTest("CO-10 Add and edit Shadow to board", async ({ page }) => { await colorPalettePopUp.setHex("#96e637"); await mainPage.clickViewportTwice(); await mainPage.waitForChangeIsSaved(); - await expect(mainPage.viewport).toHaveScreenshot("board-inner-shadow.png"); + await expect(mainPage.viewport).toHaveScreenshot( + "board-inner-shadow.png", { + mask: [mainPage.guides] + }); }); mainTest("CO-13 Add and edit Blur to board", async ({ page }) => { @@ -74,7 +83,10 @@ mainTest("CO-13 Add and edit Blur to board", async ({ page }) => { await mainPage.clickAddBlurButton(); await mainPage.changeValueForBlur("55"); await mainPage.waitForChangeIsSaved(); - await expect(mainPage.viewport).toHaveScreenshot("board-blur.png"); + await expect(mainPage.viewport).toHaveScreenshot( + "board-blur.png", { + mask: [mainPage.guides] + }); }); mainTest("CO-25-1 Delete board via rightclick", async ({ page }) => { @@ -134,7 +146,10 @@ mainTest("CO-29 Change border radius multiple values", async ({ page }) => { await mainPage.changeThirdCornerRadiusForLayer("0"); await mainPage.changeFourthCornerRadiusForLayer("0"); await mainPage.waitForChangeIsSaved(); - await expect(mainPage.viewport).toHaveScreenshot("board.png"); + await expect(mainPage.viewport).toHaveScreenshot( + "board.png", { + mask: [mainPage.guides] + }); }); mainTest("CO-411 Search board - ignore case", async ({ page }) => { diff --git a/tests/composition/composition-board.spec.js-snapshots/chrome/board-blur.png b/tests/composition/composition-board.spec.js-snapshots/chrome/board-blur.png index 731502b..5addcfc 100644 Binary files a/tests/composition/composition-board.spec.js-snapshots/chrome/board-blur.png and b/tests/composition/composition-board.spec.js-snapshots/chrome/board-blur.png differ diff --git a/tests/composition/composition-board.spec.js-snapshots/chrome/board-drop-shadow.png b/tests/composition/composition-board.spec.js-snapshots/chrome/board-drop-shadow.png index b78a7c5..967c630 100644 Binary files a/tests/composition/composition-board.spec.js-snapshots/chrome/board-drop-shadow.png and b/tests/composition/composition-board.spec.js-snapshots/chrome/board-drop-shadow.png differ diff --git a/tests/composition/composition-board.spec.js-snapshots/chrome/board-inner-shadow.png b/tests/composition/composition-board.spec.js-snapshots/chrome/board-inner-shadow.png index 5166f94..acdafa3 100644 Binary files a/tests/composition/composition-board.spec.js-snapshots/chrome/board-inner-shadow.png and b/tests/composition/composition-board.spec.js-snapshots/chrome/board-inner-shadow.png differ diff --git a/tests/composition/composition-board.spec.js-snapshots/chrome/board.png b/tests/composition/composition-board.spec.js-snapshots/chrome/board.png index 0b1ceb4..0af8a16 100644 Binary files a/tests/composition/composition-board.spec.js-snapshots/chrome/board.png and b/tests/composition/composition-board.spec.js-snapshots/chrome/board.png differ diff --git a/tests/composition/composition-board.spec.js-snapshots/firefox/board-blur.png b/tests/composition/composition-board.spec.js-snapshots/firefox/board-blur.png index 9586542..4e90e3e 100644 Binary files a/tests/composition/composition-board.spec.js-snapshots/firefox/board-blur.png and b/tests/composition/composition-board.spec.js-snapshots/firefox/board-blur.png differ diff --git a/tests/composition/composition-board.spec.js-snapshots/firefox/board-drop-shadow.png b/tests/composition/composition-board.spec.js-snapshots/firefox/board-drop-shadow.png index fa7e8e9..ee2ba9b 100644 Binary files a/tests/composition/composition-board.spec.js-snapshots/firefox/board-drop-shadow.png and b/tests/composition/composition-board.spec.js-snapshots/firefox/board-drop-shadow.png differ diff --git a/tests/composition/composition-board.spec.js-snapshots/firefox/board-inner-shadow.png b/tests/composition/composition-board.spec.js-snapshots/firefox/board-inner-shadow.png index 497f5b6..48f8b7d 100644 Binary files a/tests/composition/composition-board.spec.js-snapshots/firefox/board-inner-shadow.png and b/tests/composition/composition-board.spec.js-snapshots/firefox/board-inner-shadow.png differ diff --git a/tests/composition/composition-board.spec.js-snapshots/firefox/board.png b/tests/composition/composition-board.spec.js-snapshots/firefox/board.png index f17eab2..473b943 100644 Binary files a/tests/composition/composition-board.spec.js-snapshots/firefox/board.png and b/tests/composition/composition-board.spec.js-snapshots/firefox/board.png differ diff --git a/tests/composition/composition-board.spec.js-snapshots/webkit/board-blur.png b/tests/composition/composition-board.spec.js-snapshots/webkit/board-blur.png index 18ec6c4..ba2a18d 100644 Binary files a/tests/composition/composition-board.spec.js-snapshots/webkit/board-blur.png and b/tests/composition/composition-board.spec.js-snapshots/webkit/board-blur.png differ diff --git a/tests/composition/composition-board.spec.js-snapshots/webkit/board-drop-shadow.png b/tests/composition/composition-board.spec.js-snapshots/webkit/board-drop-shadow.png index c2ca0f2..dfdc864 100644 Binary files a/tests/composition/composition-board.spec.js-snapshots/webkit/board-drop-shadow.png and b/tests/composition/composition-board.spec.js-snapshots/webkit/board-drop-shadow.png differ diff --git a/tests/composition/composition-board.spec.js-snapshots/webkit/board-inner-shadow.png b/tests/composition/composition-board.spec.js-snapshots/webkit/board-inner-shadow.png index 2d3dad1..0f83f6a 100644 Binary files a/tests/composition/composition-board.spec.js-snapshots/webkit/board-inner-shadow.png and b/tests/composition/composition-board.spec.js-snapshots/webkit/board-inner-shadow.png differ diff --git a/tests/composition/composition-board.spec.js-snapshots/webkit/board.png b/tests/composition/composition-board.spec.js-snapshots/webkit/board.png index b1448d1..cc73939 100644 Binary files a/tests/composition/composition-board.spec.js-snapshots/webkit/board.png and b/tests/composition/composition-board.spec.js-snapshots/webkit/board.png differ diff --git a/tests/composition/composition-comments.spec.js-snapshots/firefox/comment-closed-pop-up.png b/tests/composition/composition-comments.spec.js-snapshots/firefox/comment-closed-pop-up.png index 613a771..1a819b2 100644 Binary files a/tests/composition/composition-comments.spec.js-snapshots/firefox/comment-closed-pop-up.png and b/tests/composition/composition-comments.spec.js-snapshots/firefox/comment-closed-pop-up.png differ diff --git a/tests/composition/composition-comments.spec.js-snapshots/firefox/comment-edited.png b/tests/composition/composition-comments.spec.js-snapshots/firefox/comment-edited.png index bf581f6..a773b77 100644 Binary files a/tests/composition/composition-comments.spec.js-snapshots/firefox/comment-edited.png and b/tests/composition/composition-comments.spec.js-snapshots/firefox/comment-edited.png differ diff --git a/tests/composition/composition-comments.spec.js-snapshots/firefox/comment-latin-closed-pop-up.png b/tests/composition/composition-comments.spec.js-snapshots/firefox/comment-latin-closed-pop-up.png index 533494d..85bd583 100644 Binary files a/tests/composition/composition-comments.spec.js-snapshots/firefox/comment-latin-closed-pop-up.png and b/tests/composition/composition-comments.spec.js-snapshots/firefox/comment-latin-closed-pop-up.png differ diff --git a/tests/composition/composition-comments.spec.js-snapshots/firefox/comment-latin-opened-pop-up.png b/tests/composition/composition-comments.spec.js-snapshots/firefox/comment-latin-opened-pop-up.png index b9dc071..e6a8096 100644 Binary files a/tests/composition/composition-comments.spec.js-snapshots/firefox/comment-latin-opened-pop-up.png and b/tests/composition/composition-comments.spec.js-snapshots/firefox/comment-latin-opened-pop-up.png differ diff --git a/tests/composition/composition-comments.spec.js-snapshots/firefox/comment-opened-pop-up.png b/tests/composition/composition-comments.spec.js-snapshots/firefox/comment-opened-pop-up.png index ebdd4e0..f543e41 100644 Binary files a/tests/composition/composition-comments.spec.js-snapshots/firefox/comment-opened-pop-up.png and b/tests/composition/composition-comments.spec.js-snapshots/firefox/comment-opened-pop-up.png differ diff --git a/tests/composition/composition-comments.spec.js-snapshots/firefox/comment-removed.png b/tests/composition/composition-comments.spec.js-snapshots/firefox/comment-removed.png index 5c74738..6f2c8f7 100644 Binary files a/tests/composition/composition-comments.spec.js-snapshots/firefox/comment-removed.png and b/tests/composition/composition-comments.spec.js-snapshots/firefox/comment-removed.png differ diff --git a/tests/composition/composition-comments.spec.js-snapshots/firefox/comment-reply.png b/tests/composition/composition-comments.spec.js-snapshots/firefox/comment-reply.png index 39e2ddf..d05ea36 100644 Binary files a/tests/composition/composition-comments.spec.js-snapshots/firefox/comment-reply.png and b/tests/composition/composition-comments.spec.js-snapshots/firefox/comment-reply.png differ diff --git a/tests/composition/composition-comments.spec.js-snapshots/firefox/comment-resolved-closed-pop-up.png b/tests/composition/composition-comments.spec.js-snapshots/firefox/comment-resolved-closed-pop-up.png index 146184c..6141e91 100644 Binary files a/tests/composition/composition-comments.spec.js-snapshots/firefox/comment-resolved-closed-pop-up.png and b/tests/composition/composition-comments.spec.js-snapshots/firefox/comment-resolved-closed-pop-up.png differ diff --git a/tests/composition/composition-comments.spec.js-snapshots/firefox/comment-resolved-opened-pop-up.png b/tests/composition/composition-comments.spec.js-snapshots/firefox/comment-resolved-opened-pop-up.png index 55fa6fe..152da0c 100644 Binary files a/tests/composition/composition-comments.spec.js-snapshots/firefox/comment-resolved-opened-pop-up.png and b/tests/composition/composition-comments.spec.js-snapshots/firefox/comment-resolved-opened-pop-up.png differ diff --git a/tests/composition/composition-comments.spec.js-snapshots/webkit/comment-closed-pop-up.png b/tests/composition/composition-comments.spec.js-snapshots/webkit/comment-closed-pop-up.png index f736b0f..b86f413 100644 Binary files a/tests/composition/composition-comments.spec.js-snapshots/webkit/comment-closed-pop-up.png and b/tests/composition/composition-comments.spec.js-snapshots/webkit/comment-closed-pop-up.png differ diff --git a/tests/composition/composition-comments.spec.js-snapshots/webkit/comment-edited.png b/tests/composition/composition-comments.spec.js-snapshots/webkit/comment-edited.png index ca2ed34..ff8173b 100644 Binary files a/tests/composition/composition-comments.spec.js-snapshots/webkit/comment-edited.png and b/tests/composition/composition-comments.spec.js-snapshots/webkit/comment-edited.png differ diff --git a/tests/composition/composition-comments.spec.js-snapshots/webkit/comment-latin-closed-pop-up.png b/tests/composition/composition-comments.spec.js-snapshots/webkit/comment-latin-closed-pop-up.png index fbeae76..c560dac 100644 Binary files a/tests/composition/composition-comments.spec.js-snapshots/webkit/comment-latin-closed-pop-up.png and b/tests/composition/composition-comments.spec.js-snapshots/webkit/comment-latin-closed-pop-up.png differ diff --git a/tests/composition/composition-comments.spec.js-snapshots/webkit/comment-latin-opened-pop-up.png b/tests/composition/composition-comments.spec.js-snapshots/webkit/comment-latin-opened-pop-up.png index 367f587..5c595b3 100644 Binary files a/tests/composition/composition-comments.spec.js-snapshots/webkit/comment-latin-opened-pop-up.png and b/tests/composition/composition-comments.spec.js-snapshots/webkit/comment-latin-opened-pop-up.png differ diff --git a/tests/composition/composition-comments.spec.js-snapshots/webkit/comment-opened-pop-up.png b/tests/composition/composition-comments.spec.js-snapshots/webkit/comment-opened-pop-up.png index 4a65a39..57cc0b4 100644 Binary files a/tests/composition/composition-comments.spec.js-snapshots/webkit/comment-opened-pop-up.png and b/tests/composition/composition-comments.spec.js-snapshots/webkit/comment-opened-pop-up.png differ diff --git a/tests/composition/composition-comments.spec.js-snapshots/webkit/comment-removed.png b/tests/composition/composition-comments.spec.js-snapshots/webkit/comment-removed.png index f17ebaf..3fbaeb1 100644 Binary files a/tests/composition/composition-comments.spec.js-snapshots/webkit/comment-removed.png and b/tests/composition/composition-comments.spec.js-snapshots/webkit/comment-removed.png differ diff --git a/tests/composition/composition-comments.spec.js-snapshots/webkit/comment-reply.png b/tests/composition/composition-comments.spec.js-snapshots/webkit/comment-reply.png index 6f8936b..10be4a5 100644 Binary files a/tests/composition/composition-comments.spec.js-snapshots/webkit/comment-reply.png and b/tests/composition/composition-comments.spec.js-snapshots/webkit/comment-reply.png differ diff --git a/tests/composition/composition-comments.spec.js-snapshots/webkit/comment-resolved-closed-pop-up.png b/tests/composition/composition-comments.spec.js-snapshots/webkit/comment-resolved-closed-pop-up.png index 875bb43..2a36a73 100644 Binary files a/tests/composition/composition-comments.spec.js-snapshots/webkit/comment-resolved-closed-pop-up.png and b/tests/composition/composition-comments.spec.js-snapshots/webkit/comment-resolved-closed-pop-up.png differ diff --git a/tests/composition/composition-comments.spec.js-snapshots/webkit/comment-resolved-opened-pop-up.png b/tests/composition/composition-comments.spec.js-snapshots/webkit/comment-resolved-opened-pop-up.png index 58a6bae..819d759 100644 Binary files a/tests/composition/composition-comments.spec.js-snapshots/webkit/comment-resolved-opened-pop-up.png and b/tests/composition/composition-comments.spec.js-snapshots/webkit/comment-resolved-opened-pop-up.png differ diff --git a/tests/composition/composition-flex-layout.spec.js-snapshots/chrome/layout-no-column-gap.png b/tests/composition/composition-flex-layout.spec.js-snapshots/chrome/layout-no-column-gap.png index 7189a3a..732e839 100644 Binary files a/tests/composition/composition-flex-layout.spec.js-snapshots/chrome/layout-no-column-gap.png and b/tests/composition/composition-flex-layout.spec.js-snapshots/chrome/layout-no-column-gap.png differ diff --git a/tests/composition/composition-flex-layout.spec.js-snapshots/chrome/layout-no-horizont-padding.png b/tests/composition/composition-flex-layout.spec.js-snapshots/chrome/layout-no-horizont-padding.png index 7189a3a..732e839 100644 Binary files a/tests/composition/composition-flex-layout.spec.js-snapshots/chrome/layout-no-horizont-padding.png and b/tests/composition/composition-flex-layout.spec.js-snapshots/chrome/layout-no-horizont-padding.png differ diff --git a/tests/composition/composition-flex-layout.spec.js-snapshots/chrome/layout-no-vertical-padding.png b/tests/composition/composition-flex-layout.spec.js-snapshots/chrome/layout-no-vertical-padding.png index 7189a3a..732e839 100644 Binary files a/tests/composition/composition-flex-layout.spec.js-snapshots/chrome/layout-no-vertical-padding.png and b/tests/composition/composition-flex-layout.spec.js-snapshots/chrome/layout-no-vertical-padding.png differ diff --git a/tests/composition/composition-flex-layout.spec.js-snapshots/chrome/layout-padding-gap-0.png b/tests/composition/composition-flex-layout.spec.js-snapshots/chrome/layout-padding-gap-0.png index 7189a3a..732e839 100644 Binary files a/tests/composition/composition-flex-layout.spec.js-snapshots/chrome/layout-padding-gap-0.png and b/tests/composition/composition-flex-layout.spec.js-snapshots/chrome/layout-padding-gap-0.png differ diff --git a/tests/composition/composition-flex-layout.spec.js-snapshots/firefox/layout-no-column-gap.png b/tests/composition/composition-flex-layout.spec.js-snapshots/firefox/layout-no-column-gap.png index 01f58d7..045b2a9 100644 Binary files a/tests/composition/composition-flex-layout.spec.js-snapshots/firefox/layout-no-column-gap.png and b/tests/composition/composition-flex-layout.spec.js-snapshots/firefox/layout-no-column-gap.png differ diff --git a/tests/composition/composition-flex-layout.spec.js-snapshots/firefox/layout-no-horizont-padding.png b/tests/composition/composition-flex-layout.spec.js-snapshots/firefox/layout-no-horizont-padding.png index 01f58d7..045b2a9 100644 Binary files a/tests/composition/composition-flex-layout.spec.js-snapshots/firefox/layout-no-horizont-padding.png and b/tests/composition/composition-flex-layout.spec.js-snapshots/firefox/layout-no-horizont-padding.png differ diff --git a/tests/composition/composition-flex-layout.spec.js-snapshots/firefox/layout-no-vertical-padding.png b/tests/composition/composition-flex-layout.spec.js-snapshots/firefox/layout-no-vertical-padding.png index 01f58d7..045b2a9 100644 Binary files a/tests/composition/composition-flex-layout.spec.js-snapshots/firefox/layout-no-vertical-padding.png and b/tests/composition/composition-flex-layout.spec.js-snapshots/firefox/layout-no-vertical-padding.png differ diff --git a/tests/composition/composition-flex-layout.spec.js-snapshots/firefox/layout-padding-gap-0.png b/tests/composition/composition-flex-layout.spec.js-snapshots/firefox/layout-padding-gap-0.png index 01f58d7..045b2a9 100644 Binary files a/tests/composition/composition-flex-layout.spec.js-snapshots/firefox/layout-padding-gap-0.png and b/tests/composition/composition-flex-layout.spec.js-snapshots/firefox/layout-padding-gap-0.png differ diff --git a/tests/composition/composition-flex-layout.spec.js-snapshots/webkit/layout-no-column-gap.png b/tests/composition/composition-flex-layout.spec.js-snapshots/webkit/layout-no-column-gap.png index 98a5f4b..dbca1eb 100644 Binary files a/tests/composition/composition-flex-layout.spec.js-snapshots/webkit/layout-no-column-gap.png and b/tests/composition/composition-flex-layout.spec.js-snapshots/webkit/layout-no-column-gap.png differ diff --git a/tests/composition/composition-flex-layout.spec.js-snapshots/webkit/layout-no-horizont-padding.png b/tests/composition/composition-flex-layout.spec.js-snapshots/webkit/layout-no-horizont-padding.png index 98a5f4b..dbca1eb 100644 Binary files a/tests/composition/composition-flex-layout.spec.js-snapshots/webkit/layout-no-horizont-padding.png and b/tests/composition/composition-flex-layout.spec.js-snapshots/webkit/layout-no-horizont-padding.png differ diff --git a/tests/composition/composition-flex-layout.spec.js-snapshots/webkit/layout-no-vertical-padding.png b/tests/composition/composition-flex-layout.spec.js-snapshots/webkit/layout-no-vertical-padding.png index 98a5f4b..dbca1eb 100644 Binary files a/tests/composition/composition-flex-layout.spec.js-snapshots/webkit/layout-no-vertical-padding.png and b/tests/composition/composition-flex-layout.spec.js-snapshots/webkit/layout-no-vertical-padding.png differ diff --git a/tests/composition/composition-flex-layout.spec.js-snapshots/webkit/layout-padding-gap-0.png b/tests/composition/composition-flex-layout.spec.js-snapshots/webkit/layout-padding-gap-0.png index 98a5f4b..dbca1eb 100644 Binary files a/tests/composition/composition-flex-layout.spec.js-snapshots/webkit/layout-padding-gap-0.png and b/tests/composition/composition-flex-layout.spec.js-snapshots/webkit/layout-padding-gap-0.png differ diff --git a/tests/composition/composition-rectangle.spec.js b/tests/composition/composition-rectangle.spec.js index a3949f7..c4c5fef 100644 --- a/tests/composition/composition-rectangle.spec.js +++ b/tests/composition/composition-rectangle.spec.js @@ -146,5 +146,8 @@ mainTest("CO-111 Selection to board", async ({ page }) => { await mainPage.waitForChangeIsSaved(); await mainPage.selectionToBoardViaRightClick(); await mainPage.waitForChangeIsSaved(); - await expect(mainPage.viewport).toHaveScreenshot("rectangle-to-board.png"); + await expect(mainPage.viewport).toHaveScreenshot( + "rectangle-to-board.png", { + mask: [mainPage.guides] + }); }); diff --git a/tests/composition/composition-rectangle.spec.js-snapshots/chrome/rectangle-to-board.png b/tests/composition/composition-rectangle.spec.js-snapshots/chrome/rectangle-to-board.png index eb0deec..ebfb6a6 100644 Binary files a/tests/composition/composition-rectangle.spec.js-snapshots/chrome/rectangle-to-board.png and b/tests/composition/composition-rectangle.spec.js-snapshots/chrome/rectangle-to-board.png differ diff --git a/tests/composition/composition-rectangle.spec.js-snapshots/firefox/rectangle-to-board.png b/tests/composition/composition-rectangle.spec.js-snapshots/firefox/rectangle-to-board.png index 2c4c147..d8288c5 100644 Binary files a/tests/composition/composition-rectangle.spec.js-snapshots/firefox/rectangle-to-board.png and b/tests/composition/composition-rectangle.spec.js-snapshots/firefox/rectangle-to-board.png differ diff --git a/tests/composition/composition-rectangle.spec.js-snapshots/firefox/rectangle-to-path.png b/tests/composition/composition-rectangle.spec.js-snapshots/firefox/rectangle-to-path.png index 2859680..ad8b75e 100644 Binary files a/tests/composition/composition-rectangle.spec.js-snapshots/firefox/rectangle-to-path.png and b/tests/composition/composition-rectangle.spec.js-snapshots/firefox/rectangle-to-path.png differ diff --git a/tests/composition/composition-rectangle.spec.js-snapshots/webkit/rectangle-to-board.png b/tests/composition/composition-rectangle.spec.js-snapshots/webkit/rectangle-to-board.png index deb0e6c..986a523 100644 Binary files a/tests/composition/composition-rectangle.spec.js-snapshots/webkit/rectangle-to-board.png and b/tests/composition/composition-rectangle.spec.js-snapshots/webkit/rectangle-to-board.png differ diff --git a/tests/composition/composition-rectangle.spec.js-snapshots/webkit/rectangle-to-path.png b/tests/composition/composition-rectangle.spec.js-snapshots/webkit/rectangle-to-path.png index 4d8c0b3..3c98f35 100644 Binary files a/tests/composition/composition-rectangle.spec.js-snapshots/webkit/rectangle-to-path.png and b/tests/composition/composition-rectangle.spec.js-snapshots/webkit/rectangle-to-path.png differ diff --git a/tests/panels-features/panels-features-prototype.spec.js-snapshots/firefox/add-2nd-flow.png b/tests/panels-features/panels-features-prototype.spec.js-snapshots/firefox/add-2nd-flow.png index 9e21bb0..4d8dbb5 100644 Binary files a/tests/panels-features/panels-features-prototype.spec.js-snapshots/firefox/add-2nd-flow.png and b/tests/panels-features/panels-features-prototype.spec.js-snapshots/firefox/add-2nd-flow.png differ diff --git a/tests/panels-features/panels-features-prototype.spec.js-snapshots/firefox/add-interaction.png b/tests/panels-features/panels-features-prototype.spec.js-snapshots/firefox/add-interaction.png index 4877bce..c0f731f 100644 Binary files a/tests/panels-features/panels-features-prototype.spec.js-snapshots/firefox/add-interaction.png and b/tests/panels-features/panels-features-prototype.spec.js-snapshots/firefox/add-interaction.png differ diff --git a/tests/panels-features/panels-features-prototype.spec.js-snapshots/firefox/connector-between-board2-and-board1.png b/tests/panels-features/panels-features-prototype.spec.js-snapshots/firefox/connector-between-board2-and-board1.png index 01eaed5..e1e7af3 100644 Binary files a/tests/panels-features/panels-features-prototype.spec.js-snapshots/firefox/connector-between-board2-and-board1.png and b/tests/panels-features/panels-features-prototype.spec.js-snapshots/firefox/connector-between-board2-and-board1.png differ diff --git a/tests/panels-features/panels-features-prototype.spec.js-snapshots/firefox/connector-between-board2-and-board3.png b/tests/panels-features/panels-features-prototype.spec.js-snapshots/firefox/connector-between-board2-and-board3.png index af2da5c..e8d8b66 100644 Binary files a/tests/panels-features/panels-features-prototype.spec.js-snapshots/firefox/connector-between-board2-and-board3.png and b/tests/panels-features/panels-features-prototype.spec.js-snapshots/firefox/connector-between-board2-and-board3.png differ diff --git a/tests/panels-features/panels-features-prototype.spec.js-snapshots/firefox/delete-flow.png b/tests/panels-features/panels-features-prototype.spec.js-snapshots/firefox/delete-flow.png index ed0e8c3..f26a51d 100644 Binary files a/tests/panels-features/panels-features-prototype.spec.js-snapshots/firefox/delete-flow.png and b/tests/panels-features/panels-features-prototype.spec.js-snapshots/firefox/delete-flow.png differ diff --git a/tests/panels-features/panels-features-prototype.spec.js-snapshots/firefox/rename-flow.png b/tests/panels-features/panels-features-prototype.spec.js-snapshots/firefox/rename-flow.png index 262b29c..59e51f2 100644 Binary files a/tests/panels-features/panels-features-prototype.spec.js-snapshots/firefox/rename-flow.png and b/tests/panels-features/panels-features-prototype.spec.js-snapshots/firefox/rename-flow.png differ diff --git a/tests/panels-features/panels-features-prototype.spec.js-snapshots/webkit/add-2nd-flow.png b/tests/panels-features/panels-features-prototype.spec.js-snapshots/webkit/add-2nd-flow.png index c2168ec..53b3fdd 100644 Binary files a/tests/panels-features/panels-features-prototype.spec.js-snapshots/webkit/add-2nd-flow.png and b/tests/panels-features/panels-features-prototype.spec.js-snapshots/webkit/add-2nd-flow.png differ diff --git a/tests/panels-features/panels-features-prototype.spec.js-snapshots/webkit/add-interaction.png b/tests/panels-features/panels-features-prototype.spec.js-snapshots/webkit/add-interaction.png index 192b029..611a6ed 100644 Binary files a/tests/panels-features/panels-features-prototype.spec.js-snapshots/webkit/add-interaction.png and b/tests/panels-features/panels-features-prototype.spec.js-snapshots/webkit/add-interaction.png differ diff --git a/tests/panels-features/panels-features-prototype.spec.js-snapshots/webkit/connector-between-board2-and-board1.png b/tests/panels-features/panels-features-prototype.spec.js-snapshots/webkit/connector-between-board2-and-board1.png index 4e3feae..cedd4a8 100644 Binary files a/tests/panels-features/panels-features-prototype.spec.js-snapshots/webkit/connector-between-board2-and-board1.png and b/tests/panels-features/panels-features-prototype.spec.js-snapshots/webkit/connector-between-board2-and-board1.png differ diff --git a/tests/panels-features/panels-features-prototype.spec.js-snapshots/webkit/connector-between-board2-and-board3.png b/tests/panels-features/panels-features-prototype.spec.js-snapshots/webkit/connector-between-board2-and-board3.png index d322b75..fd85b38 100644 Binary files a/tests/panels-features/panels-features-prototype.spec.js-snapshots/webkit/connector-between-board2-and-board3.png and b/tests/panels-features/panels-features-prototype.spec.js-snapshots/webkit/connector-between-board2-and-board3.png differ diff --git a/tests/panels-features/panels-features-prototype.spec.js-snapshots/webkit/delete-flow.png b/tests/panels-features/panels-features-prototype.spec.js-snapshots/webkit/delete-flow.png index 55f6c0c..4362e6a 100644 Binary files a/tests/panels-features/panels-features-prototype.spec.js-snapshots/webkit/delete-flow.png and b/tests/panels-features/panels-features-prototype.spec.js-snapshots/webkit/delete-flow.png differ diff --git a/tests/panels-features/panels-features-prototype.spec.js-snapshots/webkit/rename-flow.png b/tests/panels-features/panels-features-prototype.spec.js-snapshots/webkit/rename-flow.png index 27aa6f5..099ed05 100644 Binary files a/tests/panels-features/panels-features-prototype.spec.js-snapshots/webkit/rename-flow.png and b/tests/panels-features/panels-features-prototype.spec.js-snapshots/webkit/rename-flow.png differ diff --git a/tests/panels-features/panels-features-zoom.spec.js-snapshots/firefox/canvas-zoom-default.png b/tests/panels-features/panels-features-zoom.spec.js-snapshots/firefox/canvas-zoom-default.png index d1941d7..69c0ff3 100644 Binary files a/tests/panels-features/panels-features-zoom.spec.js-snapshots/firefox/canvas-zoom-default.png and b/tests/panels-features/panels-features-zoom.spec.js-snapshots/firefox/canvas-zoom-default.png differ diff --git a/tests/panels-features/panels-features-zoom.spec.js-snapshots/firefox/canvas-zoom-in.png b/tests/panels-features/panels-features-zoom.spec.js-snapshots/firefox/canvas-zoom-in.png index 20c79b2..99bfc4c 100644 Binary files a/tests/panels-features/panels-features-zoom.spec.js-snapshots/firefox/canvas-zoom-in.png and b/tests/panels-features/panels-features-zoom.spec.js-snapshots/firefox/canvas-zoom-in.png differ diff --git a/tests/panels-features/panels-features-zoom.spec.js-snapshots/firefox/canvas-zoom-out.png b/tests/panels-features/panels-features-zoom.spec.js-snapshots/firefox/canvas-zoom-out.png index 81d4946..8fa7fb5 100644 Binary files a/tests/panels-features/panels-features-zoom.spec.js-snapshots/firefox/canvas-zoom-out.png and b/tests/panels-features/panels-features-zoom.spec.js-snapshots/firefox/canvas-zoom-out.png differ diff --git a/tests/panels-features/panels-features-zoom.spec.js-snapshots/firefox/canvas-zoom-to-fit-all.png b/tests/panels-features/panels-features-zoom.spec.js-snapshots/firefox/canvas-zoom-to-fit-all.png index b0df325..f95e07d 100644 Binary files a/tests/panels-features/panels-features-zoom.spec.js-snapshots/firefox/canvas-zoom-to-fit-all.png and b/tests/panels-features/panels-features-zoom.spec.js-snapshots/firefox/canvas-zoom-to-fit-all.png differ diff --git a/tests/panels-features/panels-features-zoom.spec.js-snapshots/firefox/canvas-zoom-to-selected.png b/tests/panels-features/panels-features-zoom.spec.js-snapshots/firefox/canvas-zoom-to-selected.png index 4aa0ca6..f262f6f 100644 Binary files a/tests/panels-features/panels-features-zoom.spec.js-snapshots/firefox/canvas-zoom-to-selected.png and b/tests/panels-features/panels-features-zoom.spec.js-snapshots/firefox/canvas-zoom-to-selected.png differ diff --git a/tests/panels-features/panels-features-zoom.spec.js-snapshots/webkit/canvas-zoom-default.png b/tests/panels-features/panels-features-zoom.spec.js-snapshots/webkit/canvas-zoom-default.png index 706fad8..2e355c2 100644 Binary files a/tests/panels-features/panels-features-zoom.spec.js-snapshots/webkit/canvas-zoom-default.png and b/tests/panels-features/panels-features-zoom.spec.js-snapshots/webkit/canvas-zoom-default.png differ diff --git a/tests/panels-features/panels-features-zoom.spec.js-snapshots/webkit/canvas-zoom-in.png b/tests/panels-features/panels-features-zoom.spec.js-snapshots/webkit/canvas-zoom-in.png index 0d734e4..10b3cab 100644 Binary files a/tests/panels-features/panels-features-zoom.spec.js-snapshots/webkit/canvas-zoom-in.png and b/tests/panels-features/panels-features-zoom.spec.js-snapshots/webkit/canvas-zoom-in.png differ diff --git a/tests/panels-features/panels-features-zoom.spec.js-snapshots/webkit/canvas-zoom-out.png b/tests/panels-features/panels-features-zoom.spec.js-snapshots/webkit/canvas-zoom-out.png index aa6ad86..ebc08d1 100644 Binary files a/tests/panels-features/panels-features-zoom.spec.js-snapshots/webkit/canvas-zoom-out.png and b/tests/panels-features/panels-features-zoom.spec.js-snapshots/webkit/canvas-zoom-out.png differ diff --git a/tests/panels-features/panels-features-zoom.spec.js-snapshots/webkit/canvas-zoom-to-fit-all.png b/tests/panels-features/panels-features-zoom.spec.js-snapshots/webkit/canvas-zoom-to-fit-all.png index aae47eb..c5e5ef2 100644 Binary files a/tests/panels-features/panels-features-zoom.spec.js-snapshots/webkit/canvas-zoom-to-fit-all.png and b/tests/panels-features/panels-features-zoom.spec.js-snapshots/webkit/canvas-zoom-to-fit-all.png differ diff --git a/tests/panels-features/panels-features-zoom.spec.js-snapshots/webkit/canvas-zoom-to-selected.png b/tests/panels-features/panels-features-zoom.spec.js-snapshots/webkit/canvas-zoom-to-selected.png index f753d7e..371cc08 100644 Binary files a/tests/panels-features/panels-features-zoom.spec.js-snapshots/webkit/canvas-zoom-to-selected.png and b/tests/panels-features/panels-features-zoom.spec.js-snapshots/webkit/canvas-zoom-to-selected.png differ