diff --git a/apps/meteor/playwright.config.ts b/apps/meteor/playwright.config.ts index ec0373a71e5f..16dccee0aade 100644 --- a/apps/meteor/playwright.config.ts +++ b/apps/meteor/playwright.config.ts @@ -20,9 +20,9 @@ export default { outputDir: 'tests/e2e/.playwright', reporter: process.env.CI ? 'github' : 'list', testDir: 'tests/e2e', - workers: process.env.CI ? 2 : undefined, - timeout: process.env.CI ? 2000_000 : 600_000, + workers: 1, retries: process.env.CI ? 2 : undefined, - globalTimeout: 2000_000, + timeout: 60 * 1000, + globalTimeout: 40 * 60 * 1000, maxFailures: process.env.CI ? 5 : undefined, } as PlaywrightTestConfig; diff --git a/apps/meteor/tests/e2e/administration.spec.ts b/apps/meteor/tests/e2e/administration.spec.ts index 6f9676a4f227..ab920f2ecb42 100644 --- a/apps/meteor/tests/e2e/administration.spec.ts +++ b/apps/meteor/tests/e2e/administration.spec.ts @@ -61,14 +61,9 @@ test.describe.parallel('administration', () => { }); test.describe('Settings', () => { - test.beforeEach(async () => { - await poAdmin.sidenav.linkSettings.click(); - }); - test.describe('General', () => { test.beforeEach(async ({ page }) => { - await poAdmin.inputSearchSettings.type('general'); - await page.locator('[data-qa-id="General"] >> text="Open"').click(); + await page.goto('/admin/settings/General'); }); test('expect be abble to reset a setting after a change', async () => { diff --git a/apps/meteor/tests/e2e/file-upload.spec.ts b/apps/meteor/tests/e2e/file-upload.spec.ts index 0a3aa1065407..ba19ba0e4a94 100644 --- a/apps/meteor/tests/e2e/file-upload.spec.ts +++ b/apps/meteor/tests/e2e/file-upload.spec.ts @@ -33,7 +33,7 @@ test.describe.serial('file-upload', () => { test('expect send file with name/description updated', async () => { await poHomeChannel.content.dragAndDropFile(); - await poHomeChannel.content.descriptionInput.type('any_description'); + await poHomeChannel.content.descriptionInput.fill('any_description'); await poHomeChannel.content.fileNameInput.fill('any_file1.txt'); await poHomeChannel.content.btnModalConfirm.click();