I have created an app which uses MS B2C login. This all works fine. However, i am now trying to create UI tests for my app - but I cant interact with the login screen shown by B2C. B2C loads in a separate browser window and then returns the authentication result to my app by a redirect URL - but since the window is not part of my app - the UI tests fail to find the controls to enter in the username and password. When i query using app.tree in the REPL nothing is returned when the login screen is showing.
↧