Filling a login form is the foundation of every e2e test. Fill in the email field, the password field, and submit the form.
Playwright’s fill() method clears any existing value and writes the new one. To submit, click the submit button.
The page object is already available. A green success message will appear when the form is submitted.
You can locate fields by label, placeholder, testid, or id — all of them work. Pick one.