enso/app/gui/integration-test/dashboard/pageSwitcher.spec.ts
somebody1234 497884aa62
Disable opening projects in the browser (#11760)
- 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
2024-12-05 08:28:41 +00:00

28 lines
1.0 KiB
TypeScript

/** @file Test the login flow. */
// import * as test from '@playwright/test'
// import * as actions from './actions'
// FIXME[sb]: https://github.com/enso-org/cloud-v2/issues/1615
// Uncomment once cloud execution in the browser is re-enabled.
// test.test('page switcher', ({ page }) =>
// actions
// .mockAllAndLogin({ page })
// // Create a new project so that the editor page can be switched to.
// .newEmptyProject()
// .do(async (thePage) => {
// await test.expect(actions.locateDriveView(thePage)).not.toBeVisible()
// await test.expect(actions.locateEditor(thePage)).toBeVisible()
// })
// .goToPage.drive()
// .do(async (thePage) => {
// await test.expect(actions.locateDriveView(thePage)).toBeVisible()
// await test.expect(actions.locateEditor(thePage)).not.toBeVisible()
// })
// .goToPage.editor()
// .do(async (thePage) => {
// await test.expect(actions.locateDriveView(thePage)).not.toBeVisible()
// await test.expect(actions.locateEditor(thePage)).toBeVisible()
// }),
// )