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

feat: allow bypassing/streamlining of login using browser profiles #87

Merged
merged 41 commits into from
Jun 24, 2021
Merged

feat: allow bypassing/streamlining of login using browser profiles #87

merged 41 commits into from
Jun 24, 2021

Conversation

bancey
Copy link
Contributor

@bancey bancey commented Jun 15, 2021

Purpose

Addresses #86 by using chrome/firefox user profiles to store history/cache enabling subsequent test cases to run faster.

Approach

If the use of profiles is enabled via the yml config, it will create a profile directory for each of the defined users, this is then passed as an argument to the underlying driver.

There is currently an issue with EasyRepro with the "Pick an Account" Microsoft login dialog which means the Login functionality is currently broken. A helper method has been added to the Login steps to clear these from the dialog allowing the OOTB login functionality to be used. This can be removed when microsoft/EasyRepro#1143 is merged.

@bancey bancey requested a review from ewingjm June 15, 2021 17:32
@bancey bancey changed the title feat: allow bypassing/streamlining of login using browser profiles #86 feat: allow bypassing/streamlining of login using browser profiles Jun 15, 2021
Copy link
Member

@ewingjm ewingjm left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Good job on this. A few comments! 🙂

ewingjm
ewingjm previously approved these changes Jun 16, 2021
@sonarcloud
Copy link

sonarcloud bot commented Jun 24, 2021

Kudos, SonarCloud Quality Gate passed!

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 1 Code Smell

87.0% 87.0% Coverage
0.0% 0.0% Duplication

README.md Outdated Show resolved Hide resolved
README.md Outdated Show resolved Hide resolved
@ewingjm ewingjm merged commit 1ece3d6 into Capgemini:master Jun 24, 2021
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

Successfully merging this pull request may close these issues.

2 participants