Skip to content

Plugin E2E: Replace hardcoded table selector with e2e selectors #2114

@sunker

Description

@sunker

Which areas does this feature request relate to

  • Create Plugin
  • Sign Plugin
  • Plugin E2E
  • Plugin Meta Extractor
  • Documentation

Problem

The role selectors in the Panel class that are used to grab data and field names are currently hardcoded. This makes plugin-e2e brittle as any change to the role attribute in the source code will cause the tests to break.

Solution

Instead of relying on hardcoded role attributes, we should use proper E2E selectors to improve stability.

The table might be rendered by a third-party library, which could make selector replacement a bit more complicated.

Alternatives

No response

Additional context

No response

Are you interested in contributing the solution?

  • Yes
  • No

Metadata

Metadata

Assignees

Labels

enhancementNew feature or request

Type

No type

Projects

Status

🧑‍💻 In development

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions