Skip to content
Snippets Groups Projects
Unverified Commit 1cb8101e authored by Weslley Campos's avatar Weslley Campos Committed by GitHub
Browse files

Chore: Tests intermitences (#26464)

parent a97e926f
No related branches found
No related tags found
No related merge requests found
......@@ -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;
......@@ -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 () => {
......
......@@ -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();
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment