Remove photo row from tests

old-stable24
Varun Patil 2022-10-16 18:07:15 -07:00
parent 400d974aa7
commit 3d4ace8b33
1 changed files with 2 additions and 2 deletions

View File

@ -16,8 +16,8 @@ test.describe('Open', () => {
});
test('Select two images and delete', async ({ page }) => {
const i1 = "div:nth-child(2) > .photo-row > div:nth-child(1) > .p-outer";
const i2 = "div:nth-child(2) > .photo-row > div:nth-child(2) > .p-outer";
const i1 = "div:nth-child(2) > div:nth-child(1) > .p-outer";
const i2 = "div:nth-child(2) > div:nth-child(2) > .p-outer";
const src1 = await page.locator(`${i1} > .img-outer > img`).first().getAttribute('src');
const src2 = await page.locator(`${i2} > .img-outer > img`).first().getAttribute('src');