diff --git a/e2e/login-authorization-code-flow-with-queryfn.test.ts b/e2e/login-authorization-code-flow-with-queryfn.test.ts index b6f97cd..1c13fad 100644 --- a/e2e/login-authorization-code-flow-with-queryfn.test.ts +++ b/e2e/login-authorization-code-flow-with-queryfn.test.ts @@ -11,7 +11,7 @@ afterAll((done) => { }); test('Login with authorization code flow and exchangeCodeForQueryFn works as expected', async () => { - browser = await puppeteer.launch(); + browser = await puppeteer.launch({ args: ['--no-sandbox', '--disable-setuid-sandbox'] }); const page = await browser.newPage(); await page.goto(URL); diff --git a/e2e/login-authorization-code-flow.test.ts b/e2e/login-authorization-code-flow.test.ts index 6682891..528f973 100644 --- a/e2e/login-authorization-code-flow.test.ts +++ b/e2e/login-authorization-code-flow.test.ts @@ -11,7 +11,7 @@ afterAll((done) => { }); test('Login with authorization code flow works as expected', async () => { - browser = await puppeteer.launch(); + browser = await puppeteer.launch({ args: ['--no-sandbox', '--disable-setuid-sandbox'] }); const page = await browser.newPage(); await page.goto(URL); diff --git a/e2e/login-implicit-grant-flow.test.ts b/e2e/login-implicit-grant-flow.test.ts index 3363517..d2ad588 100644 --- a/e2e/login-implicit-grant-flow.test.ts +++ b/e2e/login-implicit-grant-flow.test.ts @@ -11,7 +11,9 @@ afterAll((done) => { }); test('Login with implicit grant flow works as expected', async () => { - browser = await puppeteer.launch(); + browser = await puppeteer.launch({ + args: ['--no-sandbox', '--disable-setuid-sandbox'], + }); const page = await browser.newPage(); await page.goto(URL);