What’s the correct procedure to check in the functional test case whether or not the page is accessible by the currently logged in user?
Please point a working example 🙂
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
To check if the page IS accessible is easy. You typically do
and check for something in browser.contents.
To make sure the page is inaccessible and for instance raises, you could import HTTPError
obtain a browser instance, login with it, and do