diff --git a/packages/tests/src/utils/playwrightOperation.ts b/packages/tests/src/utils/playwrightOperation.ts index c46b3f224a..d131d53cd1 100644 --- a/packages/tests/src/utils/playwrightOperation.ts +++ b/packages/tests/src/utils/playwrightOperation.ts @@ -3114,25 +3114,8 @@ export async function validateMeeting(page: Page, name: string) { console.log("meeting tab loaded successfully"); // clean up - const tabCardContainer = await cleanupInstalledApp(page, "Home"); + await cleanupInstalledApp(page, "Home"); - // send message - { - const frameElementHandle = await page.waitForSelector( - `iframe[name="embedded-page-container"]` - ); - const frame = await frameElementHandle?.contentFrame(); - const chatTab = await tabCardContainer?.waitForSelector("button:has-text('Chat')"); - await chatTab?.click(); - await page.waitForTimeout(Timeout.shortTimeWait); - console.log("sending message: helloWorld"); - const textbox = await frame?.waitForSelector( - 'div.ck-content[role="textbox"]' - ); - await textbox?.fill("helloWorld"); - const sendButton = await frame?.waitForSelector('button[name="send"]'); - await sendButton?.click(); - } } catch (error) { await page.screenshot({ path: getPlaywrightScreenshotPath("error"),