Fill and submit a form
Easy30 pts
- Form Submission
- Inputs
- Checkboxes
Practice app · Workshop Registration
A registration form with text fields, radios, checkboxes, selects and validation.
Your starter code already declares TEST_URL — never hardcode a host.
Objective
Complete all required fields in the registration form and submit successfully.
Your Task
- 1Navigate to the registration form at TEST_URL.
- 2Enter 'Priya' in the first name field (#first-name) and 'Sharma' in the last name field (#last-name).
- 3Enter 'priya.sharma@example.com' in the email field (#email).
- 4Enter 'Secret@123' in both the password field (#password) and confirm password field (#confirm-password).
- 5Select the terms and conditions checkbox (#terms).
- 6Submit the form by clicking the register button (#submit-button).
- 7Assert that the success banner (#form-success) is visible and contains the text 'Registration complete'.
Validation Checks
- Registration form is loaded at TEST_URL
- All mandatory form fields are populated
- Terms checkbox (#terms) is checked and register button (#submit-button) is clicked
- Success banner (#form-success) is visible with 'Registration complete'
- At least 1 assertion passes
Playwright · Playwright Practice Track · Actions & inputs