fix: without auth playwright tests, they are in tests-with-auth dir. testing
This commit is contained in:
parent
9686619243
commit
32519d5ee9
|
@ -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)
|
|
@ -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)
|
|
@ -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()
|
1
tests-with-auth/readme.txt
Normal file
1
tests-with-auth/readme.txt
Normal file
|
@ -0,0 +1 @@
|
|||
This is folder with Playwright tests, that are needed to move in /tests dir for wrking on playwright circle
|
|
@ -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)
|
Loading…
Reference in New Issue
Block a user