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)
Requestor
@kowalczyk-krzysztof
Problem Statement
Currently
EuiContextMenupanels (EuiContextMenuPanelDescriptor) don't allow for settingdata-test-subjfrom 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)