You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
16 lines
434 B
16 lines
434 B
2 years ago
|
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();
|
||
|
}
|
||
|
}
|