Attempt to fix tests
parent
63c7d93198
commit
a2662bcb4d
|
@ -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 }) => {
|
||||
|
|
|
@ -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);
|
||||
|
||||
|
|
Loading…
Reference in New Issue