microsoft / EasyRepro

Automated UI testing API for Dynamics 365
MIT License
513 stars 286 forks source link

Bugfix/fixloginmfa #1287

Closed SebastianAtWork closed 2 years ago

SebastianAtWork commented 2 years ago

Type of change

Description

Hi, this is my first Pull Request so any feedback is much appreciated. I really like your framework for automated dynamics 365 Tests, unfortunately there are 2 Steps missing in the MFA Login for me to really use it. After typing the Username and the Password I get the following Screen: grafik Here I have to click "I can´t use my Microsoft Authenticator app right now" And then this Screen: grafik Where I have to click "Use a verification code" So I added those 2 Steps to the Login Command.

While I was at it, I also had to update the firefox and chrome webdriver. And I added an explicit language option to those 2, so that the browser always starts in english.

Issues addressed

All submissions:

Which browsers was this tested on?

ghost commented 2 years ago

CLA assistant check
All CLA requirements met.

SebastianAtWork commented 2 years ago

Hmm I may have solved it... I tought i couldnt change the default authentication method because of company policies but nope, I can change it to code just fine.