Attempt to fix tests

pull/62/head
Varun Patil 2022-09-15 20:31:21 -07:00
parent 63c7d93198
commit a2662bcb4d
2 changed files with 2 additions and 2 deletions

View File

@ -5,7 +5,7 @@ test.beforeEach(login('/folders'));
test.describe('Open', () => {
test('Look for Folders', async ({ page }) => {
expect(await page.locator('.big-icon > .folder-icon').count(), 'Number of folders').toBe(2);
expect(await page.locator('.big-icon').count(), 'Number of folders').toBe(2);
});
test('Open folder', async ({ page }) => {

View File

@ -25,7 +25,7 @@ test.describe('Open', () => {
expect(await page.locator(`img[src="${src1}"]`).count()).toBe(1);
expect(await page.locator(`img[src="${src2}"]`).count()).toBe(1);
await page.locator(`${i1} > .check-icon`).click();
await page.locator(`${i1} > .select`).click();
await page.locator(`${i2}`).click();
await page.waitForTimeout(1000);