Skip to content

submit() doesn't seem to work for an aspx page #7

@vinbrown2

Description

@vinbrown2

Tech stack:
asp.net web forms
.NET Framework 4.0

Steps to reproduce:

  1. create an aspx form with a username and password field and a submit button
  2. create a test (here's my sample)
    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();
    }
    };
    image
  3. Test hangs/becomes unresponsive after the submit step.

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions