UI5 / UI5/webcomponents

[tools][Feature Request]: Cypress commands for accessing component internals

Open
#8,007 1 comment 1 reaction 0 assignees View on GitHub

Nobody has claimed this yet.

feature request Quality TOPIC Core
Dominant language
TypeScript
Stars
1.8k
Forks
285
Avg merge
3d 2h
Merged PRs (30d)
59

Description

Feature Request Description

As a React developer, I would like to use Cypress to write my application tests,
and to have convenient commands for accessing component internals in the ShadowDOM as clicking items of the Select, ComboBox, etc.

Proposed Solution

Identify missing pieces for writing tests with Cypress to create convenient commands and contribute them to @ui5/webcomponents-cypress-commands existing package.

Proposed Alternatives

No response

Organization

No response

Additional Context

There is feedback by application developers, struggling at times to write their app tests with Cypress and this issue is to address it.

Priority

None

Privacy Policy
  • I’m not disclosing any internal or sensitive information.

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 existing @ui5/webcomponents-cypress-commands package and its current support for ShadowDOM interactions. Identify the missing Cypress commands needed to access internals of components such as Select and ComboBox, then define completion as those application-testing scenarios being supported by the package.

Written by the indexing model from the issue text.

Assessment

Tech stack
cypress, react, typescript
Domain
frontend, testing
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.