@@ -85,7 +85,7 @@ async function screenshot(page: Page) {
8585 await page.locator('.p-icon--spinner.u-animation--spin.spinner').waitFor({ state: "hidden" })
8686 await screenshot(page)
8787 } else {
88− await expect.soft(page).toHaveScreenshot({ mask: [page.locator(".hide-in-test")], animations: "disabled", fullPage: true })
88+ await expect.soft(page).toHaveScreenshot({ animations: "disabled", fullPage: true })
8989 }
9090}
9191
@@ -109,6 +109,7 @@ function cipherPage(name: string) {
109109
110110test.beforeEach(async ({ page }) => {
111111 await page.goto(`file://${__dirname}/../../build/all/app/install/index.html`);
112+ await page.addStyleTag({ content: '.hide-in-test {opacity: 0;}' })
112113})
113114
114115if (process.env.RECORD_TEST === "true") {