diff --git a/tests/playwright/setup/index.ts b/tests/playwright/setup/index.ts index 8d04b75464..3c75c36e67 100644 --- a/tests/playwright/setup/index.ts +++ b/tests/playwright/setup/index.ts @@ -48,6 +48,12 @@ const setup = async ({ page, isEmptyProject }: { page: Page; isEmptyProject?: bo } const token = response.data.token; + try { + await axios.post(`http://localhost:8080/api/v1/license`, { key: '' }, { headers: { 'xc-auth': token } }); + } catch (e) { + console.error(`Error resetting project: ${process.env.TEST_PARALLEL_INDEX}`, e); + } + await page.addInitScript( async ({ token }) => { try {