Skip to content

Commit 4f99f5a

Browse files
committed
fix: test
1 parent 8a46680 commit 4f99f5a

File tree

6 files changed

+9
-9
lines changed

6 files changed

+9
-9
lines changed

tests/suites/paginatedTable/paginatedTable.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ export class TableControls {
1717
this.page = page;
1818
this.tableSelector = tableSelector;
1919
this.searchInput = this.tableSelector.locator('.ydb-search input');
20-
this.radioButtons = this.tableSelector.locator('.g-radio-button');
20+
this.radioButtons = this.tableSelector.locator('.g-segmented-radio-group');
2121
this.countLabel = this.tableSelector.locator('.ydb-entities-count .g-label__content');
2222
this.refreshButton = page.locator('.auto-refresh-control button[aria-label="Refresh"]');
2323
this.refreshIntervalSelect = page.getByTestId('ydb-autorefresh-select');

tests/suites/sidebar/Sidebar.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -191,7 +191,7 @@ export class Sidebar {
191191
.filter({hasText: 'ACL syntax format'});
192192

193193
// Then find the radio button group within that item
194-
return aclSettingsItem.locator('.g-radio-button');
194+
return aclSettingsItem.locator('.g-segmented-radio-group');
195195
}
196196

197197
async getSelectedAclSyntax(): Promise<string> {

tests/suites/tenant/TenantPage.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ export class TenantPage extends PageModel {
3131
super(page, tenantPage);
3232

3333
this.navigation = page.locator('.ydb-tenant-navigation');
34-
this.radioGroup = this.navigation.locator('.g-radio-button');
34+
this.radioGroup = this.navigation.locator('.g-segmented-radio-group');
3535
this.diagnosticsContainer = page.locator('.kv-tenant-diagnostics');
3636
this.emptyState = page.locator('.empty-state');
3737
this.emptyStateTitle = this.emptyState.locator('.empty-state__title');

tests/suites/tenant/diagnostics/Diagnostics.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -298,7 +298,7 @@ export class Diagnostics {
298298
this.autoRefreshSelect = page.locator('.g-select');
299299
this.table = new Table(page.locator('.object-general'));
300300
this.tableRadioButton = page.locator(
301-
'.ydb-table-with-controls-layout__controls .g-radio-button',
301+
'.ydb-table-with-controls-layout__controls .g-segmented-radio-group',
302302
);
303303
this.fixedHeightQueryElements = page.locator('.ydb-fixed-height-query');
304304
this.copyLinkButton = page.locator('.ydb-copy-link-button__icon');

tests/suites/tenant/queryEditor/models/QueryEditor.ts

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -81,7 +81,9 @@ export class QueryEditor {
8181
this.executionStatus = this.selector.locator('.kv-query-execution-status .g-text');
8282
this.resultsControls = this.selector.locator('.ydb-query-result__controls');
8383
this.elapsedTimeLabel = this.selector.locator('.kv-query-execution-status .g-label__value');
84-
this.radioButton = this.selector.locator('.query-editor__pane-wrapper .g-radio-button');
84+
this.radioButton = this.selector.locator(
85+
'.query-editor__pane-wrapper .g-segmented-radio-group',
86+
);
8587
this.banner = this.page.locator('.ydb-query-settings-banner');
8688

8789
this.settingsDialog = new SettingsDialog(page);

tests/suites/tenant/queryEditor/models/ResultTable.ts

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ export class PaneWrapper {
1010

1111
constructor(page: Page) {
1212
this.paneWrapper = page.locator('.query-editor__pane-wrapper');
13-
this.radioButton = this.paneWrapper.locator('.g-radio-button');
13+
this.radioButton = this.paneWrapper.locator('.g-segmented-radio-group');
1414
}
1515

1616
async selectTab(tabName: ResultTabNames) {
@@ -71,9 +71,7 @@ export class ResultTable {
7171
}
7272

7373
async getResultTabs() {
74-
const tabs = this.resultWrapper.locator(
75-
'.ydb-query-result-sets-viewer__tabs .g-tabs__item',
76-
);
74+
const tabs = this.resultWrapper.locator('.ydb-query-result-sets-viewer__tabs .g-tab');
7775
await tabs.first().waitFor({state: 'visible', timeout: VISIBILITY_TIMEOUT});
7876
return tabs;
7977
}

0 commit comments

Comments
 (0)