-
-
Notifications
You must be signed in to change notification settings - Fork 28
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Can't run audit on authenticated pages #109
Comments
Used info from here: |
Hi @alionatudan Did you found a way to solve the above issue? Even i have the same issue, for me when i'm passing the page object to playaudit, it is opening a new window which doesn't have auth info so while accessing the it is again redirected to auth service which shouldn't be the case as testcases are working fine. |
No, I could not resolve this. |
Even I have found the same issue when tried to login via cookies. Kindly mention if any solution comes up |
Maybe I am missing something, but I tried two approaches and none works: audit opens the session which is not authenticated even when logs show cookies passed into the page object passed into audit.
So, approach 1:
Logging in the test
Cookies are logged in both steps, but audit is ran on the non-authorized page.
Approach 2:
setting up configurations to auth before running test
Config:
Commented code was also tested and did not influence anything.
Test:
The text was updated successfully, but these errors were encountered: