diff --git a/tests/auth-topics-actions.spec.ts b/tests-with-auth/2-auth-topics-actions.spec.ts similarity index 99% rename from tests/auth-topics-actions.spec.ts rename to tests-with-auth/2-auth-topics-actions.spec.ts index f94e16cd..29f03204 100644 --- a/tests/auth-topics-actions.spec.ts +++ b/tests-with-auth/2-auth-topics-actions.spec.ts @@ -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) diff --git a/tests/auth-drafts-actions.spec.ts b/tests-with-auth/3-auth-drafts-actions.spec.ts similarity index 99% rename from tests/auth-drafts-actions.spec.ts rename to tests-with-auth/3-auth-drafts-actions.spec.ts index 4c804d4a..650cdab8 100644 --- a/tests/auth-drafts-actions.spec.ts +++ b/tests-with-auth/3-auth-drafts-actions.spec.ts @@ -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) diff --git a/tests/auth-user-actions.spec.ts b/tests-with-auth/4-auth-user-actions.spec.ts similarity index 99% rename from tests/auth-user-actions.spec.ts rename to tests-with-auth/4-auth-user-actions.spec.ts index 9323519e..11f5a5a6 100644 --- a/tests/auth-user-actions.spec.ts +++ b/tests-with-auth/4-auth-user-actions.spec.ts @@ -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() diff --git a/tests-with-auth/readme.txt b/tests-with-auth/readme.txt new file mode 100644 index 00000000..02a91b29 --- /dev/null +++ b/tests-with-auth/readme.txt @@ -0,0 +1 @@ +This is folder with Playwright tests, that are needed to move in /tests dir for wrking on playwright circle \ No newline at end of file diff --git a/tests/page-sections.spec.ts b/tests/1-page-sections.spec.ts similarity index 98% rename from tests/page-sections.spec.ts rename to tests/1-page-sections.spec.ts index f3c36901..8f51104b 100644 --- a/tests/page-sections.spec.ts +++ b/tests/1-page-sections.spec.ts @@ -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)