ov-components: update theme selector test to use togglePanel for settings
This commit is contained in:
parent
fe97022182
commit
1c21097f59
@ -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();
|
||||
});
|
||||
});
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user