Removed usage of sending umbracoApi to our testHelpers (#14526)

* Cleaned up in Advanced

* Cleaned up in Areas

* Cleaned up in Content

* Cleaned up in Rendering

* Cleaned up in Settings

* Updated the timeout to 40 seconds, 30 seconds is not always enough anymore.

* Bumped version of testhelpers and builders
This commit is contained in:
Andreas Zerbst
2023-07-07 14:49:08 +02:00
committed by GitHub
parent d116366b28
commit 45083b6735
8 changed files with 149 additions and 149 deletions

View File

@@ -10,7 +10,7 @@ dotenv.config();
const config: PlaywrightTestConfig = {
testDir: './tests/',
/* Maximum time one test can run for. */
timeout: 30 * 1000,
timeout: 40 * 1000,
expect: {
/**
* Maximum time expect() should wait for the condition to be met.
@@ -27,18 +27,18 @@ const config: PlaywrightTestConfig = {
/* Reporter to use. See https://playwright.dev/docs/test-reporters */
reporter: process.env.CI ? 'line' : 'html',
outputDir : "./results",
/* Shared settings for all the projects below. See https://playwright.dev/docs/api/class-testoptions. */
use: {
/* Maximum time each action such as `click()` can take. Defaults to 0 (no limit). */
actionTimeout: 0,
/* Base URL to use in actions like `await page.goto('/')`. */
// baseURL: 'http://localhost:44332',
/* Collect trace when retrying the failed test. See https://playwright.dev/docs/trace-viewer */
// When working locally it can be a good idea to use trace: 'on-first-retry' instead of 'retain-on-failure', it can cut the local test times in half.
// When working locally it can be a good idea to use trace: 'on-first-retry' instead of 'retain-on-failure', it can cut the local test times in half.
trace: 'retain-on-failure',
ignoreHTTPSErrors: true,
ignoreHTTPSErrors: true,
},
/* Configure projects for major browsers */