MCPcopy Create free account
hub / github.com/boringstack-xyz/boringstack / fill

Method fill

apps/ui/e2e/pages/SignUpPage.ts:39–55  ·  view source on GitHub ↗
(input: {
    email: string;
    password: string;
    firstName?: string;
    lastName?: string;
  })

Source from the content-addressed store, hash-verified

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();

Callers

nothing calls this directly

Calls 4

emailInputMethod · 0.95
passwordInputMethod · 0.95
firstNameInputMethod · 0.95
lastNameInputMethod · 0.95

Tested by

no test coverage detected