mirror of
https://github.com/enso-org/enso.git
synced 2024-12-21 01:21:46 +03:00
497884aa62
- Close https://github.com/enso-org/cloud-v2/issues/1612 - Disable opening projects on cloud.enso.org. - This is because this functionality is currently not ready # Important Notes None
17 lines
455 B
TypeScript
17 lines
455 B
TypeScript
import { test as setup } from '@playwright/test'
|
|
import path from 'node:path'
|
|
import * as actions from './actions'
|
|
|
|
const __dirname = path.dirname(new URL(import.meta.url).pathname)
|
|
const authFile = path.join(__dirname, '../../playwright/.auth/user.json')
|
|
|
|
setup('authenticate', ({ page }) => {
|
|
setup.slow()
|
|
return actions
|
|
.mockAll({ page })
|
|
.login()
|
|
.do(async () => {
|
|
await page.context().storageState({ path: authFile })
|
|
})
|
|
})
|