wip: optimizations
This commit is contained in:
@@ -621,7 +621,9 @@ async function answerIncomingCall(page: Page): Promise<void> {
|
||||
if (await dialog.isVisible({ timeout: 5_000 }).catch(() => false)) {
|
||||
await dialog.getByRole('button', { name: 'Answer' }).click();
|
||||
} else {
|
||||
await page.getByRole('button', { name: 'Open private call' }).last().click();
|
||||
await page.getByRole('button', { name: 'Open private call' }).last()
|
||||
.click();
|
||||
|
||||
await expect(page).toHaveURL(/\/call\//, { timeout: 20_000 });
|
||||
|
||||
const joinButton = page.getByRole('button', { name: 'Join call' });
|
||||
|
||||
Reference in New Issue
Block a user