enso/app/dashboard/e2e/startModal.spec.ts
2024-07-26 17:47:59 +10:00

16 lines
468 B
TypeScript

/** @file Test the "change password" modal. */
import * as test from '@playwright/test'
import * as actions from './actions'
test.test('create project from template', ({ page }) =>
actions
.mockAllAndLogin({ page })
.openStartModal()
.createProjectFromTemplate(0)
.do(async (thePage) => {
await test.expect(actions.locateEditor(thePage)).toBeAttached()
await test.expect(actions.locateSamples(page).first()).not.toBeVisible()
}),
)