All tests / Forms & logins
Login and members area
What this tests. Log in with the credentials on the page, keep the session cookie, and read three members-only pages that bounce you to the login without it.
Post the form and you get a nw_session cookie and a redirect into the members area:
an index and 3 pages of member prices. Without the cookie, every one of those addresses sends you back here with a 302.
A wrong password gets a 401.
- Medium
- Needs cookies
- Answer key
/forms/login/answers.json
Test credentials: username scraper, password open-sesame-42.
Data version 1.0.0. Everything here is made up: products, brands, people, towns. tests.json · robots.txt · Source