test: hover over image for selector

old-stable24
Varun Patil 2022-10-12 20:16:50 -07:00
parent 613178bb0b
commit 35d867d8c8
1 changed files with 1 additions and 0 deletions

View File

@ -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);