From 2e9c8bd3ceddf93678bf7d52bfcc8c90bc9164be Mon Sep 17 00:00:00 2001 From: Timo K Date: Thu, 9 Apr 2026 16:47:42 +0200 Subject: [PATCH] fix playwright tests --- playwright/mobile/create-call-mobile.spec.ts | 4 +++- src/room/InCallView.module.css | 4 ++-- 2 files changed, 5 insertions(+), 3 deletions(-) diff --git a/playwright/mobile/create-call-mobile.spec.ts b/playwright/mobile/create-call-mobile.spec.ts index 1c4eef57..de1e65d1 100644 --- a/playwright/mobile/create-call-mobile.spec.ts +++ b/playwright/mobile/create-call-mobile.spec.ts @@ -104,7 +104,9 @@ mobileTest( // Open settings to select earpiece await guestPage.getByRole("button", { name: "Settings" }).click(); - await guestPage.getByText("Handset", { exact: true }).click(); + await guestPage + .getByRole("radio", { name: "Handset", exact: true }) + .click(); // dismiss settings await guestPage.locator("#root").getByLabel("Settings").press("Escape"); diff --git a/src/room/InCallView.module.css b/src/room/InCallView.module.css index 92f1fc7a..f5ba5d5a 100644 --- a/src/room/InCallView.module.css +++ b/src/room/InCallView.module.css @@ -113,9 +113,9 @@ Once we exceed 500 we hide everything except the buttons. grid-template-areas: "buttons buttons buttons"; } - .settingsLogoContainer { + /*.settingsLogoContainer { display: none; - } + }*/ .layout { display: none !important;