Remove timeouts (#13285)

Co-authored-by: Zeegaan <nge@umbraco.dk>
This commit is contained in:
Nikolaj Geisle
2022-10-24 14:59:56 +02:00
committed by GitHub
parent 73bbff0a01
commit 13e7534b43
27 changed files with 0 additions and 81 deletions

View File

@@ -11,9 +11,6 @@ import {
test.describe('Content tests', () => {
test.beforeEach(async ({page, umbracoApi}) => {
// TODO: REMOVE THIS WHEN SQLITE IS FIXED
// Wait so we don't bombard the API
await page.waitForTimeout(1000);
await umbracoApi.login();
});

View File

@@ -5,9 +5,6 @@ import {ContentBuilder, DocumentTypeBuilder} from "@umbraco/json-models-builders
test.describe('Recycle bin', () => {
test.beforeEach(async ({page, umbracoApi}) => {
// TODO: REMOVE THIS WHEN SQLITE IS FIXED
// Wait so we don't bombard the API
await page.waitForTimeout(1000);
await umbracoApi.login();
});

View File

@@ -12,9 +12,6 @@ test.describe('Routing', () => {
const rootDocTypeName = "Test document type";
test.beforeEach(async ({page, umbracoApi}) => {
// TODO: REMOVE THIS WHEN SQLITE IS FIXED
// Wait so we don't bombard the API
await page.waitForTimeout(1000);
await umbracoApi.login();
await umbracoApi.content.deleteAllContent();
await umbracoApi.documentTypes.ensureNameNotExists(rootDocTypeName);

View File

@@ -5,9 +5,6 @@ import {ContentBuilder, DocumentTypeBuilder, DomainBuilder} from "@umbraco/json-
test.describe('Vary by culture for TextBox', () => {
test.beforeEach(async ({page, umbracoApi, umbracoUi}) => {
// TODO: REMOVE THIS WHEN SQLITE IS FIXED
// Wait so we don't bombard the API
await page.waitForTimeout(1000);
await umbracoApi.login();
});

View File

@@ -6,9 +6,6 @@ test.describe('System Information', () => {
const dkCulture = "da-DK";
test.beforeEach(async ({page, umbracoApi}) => {
// TODO: REMOVE THIS WHEN SQLITE IS FIXED
// Wait so we don't bombard the API
await page.waitForTimeout(1000);
await umbracoApi.login();
await umbracoApi.users.setCurrentLanguage(enCulture);
});

View File

@@ -4,9 +4,6 @@ import {expect} from "@playwright/test";
test.describe('Languages', () => {
test.beforeEach(async ({page, umbracoApi}) => {
// TODO: REMOVE THIS WHEN SQLITE IS FIXED
// Wait so we don't bombard the API
await page.waitForTimeout(1000);
await umbracoApi.login();
});

View File

@@ -2,9 +2,6 @@ import { test, expect } from '@playwright/test';
test.describe('Login', () => {
test.beforeEach(async ({ page }) => {
// TODO: REMOVE THIS WHEN SQLITE IS FIXED
// Wait so we don't bombard the API
await page.waitForTimeout(1000);
await page.goto(process.env.URL + '/umbraco');
});
test('Login with correct username and password', async ({page}) => {

View File

@@ -4,9 +4,6 @@ import {ConstantHelper, test} from '@umbraco/playwright-testhelpers';
test.describe('media File Types', () => {
test.beforeEach(async ({page, umbracoApi, umbracoUi}) => {
// TODO: REMOVE THIS WHEN SQLITE IS FIXED
// Wait so we don't bombard the API
await page.waitForTimeout(1000);
await umbracoApi.login();
await umbracoUi.goToSection(ConstantHelper.sections.media);
await umbracoApi.media.deleteAllMedia();

View File

@@ -4,9 +4,6 @@ import {ConstantHelper, test} from '@umbraco/playwright-testhelpers';
test.describe('Media', () => {
test.beforeEach(async ({page, umbracoApi, umbracoUi}) => {
// TODO: REMOVE THIS WHEN SQLITE IS FIXED
// Wait so we don't bombard the API
await page.waitForTimeout(1000);
await umbracoApi.login();
await umbracoUi.goToSection(ConstantHelper.sections.media);
await umbracoApi.media.deleteAllMedia()

View File

@@ -3,9 +3,6 @@ import {ConstantHelper, test} from '@umbraco/playwright-testhelpers';
test.describe('Packages', () => {
test.beforeEach(async ({page, umbracoApi}) => {
// TODO: REMOVE THIS WHEN SQLITE IS FIXED
// Wait so we don't bombard the API
await page.waitForTimeout(1000);
await umbracoApi.login();
});

View File

@@ -3,9 +3,6 @@ import {ConstantHelper, test} from '@umbraco/playwright-testhelpers';
test.describe('Packages', () => {
test.beforeEach(async ({page, umbracoApi}) => {
// TODO: REMOVE THIS WHEN SQLITE IS FIXED
// Wait so we don't bombard the API
await page.waitForTimeout(1000);
await umbracoApi.login();
});

View File

@@ -8,9 +8,6 @@ test.describe('Packages', () => {
const rootDocTypeName = "Test document type";
const nodeName = "1) Home";
test.beforeEach(async ({page, umbracoApi}) => {
// TODO: REMOVE THIS WHEN SQLITE IS FIXED
// Wait so we don't bombard the API
await page.waitForTimeout(1000);
await umbracoApi.login();
});

View File

@@ -5,9 +5,6 @@ import {LabelDataTypeBuilder} from "@umbraco/json-models-builders";
test.describe('Data Types', () => {
test.beforeEach(async ({page, umbracoApi}) => {
// TODO: REMOVE THIS WHEN SQLITE IS FIXED
// Wait so we don't bombard the API
await page.waitForTimeout(1000);
await umbracoApi.login();
});

View File

@@ -4,9 +4,6 @@ import {DocumentTypeBuilder} from "@umbraco/json-models-builders";
test.describe('Document types', () => {
test.beforeEach(async ({ page, umbracoApi }) => {
// TODO: REMOVE THIS WHEN SQLITE IS FIXED
// Wait so we don't bombard the API
await page.waitForTimeout(1000);
await umbracoApi.login();
});

View File

@@ -3,9 +3,6 @@ import {expect} from "@playwright/test";
test.describe('Languages', () => {
test.beforeEach(async ({ page, umbracoApi }) => {
// TODO: REMOVE THIS WHEN SQLITE IS FIXED
// Wait so we don't bombard the API
await page.waitForTimeout(1000);
await umbracoApi.login();
});

View File

@@ -4,9 +4,6 @@ import {expect} from "@playwright/test";
test.describe('Media types', () => {
test.beforeEach(async ({ page, umbracoApi }) => {
// TODO: REMOVE THIS WHEN SQLITE IS FIXED
// Wait so we don't bombard the API
await page.waitForTimeout(1000);
await umbracoApi.login();
});

View File

@@ -2,9 +2,6 @@ import {ConstantHelper, test} from '@umbraco/playwright-testhelpers';
test.describe('Member Types', () => {
test.beforeEach(async ({page, umbracoApi}) => {
// TODO: REMOVE THIS WHEN SQLITE IS FIXED
// Wait so we don't bombard the API
await page.waitForTimeout(1000);
await umbracoApi.login();
});

View File

@@ -5,9 +5,6 @@ import {PartialViewMacroBuilder} from "@umbraco/json-models-builders";
test.describe('Partial View Macro Files', () => {
test.beforeEach(async ({page, umbracoApi}) => {
// TODO: REMOVE THIS WHEN SQLITE IS FIXED
// Wait so we don't bombard the API
await page.waitForTimeout(1000);
await umbracoApi.login();
});

View File

@@ -5,9 +5,6 @@ import {PartialViewBuilder} from "@umbraco/json-models-builders";
test.describe('Partial Views', () => {
test.beforeEach(async ({page, umbracoApi}) => {
// TODO: REMOVE THIS WHEN SQLITE IS FIXED
// Wait so we don't bombard the API
await page.waitForTimeout(1000);
await umbracoApi.login();
});

View File

@@ -4,9 +4,6 @@ import {ConstantHelper, test} from '@umbraco/playwright-testhelpers';
test.describe('Relation Types', () => {
test.beforeEach(async ({page, umbracoApi}) => {
// TODO: REMOVE THIS WHEN SQLITE IS FIXED
// Wait so we don't bombard the API
await page.waitForTimeout(1000);
await umbracoApi.login();
});

View File

@@ -4,9 +4,6 @@ import {ScriptBuilder} from "@umbraco/json-models-builders";
test.describe('Scripts', () => {
test.beforeEach(async ({ page, umbracoApi }) => {
// TODO: REMOVE THIS WHEN SQLITE IS FIXED
// Wait so we don't bombard the API
await page.waitForTimeout(1000);
await umbracoApi.login();
});

View File

@@ -8,9 +8,6 @@ test.describe('Stylesheets', () => {
const fileName = name + ".css";
test.beforeEach(async ({page, umbracoApi}) => {
// TODO: REMOVE THIS WHEN SQLITE IS FIXED
// Wait so we don't bombard the API
await page.waitForTimeout(1000);
await umbracoApi.login();
});

View File

@@ -4,9 +4,6 @@ import {TemplateBuilder} from "@umbraco/json-models-builders";
test.describe('Templates', () => {
test.beforeEach(async ({page, umbracoApi}) => {
// TODO: REMOVE THIS WHEN SQLITE IS FIXED
// Wait so we don't bombard the API
await page.waitForTimeout(1000);
await umbracoApi.login();
});

View File

@@ -8,9 +8,6 @@ const tabsDocTypeAlias = AliasHelper.toAlias(tabsDocTypeName);
test.describe('Tabs', () => {
test.beforeEach(async ({ umbracoApi, page }) => {
// TODO: REMOVE THIS WHEN SQLITE IS FIXED
// Wait so we don't bombard the API
await page.waitForTimeout(1000);
await umbracoApi.login();
});

View File

@@ -4,9 +4,6 @@ import {test} from '@umbraco/playwright-testhelpers';
test.describe('Tours', () => {
const timeout = 60000;
test.beforeEach(async ({page, umbracoApi}) => {
// TODO: REMOVE THIS WHEN SQLITE IS FIXED
// Wait so we don't bombard the API
await page.waitForTimeout(1000);
await umbracoApi.login();
await resetTourData(umbracoApi);
});

View File

@@ -10,9 +10,6 @@ test.describe('User groups', () => {
}
test.beforeEach(async ({ umbracoApi, page }) => {
// TODO: REMOVE THIS WHEN SQLITE IS FIXED
// Wait so we don't bombard the API
await page.waitForTimeout(1000);
await umbracoApi.login();
});

View File

@@ -24,9 +24,6 @@ test.describe('Users', () => {
};
test.beforeEach(async ({ umbracoApi, page }) => {
// TODO: REMOVE THIS WHEN SQLITE IS FIXED
// Wait so we don't bombard the API
await page.waitForTimeout(1000);
await umbracoApi.login();
});