thefrontside / thefrontside/interactors

Add a way that allows submit form by enter

Open
#8 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
TypeScript
Stars
36
Forks
2
Avg merge
4m
Merged PRs (30d)
2

Description

react-admin project has a test where they check submit a form by pressing Enter key
https://github.com/marmelab/react-admin/blob/master/cypress/integration/create.js#L132-L162

If I understand right, BigTest doesn't have any similar action.

PS calling the submit method of form leads to unexpected result without creating a post, just reload the page with query params in url.

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reading the referenced react-admin test in cypress/integration/create.js#L132-L162 to understand the expected Enter-key submission behavior. Investigate how Interactors represents form actions, then verify that submitting with Enter creates the post instead of only reloading the page with query parameters.

Written by the indexing model from the issue text.

Assessment

Tech stack
typescript
Domain
testing-qa
Issue type
Feature
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.