-
Notifications
You must be signed in to change notification settings - Fork 20
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
submit form #4
Comments
Hey @rosscdh, The form submissions tests worked for us. You can see one such test here: https://github.com/dobarkod/django-casper#passing-extra-arguments (the second one, form fill and submit). In the test after that we usually check the url of the page we arrived on to see whether the redirection was correct. The issue may be in how you're waiting for the test. Recently we come to think that the If you can consistently reproduce this, it would be great if you could give an example of a minimal case where it fails for you and I'll look into it in more detail. Best, |
Thanks for the tip! ill investigate further. I believe you are right regarding the "scenario" concept it adds a level of confusion especially for those witha bit of casperJS experience! Thanks again and great work! |
@senko Just a note the example above does not test for the form submit and the processes response.. ie when i submit this form i should be able to test what happens next. |
Hi there, great work first of all; I had been looking for an integration with phantom for some time. Well done.
I've been using this app for some time; but have run into a strange situation where I am unable to submit a form and test the response and redirect.
Have you had this issue before?
I notice your tests have no test of a form submission? is this by design?
Thanks in advance
Ross
The text was updated successfully, but these errors were encountered: