File tree Expand file tree Collapse file tree 1 file changed +3
-0
lines changed Expand file tree Collapse file tree 1 file changed +3
-0
lines changed Original file line number Diff line number Diff line change @@ -44,15 +44,18 @@ export class RegistrationPage {
4444 await this . firstNameInput . fill ( faker . person . firstName ( ) ) ;
4545 await this . lastNameInput . fill ( faker . person . lastName ( ) ) ;
4646 await this . dobInput . fill ( "1990-01-01" ) ;
47+ console . log ( "Filling registration form with random data" ) ;
4748 await this . streetInput . fill ( faker . location . streetAddress ( ) ) ;
4849 await this . postalCodeInput . fill ( faker . location . zipCode ( ) ) ;
4950 await this . cityInput . fill ( faker . location . city ( ) ) ;
5051 await this . stateInput . fill ( faker . location . state ( ) ) ;
5152 await this . countryDropdown . selectOption ( { label : "Canada" } ) ;
53+ console . log ( "Selected country: Canada" ) ;
5254 const phoneNumber = faker . string . numeric ( 10 ) ;
5355 await this . phoneInput . fill ( phoneNumber ) ;
5456 await this . emailInput . fill ( faker . internet . email ( ) ) ;
5557 await this . passwordInput . fill ( process . env . PASSWORD ! ) ;
58+ console . log ( "Filled all registration form fields and ready to submit" ) ;
5659 }
5760
5861 async clickRegisterButton ( ) {
You can’t perform that action at this time.
0 commit comments