test: hover over image for selector

cache
Varun Patil 2022-10-12 20:16:50 -07:00
parent 1ec66f5358
commit bc6001ca44
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);