dontSeeInField

Verifies that a field with the given value exists on the current page.

Arguments

Name Type Required Default Description
value string true The value of the field to not find.
selectorOrName string true The selector or name of the field to not find the value in.

Examples

it( "can verify a field does not have a certain value", function() {
    this.visit( "/login" )
        .type( "scotty@uss.enterprise", "email" )
        .type( "miracle_worker", "password" )
        .dontSeeInField( "james.t.kirk@uss.enterprise", "email" );
} );