Skip to content

Support skipBlur in the type() user event #1677

Closed
@tibbe

Description

@tibbe

Describe the Feature

Add another option to type() that allows for skipping the blur event. This is useful for testing form validation where validation typically happens either onChange or onBlur. Simulate all the typing without leaving the field would be useful in this case.

Possible Implementations

An if at

dispatchEvent(element, 'blur', EventBuilder.Common.blur());
should be enough.

Related Issues

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions