I have problem with writing Selenium test to check my application. What I want to test is when user types correct login/password, correct page is shown and user is logged in.
The main issue is that my login form is generated as a AngularJS directive (I have two different login pages and this directive is reused in both places) and Selenium seems to be unable to see elements from this directive-generated markup. What is most important, tests were passing on this page before I've replaced regular markup with generated by directive.
So it looks like somehow Selenium is not able to see html elements that are generated by directive.
Any suggestion how I could overcome this issue? Except of course reverting this change introducing directive :)