Apologies, I've just been informed that my question is not specific enough. So let me be more specific.
So what I've done is created a user registration page that works 100%. Along with that we wrote e2e tests for this registration process using protractor. The e2e test launches the browser, fills in the screen and presses the submit button. What I expect to happen is to see this test write to the database, redirect to the users page as a logged in member and see the e2e pass as expected in my command line. What does however happen is that no record is written to the database and no redirect happens as a logged in user. This leads me to think that the controller that handles the submit is never executed, although the button is pressed. I've popped the code here http://jsbin.com/xivisaji/1/edit On Wednesday, June 4, 2014 12:01:04 PM UTC+2, Martin Gouws wrote: > > Hi all, > > We have a problem with AngularJS and Protractor e2e tests. What happens is > that the browser gets launched and the screen gets filled in, and it seems > that the submit button is clicked, but nothing inside the controller for > that submit gets executed (no database record gets written) and the screen > does not redirect as it should. > > Any ideas on what the problem might be? > > Thanx in advance :) > > Martin > -- You received this message because you are subscribed to the Google Groups "AngularJS" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at http://groups.google.com/group/angular. For more options, visit https://groups.google.com/d/optout.
