mirror of
https://github.com/louislam/uptime-kuma.git
synced 2024-11-28 01:04:05 +00:00
16 lines
434 B
TypeScript
16 lines
434 B
TypeScript
|
import { SetupPage } from "../pages/setup-page";
|
||
|
|
||
|
export class SetupTask {
|
||
|
fillAndSubmitSetupForm(
|
||
|
username: string,
|
||
|
password: string,
|
||
|
passwordRepeat: string
|
||
|
) {
|
||
|
cy.get(SetupPage.usernameInput).type(username);
|
||
|
cy.get(SetupPage.passWordInput).type(password);
|
||
|
cy.get(SetupPage.passwordRepeatInput).type(passwordRepeat);
|
||
|
|
||
|
cy.get(SetupPage.submitSetupForm).click();
|
||
|
}
|
||
|
}
|