Skip to content

Commit 299831f

Browse files
committed
fix: tests
1 parent b068ec1 commit 299831f

File tree

3 files changed

+5
-4
lines changed

3 files changed

+5
-4
lines changed

tests/suites/paginatedTable/paginatedTable.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ export class TableControls {
2424
this.columnSetupButton = this.tableSelector.locator(
2525
'.g-tree-select.g-table-column-setup button',
2626
);
27-
this.columnSetupPopup = page.locator('.g-popup .g-select-popup.g-tree-select__popup');
27+
this.columnSetupPopup = page.locator('.g-popup.g-tree-select__popup');
2828
}
2929

3030
async search(searchTerm: string) {

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -35,12 +35,12 @@ export class SettingsDialog {
3535
this.limitRowsErrorIcon = this.dialog.locator(
3636
'.ydb-query-settings-dialog__limit-rows [data-qa="control-error-icon-qa"]',
3737
);
38-
this.limitRowsErrorPopover = this.page.locator('.g-popover__tooltip-content');
38+
this.limitRowsErrorPopover = this.page.locator('.g-popover-legacy__tooltip-content');
3939
this.selectPopup = page.locator('.ydb-query-settings-select__popup');
4040
this.timeoutInput = this.dialog.locator('.ydb-query-settings-timeout__input');
4141
this.timeoutSwitch = this.dialog.locator('.ydb-timeout-label__switch');
4242
this.timeoutSwitchHint = this.dialog.locator('.ydb-timeout-label__question-icon');
43-
this.timeoutHintPopover = this.page.locator('.g-popover__tooltip-content');
43+
this.timeoutHintPopover = this.page.locator('.g-popover-legacy__tooltip-content');
4444
this.timeoutLabel = this.dialog.locator('.ydb-timeout-label__label-title');
4545

4646
// Define distinct locators for selects

tests/suites/tenant/summary/ObjectSummary.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -277,7 +277,8 @@ export class ObjectSummary {
277277
}
278278

279279
async clickTab(tabName: ObjectSummaryTab): Promise<void> {
280-
const tab = this.tabs.locator(`.ydb-object-summary__tab:has-text("${tabName}")`);
280+
const dataTab = tabName.toLowerCase();
281+
const tab = this.tabs.locator(`button[data-tab="${dataTab}"]`);
281282
await tab.click();
282283
}
283284

0 commit comments

Comments
 (0)