mirror of
https://github.com/enso-org/enso.git
synced 2024-12-23 08:53:31 +03:00
22 lines
667 B
TypeScript
22 lines
667 B
TypeScript
|
/** @file Actions for the fourth step of the "setup" page. */
|
||
|
import { TEXT } from '../actions'
|
||
|
import BaseActions from './BaseActions'
|
||
|
import DrivePageActions from './DrivePageActions'
|
||
|
|
||
|
// ============================
|
||
|
// === SetupDonePageActions ===
|
||
|
// ============================
|
||
|
|
||
|
/** Actions for the fourth step of the "setup" page. */
|
||
|
export default class SetupDonePageActions extends BaseActions {
|
||
|
/** Go to the drive page. */
|
||
|
get goToPage() {
|
||
|
return {
|
||
|
drive: () =>
|
||
|
this.step("Finish setup and go to 'drive' page", async (page) => {
|
||
|
await page.getByText(TEXT.goToDashboard).click()
|
||
|
}).into(DrivePageActions),
|
||
|
}
|
||
|
}
|
||
|
}
|