Assert URL and title
Easy30 pts~12 min
- Profile Settings
Practice app · Profile Settings
A settings page for clicking, typing, reading text/attributes/CSS and element state.
Your starter code already declares TEST_URL — never hardcode a host.
Objective
Assert URL and title. Practise it against the Profile Settings practice application (A settings page for clicking, typing, reading text/attributes/CSS and element state.).
Your task
- 1Open the practice application at the test URL shown above and wait for it to finish loading.
- 2Inspect the page to find the elements you need — key elements include
#display-name,#bio,#save-button. - 3Write and run a test that demonstrates: assert url and title.
- 4Finish with at least one assertion on a user-visible outcome, not an internal detail.
Acceptance criteria
- The test runs to completion without errors.
- The test contains at least one passing assertion on a user-visible outcome.
Cypress 13 · Cypress · Actions & assertions