dontSeeIsSelected

Verifies that a given selector does not have a given option selected.

Arguments

Name Type Required Default Description
value string true The value or text of the option that should not exist.
selectorOrName string true The selector or name of the select field to check for the value in.

Examples

it( "can verify an option is not selected", function() {
    this.visit( "/contact-us" )
        .select( "I'm having a problem", "contact_reason" )
        .dontSeeIsSelected( "I have a question", "contact_reason" );
} );