Skip to content

Commit 0a59632

Browse files
committed
test: fix e2e tests
Signed-off-by: Dominikus Hellgartner <dominikus.hellgartner@tngtech.com>
1 parent 769c623 commit 0a59632

File tree

2 files changed

+4
-3
lines changed

2 files changed

+4
-3
lines changed

src/e2e-tests/utils/fixtures.ts

+3-2
Original file line numberDiff line numberDiff line change
@@ -102,8 +102,9 @@ export const test = base.extend<{
102102
width: 1920,
103103
height: 1080,
104104
});
105-
// eslint-disable-next-line playwright/no-networkidle
106-
await window.waitForLoadState('networkidle', { timeout: LOAD_TIMEOUT });
105+
await window.waitForLoadState('domcontentloaded', {
106+
timeout: LOAD_TIMEOUT,
107+
});
107108
await window
108109
.context()
109110
.tracing.start({ screenshots: true, snapshots: true });

src/shared/shared-constants.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ export const DEFAULT_PANEL_SIZES: NonNullable<UserSettings['panelSizes']> = {
1313

1414
export const DEFAULT_USER_SETTINGS: UserSettings = {
1515
qaMode: false,
16-
showProjectStatistics: true,
16+
showProjectStatistics: false,
1717
areHiddenSignalsVisible: false,
1818
showCriticality: true,
1919
showClassifications: true,

0 commit comments

Comments
 (0)