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

EuiColorPalettePicker palettes prop does not accept data-test-subj #3615

Closed
nreese opened this issue Jun 15, 2020 · 0 comments · Fixed by #3616
Closed

EuiColorPalettePicker palettes prop does not accept data-test-subj #3615

nreese opened this issue Jun 15, 2020 · 0 comments · Fixed by #3616
Assignees

Comments

@nreese
Copy link
Contributor

nreese commented Jun 15, 2020

EuiColorPalettePicker needs to allow setting data-test-subj on palettes so that functional tests can select options. Blocking elastic/kibana#69190

Should be able to pass data-test-subj to palettes and then the generated button should have data-test-subj. EuiSuperSelect allows passing data-test-subj to options list props

      {
        value: 'paletteId',
        title: 'palette titile',
        type: 'text',
        'data-test-subj': `colorMapSelectOption_${CUSTOM_COLOR_MAP}`,
      }

cc miukimiu

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants