Skip to content

Commit d4f528c

Browse files
authored
fix: turn off default paginated tables (#1475)
1 parent 1194b34 commit d4f528c

File tree

3 files changed

+5
-3
lines changed

3 files changed

+5
-3
lines changed

src/services/settings.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ export const DEFAULT_USER_SETTINGS = {
3636
[LAST_USED_QUERY_ACTION_KEY]: QUERY_ACTIONS.execute,
3737
[ASIDE_HEADER_COMPACT_KEY]: true,
3838
[PARTITIONS_HIDDEN_COLUMNS_KEY]: [],
39-
[USE_PAGINATED_TABLES_KEY]: true,
39+
[USE_PAGINATED_TABLES_KEY]: false,
4040
[USE_CLUSTER_BALANCER_AS_BACKEND_KEY]: true,
4141
[ENABLE_AUTOCOMPLETE]: true,
4242
[AUTOCOMPLETE_ON_ENTER]: true,

tests/suites/nodes/NodesPage.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,13 +2,14 @@ import type {Locator, Page} from '@playwright/test';
22

33
import {PageModel} from '../../models/PageModel';
44
import {nodesPage} from '../../utils/constants';
5+
import {selectContentTable} from '../../utils/selectContentTable';
56

67
export class NodesPage extends PageModel {
78
readonly table: Locator;
89

910
constructor(page: Page) {
1011
super(page, nodesPage);
1112

12-
this.table = this.selector.locator('.ydb-paginated-table__table');
13+
this.table = selectContentTable(this.selector);
1314
}
1415
}

tests/suites/storage/StoragePage.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@ import type {Locator, Page} from '@playwright/test';
22

33
import {PageModel} from '../../models/PageModel';
44
import {storagePage} from '../../utils/constants';
5+
import {selectContentTable} from '../../utils/selectContentTable';
56

67
type EntityType = 'Groups' | 'Nodes';
78

@@ -14,7 +15,7 @@ export class StoragePage extends PageModel {
1415
constructor(page: Page) {
1516
super(page, storagePage);
1617

17-
this.table = this.selector.locator('.ydb-paginated-table__table');
18+
this.table = selectContentTable(this.selector);
1819

1920
this.entityTypeSelector = this.selector.getByTestId(storageTypeFilterQa);
2021
}

0 commit comments

Comments
 (0)