fix: without auth playwright tests, they are in tests-with-auth dir. testing

This commit is contained in:
Stepan Vladovskiy 2024-07-08 10:10:35 +00:00
parent 9686619243
commit 32519d5ee9
5 changed files with 5 additions and 0 deletions

View File

@ -45,6 +45,7 @@ test.beforeAll(async ({ browser }) => {
console.log('Waiting for the server to start...')
await new Promise((resolve) => setTimeout(resolve, 5000))
const baseURL = process.env.BASE_URL || 'https://localhost:3000'
console.log('Base URL:', baseURL)
await waitForServer(baseURL)
page = await browser.newPage()
test.setTimeout(150000)

View File

@ -45,6 +45,7 @@ test.beforeAll(async ({ browser }) => {
console.log('Waiting for the server to start...')
await new Promise((resolve) => setTimeout(resolve, 5000))
const baseURL = process.env.BASE_URL || 'https://localhost:3000'
console.log('Base URL:', baseURL)
await waitForServer(baseURL)
page = await browser.newPage()
test.setTimeout(150000)

View File

@ -47,6 +47,7 @@ test.beforeAll(async ({ browser }) => {
console.log('Waiting for the server to start...')
await new Promise((resolve) => setTimeout(resolve, 5000))
const baseURL = process.env.BASE_URL || 'https://localhost:3000'
console.log('Base URL:', baseURL)
await waitForServer(baseURL)
context = await browser.newContext()
page = await context.newPage()

View File

@ -0,0 +1 @@
This is folder with Playwright tests, that are needed to move in /tests dir for wrking on playwright circle

View File

@ -45,6 +45,7 @@ test.beforeAll(async ({ browser }) => {
console.log('Waiting for the server to start...')
await new Promise((resolve) => setTimeout(resolve, 5000))
const baseURL = process.env.BASE_URL || 'https://localhost:3000'
console.log('Base URL:', baseURL)
await waitForServer(baseURL)
page = await browser.newPage()
test.setTimeout(150000)