ov-components: update theme selector test to use togglePanel for settings

master
Carlos Santos 2025-09-25 17:12:24 +02:00
parent fe97022182
commit 1c21097f59
1 changed files with 2 additions and 2 deletions

View File

@ -85,13 +85,13 @@ describe('Testing Internal Directives', () => {
it('should show/hide theme selector with showThemeSelector directive', async () => {
await browser.get(`${url}&prejoin=false&showThemeSelector=true`);
await utils.checkSessionIsPresent();
await utils.toggleToolbarMoreOptions();
await utils.togglePanel('settings');
expect(await utils.isPresent('.theme-selector-container')).toBeTrue();
await browser.get(`${url}&prejoin=false`);
await browser.navigate().refresh();
await utils.checkSessionIsPresent();
await utils.toggleToolbarMoreOptions();
await utils.togglePanel('settings');
expect(await utils.isPresent('.theme-selector-container')).toBeFalse();
});
});