diff --git a/tests/integration/install/installApp.spec.ts b/tests/integration/install/installApp.spec.ts index e31657252..ae551f62c 100644 --- a/tests/integration/install/installApp.spec.ts +++ b/tests/integration/install/installApp.spec.ts @@ -1,7 +1,7 @@ import { expect, test } from '../testExtensions'; test.describe('Install App', () => { - test('Can install app', async ({ installWizard, installedApp, serverStart, testEnvironment, window }) => { + test('Can install app', async ({ installWizard, installedApp, serverStart, testEnvironment }) => { test.slow(); await installWizard.clickGetStarted(); @@ -33,7 +33,6 @@ test.describe('Install App', () => { // Confirm post-install app state is as expected await expect(installedApp.firstTimeTemplateWorkflowText).toBeVisible({ timeout: 30 * 1000 }); - const templatesGrid = window.getByTestId('template-workflows-content'); - await expect(window).toHaveScreenshot('installApp.png', { mask: [templatesGrid] }); + await expect(installedApp.templatesGrid).toBeVisible({ timeout: 30 * 1000 }); }); }); diff --git a/tests/integration/install/installWizard.spec.ts-snapshots/choose-installation-location-install-win32.png b/tests/integration/install/installWizard.spec.ts-snapshots/choose-installation-location-install-win32.png index f10082e6a..464e4e5d2 100644 Binary files a/tests/integration/install/installWizard.spec.ts-snapshots/choose-installation-location-install-win32.png and b/tests/integration/install/installWizard.spec.ts-snapshots/choose-installation-location-install-win32.png differ diff --git a/tests/integration/install/installWizard.spec.ts-snapshots/cpu-clicked-install-win32.png b/tests/integration/install/installWizard.spec.ts-snapshots/cpu-clicked-install-win32.png index c5417d558..85e148b3d 100644 Binary files a/tests/integration/install/installWizard.spec.ts-snapshots/cpu-clicked-install-win32.png and b/tests/integration/install/installWizard.spec.ts-snapshots/cpu-clicked-install-win32.png differ diff --git a/tests/integration/install/installWizard.spec.ts-snapshots/desktop-app-settings-install-win32.png b/tests/integration/install/installWizard.spec.ts-snapshots/desktop-app-settings-install-win32.png index 84237c6bb..6006894b5 100644 Binary files a/tests/integration/install/installWizard.spec.ts-snapshots/desktop-app-settings-install-win32.png and b/tests/integration/install/installWizard.spec.ts-snapshots/desktop-app-settings-install-win32.png differ diff --git a/tests/integration/install/installWizard.spec.ts-snapshots/get-started-install-win32.png b/tests/integration/install/installWizard.spec.ts-snapshots/get-started-install-win32.png index 8d58cb5df..6d5412820 100644 Binary files a/tests/integration/install/installWizard.spec.ts-snapshots/get-started-install-win32.png and b/tests/integration/install/installWizard.spec.ts-snapshots/get-started-install-win32.png differ diff --git a/tests/integration/install/installWizard.spec.ts-snapshots/select-gpu-install-win32.png b/tests/integration/install/installWizard.spec.ts-snapshots/select-gpu-install-win32.png index b281e8d62..d49fc6cd4 100644 Binary files a/tests/integration/install/installWizard.spec.ts-snapshots/select-gpu-install-win32.png and b/tests/integration/install/installWizard.spec.ts-snapshots/select-gpu-install-win32.png differ diff --git a/tests/integration/post-install/troubleshooting.spec.ts-snapshots/troubleshooting-post-install-win32.png b/tests/integration/post-install/troubleshooting.spec.ts-snapshots/troubleshooting-post-install-win32.png index eee6b5b6a..35f86a980 100644 Binary files a/tests/integration/post-install/troubleshooting.spec.ts-snapshots/troubleshooting-post-install-win32.png and b/tests/integration/post-install/troubleshooting.spec.ts-snapshots/troubleshooting-post-install-win32.png differ diff --git a/tests/integration/post-install/troubleshootingServerStart.spec.ts-snapshots/cannot-start-server-troubleshoot-cards-post-install-win32.png b/tests/integration/post-install/troubleshootingServerStart.spec.ts-snapshots/cannot-start-server-troubleshoot-cards-post-install-win32.png index 56233861d..895f7ce1a 100644 Binary files a/tests/integration/post-install/troubleshootingServerStart.spec.ts-snapshots/cannot-start-server-troubleshoot-cards-post-install-win32.png and b/tests/integration/post-install/troubleshootingServerStart.spec.ts-snapshots/cannot-start-server-troubleshoot-cards-post-install-win32.png differ diff --git a/tests/integration/post-install/troubleshootingServerStart.spec.ts-snapshots/cannot-start-server-troubleshoot-post-install-win32.png b/tests/integration/post-install/troubleshootingServerStart.spec.ts-snapshots/cannot-start-server-troubleshoot-post-install-win32.png index 926c72951..0beb76e06 100644 Binary files a/tests/integration/post-install/troubleshootingServerStart.spec.ts-snapshots/cannot-start-server-troubleshoot-post-install-win32.png and b/tests/integration/post-install/troubleshootingServerStart.spec.ts-snapshots/cannot-start-server-troubleshoot-post-install-win32.png differ diff --git a/tests/integration/post-install/troubleshootingVenv.spec.ts-snapshots/troubleshooting-venv-post-install-win32.png b/tests/integration/post-install/troubleshootingVenv.spec.ts-snapshots/troubleshooting-venv-post-install-win32.png index 2efc360f8..7b5d0cdb1 100644 Binary files a/tests/integration/post-install/troubleshootingVenv.spec.ts-snapshots/troubleshooting-venv-post-install-win32.png and b/tests/integration/post-install/troubleshootingVenv.spec.ts-snapshots/troubleshooting-venv-post-install-win32.png differ diff --git a/tests/integration/testInstalledApp.ts b/tests/integration/testInstalledApp.ts index e6a51f848..f19930c39 100644 --- a/tests/integration/testInstalledApp.ts +++ b/tests/integration/testInstalledApp.ts @@ -9,6 +9,7 @@ export class TestInstalledApp { readonly uiBlockedSpinner; readonly firstTimeTemplateWorkflowText; + readonly templatesGrid; constructor(readonly window: Page) { this.graphCanvas = new TestGraphCanvas(window); @@ -17,6 +18,7 @@ export class TestInstalledApp { // Use canvas container as a stable readiness indicator instead of text this.firstTimeTemplateWorkflowText = this.graphCanvas.canvasContainer; + this.templatesGrid = this.window.getByTestId('template-workflows-content'); } /** Waits until the app is completely loaded. */