Skip to content

Commit 45e249a

Browse files
Anton StandrikAnton Standrik
authored andcommitted
fix: flaky tests
1 parent cf0a7ae commit 45e249a

File tree

2 files changed

+2
-4
lines changed

2 files changed

+2
-4
lines changed

tests/suites/tenant/TenantPage.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ import type {Locator, Page} from '@playwright/test';
33
import {PageModel} from '../../models/PageModel';
44
import {tenantPage} from '../../utils/constants';
55

6-
export const VISIBILITY_TIMEOUT = 5000;
6+
export const VISIBILITY_TIMEOUT = 10000;
77

88
export enum NavigationTabs {
99
Query = 'Query',

tests/suites/tenant/queryHistory/queryHistory.test.ts

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,11 @@
11
import {expect, test} from '@playwright/test';
22

33
import {tenantName} from '../../../utils/constants';
4-
import {TenantPage} from '../TenantPage';
4+
import {TenantPage, VISIBILITY_TIMEOUT} from '../TenantPage';
55
import {QueryEditor, QueryMode} from '../queryEditor/QueryEditor';
66

77
import executeQueryWithKeybinding from './utils';
88

9-
export const VISIBILITY_TIMEOUT = 5000;
10-
119
test.describe('Query History', () => {
1210
let tenantPage: TenantPage;
1311
let queryEditor: QueryEditor;

0 commit comments

Comments
 (0)