Skip to content
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

Improve the UI Code to make e2e tests more reliable #868

Closed
2 of 6 tasks
ununhexium opened this issue Oct 9, 2024 · 1 comment
Closed
2 of 6 tasks

Improve the UI Code to make e2e tests more reliable #868

ununhexium opened this issue Oct 9, 2024 · 1 comment
Labels
area/E2E-tests Related to E2E-tests component/edc-ui affected software component task/refactor Code needs refactoring

Comments

@ununhexium
Copy link
Collaborator

ununhexium commented Oct 9, 2024

Feature Request

Description

  • As a developer who needs to runE2E tests and fix them if needed, I want to save time and sanity, so I can release faster and move on to the next task.

Which Areas Would Be Affected?

EDC UI html.

Why Is the Feature Desired?

Make the E2E tests more resilient to changes.

How does this tie into our current product?

Add id=ci-... or similar flag to all the properties that are used in the E2E test in the EDC EE, such that it's not referring to elements by name/text but by id, greatly increasing the flexibility in what is displayed or greatly improving the resilience of the E2E tests when a visual change happens in the UI.

The idea is to reference all the element that are manipulated programmatically by a unique test id.

See this page for that's possible to use.

Stakeholders

@ununhexium
@illfixit

Solution Proposal and Work Breakdown

Ideally this should be done before e2e tests are added, to minimize later changes.

See also EDC EE

Tasks

Preview Give feedback
@ununhexium ununhexium added kind/enhancement New feature or request area/E2E-tests Related to E2E-tests component/edc-ui affected software component labels Oct 9, 2024
@SebastianOpriel SebastianOpriel added task/refactor Code needs refactoring and removed kind/enhancement New feature or request labels Nov 20, 2024
@SebastianOpriel SebastianOpriel changed the title Improve the UI to make e2e tests more reliable Improve the UI Code to make e2e tests more reliable Nov 20, 2024
@richardtreier
Copy link
Collaborator

closed in favor of #805

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/E2E-tests Related to E2E-tests component/edc-ui affected software component task/refactor Code needs refactoring
Projects
None yet
Development

No branches or pull requests

3 participants