e2e: fix viewer close

cache
Varun Patil 2022-10-10 17:13:26 -07:00
parent 9c6522480f
commit d779a9ea22
1 changed files with 1 additions and 1 deletions

View File

@ -12,7 +12,7 @@ test.describe('Open', () => {
test('Open one image', async ({ page }) => { test('Open one image', async ({ page }) => {
await page.locator('div:nth-child(2) > .p-outer > .img-outer > img').first().click(); await page.locator('div:nth-child(2) > .p-outer > .img-outer > img').first().click();
await page.waitForTimeout(1000); await page.waitForTimeout(1000);
await page.locator('button:has-text("Close")').first().click(); await page.locator('button.header-close').first().click();
}); });
test('Select two images and delete', async ({ page }) => { test('Select two images and delete', async ({ page }) => {