Skip to content

[EuiContextMenu] Panels should allow for setting data-test-subj from props #9321

Description

@kowalczyk-krzysztof

Requestor

@kowalczyk-krzysztof

Problem Statement

Currently EuiContextMenu panels (EuiContextMenuPanelDescriptor) don't allow for setting data-test-subj from props.

Proposed Solution

There's no workaround other than storing the test ids in some state and changing the current test id based on active panel id.

Use Case

Kibana App Menu component: https://github.com/elastic/kibana-team/issues/2650

Value / Impact

Low impact

Urgency

Not urgent.

Do alternatives or workarounds exist?

Yes - storing the test ids in some state and changing the current test id based on active panel id.

Related code or customizations

Workaround I'm using: elastic/kibana#249182

Additional context (Optional)

Designs or Specs (Optional)

Activity

  1. changed the title [-]EuiContextMenu panels should allow for setting data-test-subj from props[/-] [+][EuiContextMenu] Panels should allow for setting data-test-subj from props[/+] on Jan 15, 2026
  2. added
    low hanging fruit
    on Jan 15, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Labels

low hanging fruit

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions