Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 2 additions & 3 deletions tests/integration/install/installApp.spec.ts
Original file line number Diff line number Diff line change
@@ -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();
Expand Down Expand Up @@ -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 });
});
});
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 2 additions & 0 deletions tests/integration/testInstalledApp.ts
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ export class TestInstalledApp {
readonly uiBlockedSpinner;

readonly firstTimeTemplateWorkflowText;
readonly templatesGrid;

constructor(readonly window: Page) {
this.graphCanvas = new TestGraphCanvas(window);
Expand All @@ -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. */
Expand Down