mirror of https://github.com/OpenVidu/openvidu.git
ov-components: update theme selector test to use togglePanel for settings
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…
Reference in New Issue