2024-09-27 10:05:10 +03:00
|
|
|
/** @file Actions for the fourth step of the "setup" page. */
|
2024-10-11 21:23:02 +03:00
|
|
|
import { TEXT } from '.'
|
2024-09-27 10:05:10 +03:00
|
|
|
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),
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|