-
Notifications
You must be signed in to change notification settings - Fork 0
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() doesn't seem to work for an aspx page #7
Comments
From what i see, your test looks good.
Also, I don't have an .aspx compatible env here to reproduce everything. Thanks for testing dalek & reporting the issue. |
I've tried the click() method but still no luck. Here's the markup of the login page (my humblest apologies for the ugly markup. It's webforms. It's by design). It seems this forum actually renders the html, but hopefully you can get the markup by viewing source. Let me know if you need anything else.
|
Ok, I've got a bit more info. It seems there are multiple issues here.
I have changed the login form to not hide the text field and it now works! I had to use the click() method to submit the form though. submit() still doesn't work. Not sure if you want to close this issue or not, but at least I have a workaround. |
Hey, |
Sure. I'll try it again either today or tomorrow and let you know what On Mon, Sep 23, 2013 at 12:52 PM, Sebastian Golasch <
|
Tech stack:
asp.net web forms
.NET Framework 4.0
Steps to reproduce:
module.exports = {
'I can log in': function(test) {
test
.open('myLogin.aspx')
.assert.url().is('myLogin.aspx', 'At the login page')
.type('#oUserID', 'John', 'user name is')
.assert.val('#oUserID', 'John', 'text has been set')
.type('#oPwdID', 'pswdpswd1', 'password name is')
.assert.val('#oPwdID', 'pswdpswd1', 'password has been set')
.submit('#frmLogin')
.done();
}
};
The text was updated successfully, but these errors were encountered: