make share button more specific
This commit is contained in:
parent
a38440bb19
commit
d3723a3e75
1 changed files with 1 additions and 1 deletions
|
|
@ -38,7 +38,7 @@ test("should be able to share video", async ({ page }) => {
|
|||
await expect(page).toHaveURL(/http:\/\/localhost:3000\/share\/[A-Za-z0-9]+/);
|
||||
|
||||
await page.getByText("Share").click();
|
||||
await page.locator('button[role="switch"]').click();
|
||||
await page.locator('div.mt-6 > button[role="switch"]').click();
|
||||
|
||||
await page.waitForTimeout(5000);
|
||||
});
|
||||
|
|
|
|||
Loading…
Reference in a new issue