@@ -20,7 +20,7 @@ export class Sidebar {
2020 this . logoButton = this . sidebarContainer . locator ( '.gn-logo__btn-logo' ) ;
2121 this . footer = this . sidebarContainer . locator ( '.gn-aside-header__footer' ) ;
2222 this . drawer = page . locator ( '.gn-drawer' ) ;
23- this . popupContent = page . locator ( '.g -popup__content' ) ;
23+ this . popupContent = page . locator ( '.information -popup__content' ) ;
2424 this . hotkeysButton = this . popupContent . locator ( 'text=Keyboard shortcuts' ) ;
2525 this . hotkeysPanel = page . locator ( '.gn-hotkeys-panel__drawer-item' ) ;
2626 this . drawerMenu = page . locator ( '.gn-settings-menu' ) ;
@@ -196,7 +196,7 @@ export class Sidebar {
196196
197197 async getSelectedAclSyntax ( ) : Promise < string > {
198198 const radioGroup = await this . getAclSyntaxRadioGroup ( ) ;
199- const checkedOption = radioGroup . locator ( '.g-radio-button__option_checked ' ) ;
199+ const checkedOption = radioGroup . locator ( '.g-segmented- radio-group__option_checked ' ) ;
200200 const text = await checkedOption . textContent ( ) ;
201201 return text ?. trim ( ) || '' ;
202202 }
@@ -206,15 +206,15 @@ export class Sidebar {
206206 await this . drawer . waitFor ( { state : 'visible' } ) ;
207207
208208 const radioGroup = await this . getAclSyntaxRadioGroup ( ) ;
209- const option = radioGroup . locator ( `.g-radio-button__option :has-text("${ syntax } ")` ) ;
209+ const option = radioGroup . locator ( `.g-segmented- radio-group__option :has-text("${ syntax } ")` ) ;
210210 await option . click ( ) ;
211211 // Small delay to ensure the setting is saved
212212 await this . drawer . page ( ) . waitForTimeout ( 100 ) ;
213213 }
214214
215215 async getAclSyntaxOptions ( ) : Promise < string [ ] > {
216216 const radioGroup = await this . getAclSyntaxRadioGroup ( ) ;
217- const options = radioGroup . locator ( '.g-radio-button__option ' ) ;
217+ const options = radioGroup . locator ( '.g-segmented- radio-group__option ' ) ;
218218 const count = await options . count ( ) ;
219219 const texts : string [ ] = [ ] ;
220220 for ( let i = 0 ; i < count ; i ++ ) {
0 commit comments