mirror of https://github.com/OpenVidu/openvidu.git
ov-components: update toolbar additional panel button count in tests and template
parent
a02e23763a
commit
ffbc1f5e5d
|
@ -133,7 +133,7 @@ describe('OpenVidu Components STRUCTURAL toolbar directives', () => {
|
||||||
expect(await utils.isPresent('#custom-toolbar-additional-panel-buttons')).toBeTrue();
|
expect(await utils.isPresent('#custom-toolbar-additional-panel-buttons')).toBeTrue();
|
||||||
|
|
||||||
element = await browser.findElements(By.id('toolbar-additional-panel-btn'));
|
element = await browser.findElements(By.id('toolbar-additional-panel-btn'));
|
||||||
expect(element.length).toEqual(2);
|
expect(element.length).toEqual(1);
|
||||||
|
|
||||||
// Check if custom toolbar not is present
|
// Check if custom toolbar not is present
|
||||||
expect(await utils.isPresent('#custom-toolbar')).toBeFalse();
|
expect(await utils.isPresent('#custom-toolbar')).toBeFalse();
|
||||||
|
|
|
@ -136,9 +136,6 @@
|
||||||
<button mat-icon-button id="toolbar-additional-panel-btn" (click)="toggleMyPanel('my-panel')">
|
<button mat-icon-button id="toolbar-additional-panel-btn" (click)="toggleMyPanel('my-panel')">
|
||||||
<mat-icon>fullscreen_exit</mat-icon>
|
<mat-icon>fullscreen_exit</mat-icon>
|
||||||
</button>
|
</button>
|
||||||
<button mat-icon-button id="toolbar-additional-panel-btn" (click)="toggleMyPanel('my-panel')">
|
|
||||||
<mat-icon>star</mat-icon>
|
|
||||||
</button>
|
|
||||||
</div>
|
</div>
|
||||||
</ng-template>
|
</ng-template>
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue