vaadin / vaadin/browserless-test

The "verbs" in "Testers" API should be more like user actions than Component API replicas

Open
#41 0 comments 1 reaction 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Java
Stars
1
Forks
3
Avg merge
1d 20h
Merged PRs (30d)
51

Description

The "verbs" in "Testers" API should be more like user actions than replicas made of Component API.

e.g. setValue(String) -> fill(String)

Arguments:

  1. Test cases would be more like a usage descriptions (especially together with #38)
  2. It wouldn't be that easy to accidentally mix wheter one is using the actual components or simulating user actions on it
  3. API would be more like in Playwright, which is more familiar with general audience

Contributor guide

Open the contributing guide

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 reviewing the Testers API and comparing its verbs with the Component API, using setValue(String) -> fill(String) as the concrete example. Define the user-action vocabulary consistently, while checking the relationship with issue #38. Done means the Testers API uses distinct, user-oriented verbs rather than Component API replicas.

Written by the indexing model from the issue text.

Assessment

Tech stack
java
Domain
api, testing-qa
Issue type
Refactor
Difficulty
5/5
Estimated time
Over a week
Activity status
Quiet
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.