Lee: Tests are broken because auth skip needs to happen

This commit is contained in:
49lf
2024-08-14 16:23:29 -04:00
parent fd3e2c7665
commit 84521b28f3
4 changed files with 14 additions and 53 deletions

View File

@ -635,12 +635,6 @@ export async function setup(
page: Page,
overrideDirectory?: string
) {
// wait for Vite preview server to be up
await waitOn({
resources: ['tcp:3000'],
timeout: 5000,
})
await context.addInitScript(
async ({
token,
@ -694,9 +688,7 @@ export async function setupElectron({
await fsp.mkdir(projectDirName)
const electronApp = await electron.launch({
args: ['.'],
})
const electronApp = await electron.launch({ args: ['.', '--no-sandbox'] })
const context = electronApp.context()
const page = await electronApp.firstWindow()
context.on('console', console.log)