Make e2e tests locate UI elements in a stable manner by relying only on data-testids.
Description
Currently the cdap-ui codebase is tightly coupled with the e2e-tests codebases across the cdap ecosystem.This is caused by a lack of clear and established contract between the test and application codebases. The application codebase should always provide `data-testid` attributes for UI elements that need to be accessed by the test code. And the test code should only access UI elements by the provided data-testids.
Release Notes
None
66% Done
Activity
Show:
Pinned fields
Click on the next to a field label to start pinning.
Currently the cdap-ui codebase is tightly coupled with the e2e-tests codebases across the cdap ecosystem.This is caused by a lack of clear and established contract between the test and application codebases. The application codebase should always provide `data-testid` attributes for UI elements that need to be accessed by the test code. And the test code should only access UI elements by the provided data-testids.