From ffbc1f5e5d92bb8d0754c588833c2b1efb5dbc51 Mon Sep 17 00:00:00 2001 From: Carlos Santos <4a.santos@gmail.com> Date: Thu, 22 May 2025 12:09:13 +0200 Subject: [PATCH] ov-components: update toolbar additional panel button count in tests and template --- .../e2e/nested-components/structural-directives.test.ts | 2 +- .../src/app/testing-app/testing.component.html | 3 --- 2 files changed, 1 insertion(+), 4 deletions(-) diff --git a/openvidu-components-angular/e2e/nested-components/structural-directives.test.ts b/openvidu-components-angular/e2e/nested-components/structural-directives.test.ts index 170e02eb..c283a660 100644 --- a/openvidu-components-angular/e2e/nested-components/structural-directives.test.ts +++ b/openvidu-components-angular/e2e/nested-components/structural-directives.test.ts @@ -133,7 +133,7 @@ describe('OpenVidu Components STRUCTURAL toolbar directives', () => { expect(await utils.isPresent('#custom-toolbar-additional-panel-buttons')).toBeTrue(); 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 expect(await utils.isPresent('#custom-toolbar')).toBeFalse(); diff --git a/openvidu-components-angular/src/app/testing-app/testing.component.html b/openvidu-components-angular/src/app/testing-app/testing.component.html index 53a97d95..b168f206 100644 --- a/openvidu-components-angular/src/app/testing-app/testing.component.html +++ b/openvidu-components-angular/src/app/testing-app/testing.component.html @@ -136,9 +136,6 @@ -