Skip to content

Add assertions on input value #637

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

Open
allansson opened this issue Apr 9, 2025 · 0 comments
Open

Add assertions on input value #637

allansson opened this issue Apr 9, 2025 · 0 comments
Assignees

Comments

@allansson
Copy link
Collaborator

What?

Sometimes you need to assert that an input has a certain value, e.g. after auto-filling a form. Users should be able to add an assertion that checks the value of an input against a value specified by them.

There should be a tool that allows a user to pick an element and add an input value assertion.

Criteria for considering it done

The user should be able to pick an input or textarea and add an assertion on its value. The event should be visible in the browser event log and a call to expect().toHaveValue() should be emitted in the script.

@allansson allansson added this to the Browser Recording milestone Apr 9, 2025
@allansson allansson self-assigned this Apr 9, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant