File tree Expand file tree Collapse file tree 3 files changed +5
-4
lines changed Expand file tree Collapse file tree 3 files changed +5
-4
lines changed Original file line number Diff line number Diff 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 ) {
Original file line number Diff line number Diff 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
Original file line number Diff line number Diff 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
You can’t perform that action at this time.
0 commit comments