Agent DX improvement: No locators for layout components — a clickable layout can't be driven
Maintainers usually reply within 1 day
Nobody has claimed this yet.
Assessment
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Newbie friendliness
- 64/100
- Issue type
- Feature
- Clarity
- Mostly clear
- Activity status
- Quiet
- Tech stack
- java
- Domain
- testing-qa
Research direction
Start by comparing the existing DivLocator API with the layout component classes named in the issue, and review how ComponentQuery is currently used for those components. Add locator coverage for HorizontalLayout, VerticalLayout, FlexLayout, FormLayout, Scroller, AppLayout, and Board with the requested filters, Clickable behavior, and text access; done means clickable layout cards can use the locator DSL without mixing in ComponentQuery.
Written by the indexing model from the issue text.
Description
Problem. browserless-test-shared:1.1.1 ships ~60 locators, including
DivLocator, SpanLocator, ParagraphLocator, AnchorLocator. It ships none
for the layout components: no HorizontalLayout, VerticalLayout, FlexLayout,
FormLayout, Scroller, AppLayout, Board.
That's fine while layouts are only structure — but they aren't always. A card
whose whole body is the click target (no Edit button; HorizontalLayout +
addClickListener + a clickable class) is a normal Flow pattern, and it is
unreachable from the locator API. The test has to mix two APIs:
// Wanted
findHorizontalLayout().withClassName("clickable").click();
// Actual — ComponentQuery + tester, dropping the locator DSL
test($(HorizontalLayout.class).withClassName("clickable").first()).click();
The same card built from a Div works through DivLocator (which is
Clickable and supports withClassName), so the gap is arbitrary from a test
author's point of view.
Ask. Generate locators for the layout components too, with at least
DivLocator parity: withClassName/withText filters, Clickable, and text
access. They're plain Components — no new tester semantics needed.
Copied from https://github.com/vaadin/agentic-dx-improvement/issues/107
- Dominant language
- Java
- Stars
- 1
- Forks
- 3
- Avg merge
- 2d 22h
- Merged PRs (30d)
- 13
Getting set up
- No Dockerfile or Docker Compose file
- No pull request template
- Read the contributing guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from vaadin/browserless-test
-
Rename MultiSelectComboBoxTester.selectItem(String...) to selectItems(String...)Possibly taken @totally-not-ai claimed this 11 days ago. Open
Difficulty 2/5 1-3 hours Newbie friendliness 74/100
vaadin/browserless-test#291 · 3 comments ·
Maintainers usually reply within 1 day
-
(MultiSelect)ComboBoxTester add support for selectItemContaining(String)Possibly taken @totally-not-ai claimed this 32 days ago. Open
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
vaadin/browserless-test#270 · 3 comments · 1 reaction ·
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
vaadin/browserless-test#266 · 2 comments ·
Maintainers usually reply within 1 day
-
enhancement
Difficulty 2/5 1-3 hours Newbie friendliness 76/100
vaadin/browserless-test#123 ·
Maintainers usually reply within 1 day
-
MasterDetailLayoutLocator can't press Esc on the detail or click the backdropPossibly taken @totally-not-ai claimed this 7 days ago. Open
Difficulty 3/5 1-2 days Newbie friendliness 25/100
vaadin/browserless-test#306 · 1 comment ·
Maintainers usually reply within 1 day
All issues in vaadin/browserless-test
Similar issues
-
bug subsystem:agent-harness triage
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
ShaftHQ/SHAFT_ENGINE#7797 ·
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 73/100
NationalSecurityAgency/ghidra#10155 ·
Maintainers usually reply within 2 days
-
bug web-ui
Difficulty 2/5 1-3 hours Newbie friendliness 67/100
jenkinsci/jenkins#27705 · 3 comments ·
Maintainers usually reply within 1 day
-
mod bug
Difficulty 2/5 1-3 hours Newbie friendliness 64/100
elmital/FixMCStats#65 · 3 comments ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 74/100
QuranHub/quranhub-android#354 ·
Maintainers usually reply within 2 days