Skip to content

Commit cfc350d

Browse files
committed
feat: turn on paginated tables by default
1 parent e7da699 commit cfc350d

File tree

3 files changed

+3
-5
lines changed

3 files changed

+3
-5
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]: false,
39+
[USE_PAGINATED_TABLES_KEY]: true,
4040
[USE_CLUSTER_BALANCER_AS_BACKEND_KEY]: true,
4141
[ENABLE_AUTOCOMPLETE]: true,
4242
[AUTOCOMPLETE_ON_ENTER]: true,

tests/suites/nodes/NodesPage.ts

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,14 +2,13 @@ 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';
65

76
export class NodesPage extends PageModel {
87
readonly table: Locator;
98

109
constructor(page: Page) {
1110
super(page, nodesPage);
1211

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

tests/suites/storage/StoragePage.ts

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,6 @@ 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';
65

76
type EntityType = 'Groups' | 'Nodes';
87

@@ -15,7 +14,7 @@ export class StoragePage extends PageModel {
1514
constructor(page: Page) {
1615
super(page, storagePage);
1716

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

2019
this.entityTypeSelector = this.selector.getByTestId(storageTypeFilterQa);
2120
}

0 commit comments

Comments
 (0)