enso/app/gui/integration-test/dashboard/actions/SetupDonePageActions.ts
somebody1234 b83c5a15eb
Clean up integration tests and add listeners for backend calls (#11847)
- Close https://github.com/enso-org/cloud-v2/issues/1604
- Add ability to track backend calls
- Remove inconsistent integration test code
- Add skeleton classes for settings pages

# Important Notes
None
2024-12-12 09:49:58 +00:00

18 lines
588 B
TypeScript

/** @file Actions for the fourth step of the "setup" page. */
import { TEXT } from '.'
import BaseActions from './BaseActions'
import DrivePageActions from './DrivePageActions'
/** Actions for the fourth step of the "setup" page. */
export default class SetupDonePageActions<Context> extends BaseActions<Context> {
/** 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<Context>),
}
}
}