I am writing E2E - a test for our business application. Since this is a corporate environment, I have to choose Client Certificates to access different Webapps (I installed different certificates for different test users).
While I run the tests manually, you should not first select the appropriate certificate. But when you run them in an automatic build, it will not work. I could not select a certificate using Protractor itself.
At the moment, I have a script that first removes all certificates, and then installs a specific one and runs the test using IE. Chrome still pops up a certificate selection box. Therefore, I can run the test in automation only in IE at the moment.
Does anyone have a suggestion on how this can be improved? I tried a lot of things, as suggested by Google, Stackoverflow, etc., but nothing really worked. Or does anyone have experience in automating Protractor tests using different certificates?
Thanks for the help.
source share