(input: {
email: string;
password: string;
firstName?: string;
lastName?: string;
})
| 37 | } |
| 38 | |
| 39 | public async fill(input: { |
| 40 | email: string; |
| 41 | password: string; |
| 42 | firstName?: string; |
| 43 | lastName?: string; |
| 44 | }): Promise<void> { |
| 45 | await this.emailInput().fill(input.email); |
| 46 | await this.passwordInput().fill(input.password); |
| 47 | |
| 48 | if (input.firstName !== undefined) { |
| 49 | await this.firstNameInput().fill(input.firstName); |
| 50 | } |
| 51 | |
| 52 | if (input.lastName !== undefined) { |
| 53 | await this.lastNameInput().fill(input.lastName); |
| 54 | } |
| 55 | } |
| 56 | |
| 57 | public async submit(): Promise<void> { |
| 58 | await this.submitButton().click(); |
nothing calls this directly
no test coverage detected