Skip to content
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

User Data Dir is not retaining the logged in user for authentication on profile #3538

Open
salmjacks opened this issue Sep 23, 2024 · 0 comments

Comments

@salmjacks
Copy link

What happened?

I am attempting to use Edge profiles for testing different user account types. When I am testing an SSO application like Salesforce or Microsoft, appropriate authentication will work when I right click the browser and run as the specific user.
However, when I get the user data folders from appdata and run with Serenity, I can see the profile is being used, but the authentication is being dropped and using the logged in user instead of the profile.

Why is the user-data-dir not being treated the same as run as?

What did you expect to happen?

I expect the profile and the run as to produce the same result and login to the browser as the user profile.

Serenity BDD version

3.7.1

JDK version

17

Execution environment

Windows 10
Edge v128

How to reproduce the bug.

  • Update serenity.conf Edge args user-data-dir to point to specific user
  • Run test and navigate to SSO page
  • Validate which use is signed in

How can we make it happen?

Work on this myself and propose a PR (with Serenity BDD team guidance)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant