test: hover over image for selector
parent
1ec66f5358
commit
bc6001ca44
|
@ -25,6 +25,7 @@ test.describe('Open', () => {
|
||||||
expect(await page.locator(`img[src="${src1}"]`).count()).toBe(1);
|
expect(await page.locator(`img[src="${src1}"]`).count()).toBe(1);
|
||||||
expect(await page.locator(`img[src="${src2}"]`).count()).toBe(1);
|
expect(await page.locator(`img[src="${src2}"]`).count()).toBe(1);
|
||||||
|
|
||||||
|
await page.locator(`${i1}`).hover();
|
||||||
await page.locator(`${i1} > .select`).click();
|
await page.locator(`${i1} > .select`).click();
|
||||||
await page.locator(`${i2}`).click();
|
await page.locator(`${i2}`).click();
|
||||||
await page.waitForTimeout(1000);
|
await page.waitForTimeout(1000);
|
||||||
|
|
Loading…
Reference in New Issue