From 71ab7961aefc27449cefb985ce2bfc2723fe2fab Mon Sep 17 00:00:00 2001 From: MUI bot <2109932+Janpot@users.noreply.github.com> Date: Tue, 27 Feb 2024 09:31:34 +0100 Subject: [PATCH] Update index.spec.ts --- test/visual/components/index.spec.ts | 3 +++ 1 file changed, 3 insertions(+) diff --git a/test/visual/components/index.spec.ts b/test/visual/components/index.spec.ts index 44fe4dd1a97..8bb737dba31 100644 --- a/test/visual/components/index.spec.ts +++ b/test/visual/components/index.spec.ts @@ -56,6 +56,7 @@ test('building layouts', async ({ page, argosScreenshot }) => { await editorModel.dragNewComponentToCanvas('FullWidth'); await expect(editorModel.appCanvas.getByTestId('node-hud-tag')).toBeVisible(); + await expect(page.getByLabel('All changes saved!')).toBeVisible(); await argosScreenshot('building-layout-1'); const firstFullWidthBoundingBox = await getNthFullWidthBoundingBox(0); @@ -68,6 +69,7 @@ test('building layouts', async ({ page, argosScreenshot }) => { ); await expect(editorModel.appCanvas.getByTestId('node-hud-tag')).toBeVisible(); + await expect(page.getByLabel('All changes saved!')).toBeVisible(); await argosScreenshot('building-layout-2'); const secondFullWidthBoundingBox = await getNthFullWidthBoundingBox(1); @@ -82,6 +84,7 @@ test('building layouts', async ({ page, argosScreenshot }) => { ); await expect(editorModel.appCanvas.getByTestId('node-hud-tag')).toBeVisible(); + await expect(page.getByLabel('All changes saved!')).toBeVisible(); await argosScreenshot('building-layout-3'); });