/** @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() // }), // )