mirror of
https://github.com/elastic/kibana.git
synced 2025-04-23 17:28:26 -04:00
Co-authored-by: Felix Stürmer <weltenwort@users.noreply.github.com>
This commit is contained in:
parent
9d56919cb4
commit
18a89f3dc1
1 changed files with 6 additions and 2 deletions
|
@ -121,8 +121,12 @@ export function InfraHomePageProvider({ getService, getPageObjects }: FtrProvide
|
|||
},
|
||||
|
||||
async changePalette(paletteId: string) {
|
||||
await testSubjects.find('legendControlsPalette');
|
||||
await testSubjects.selectValue('legendControlsPalette', paletteId);
|
||||
const paletteSelector = await testSubjects.find('legendControlsPalette');
|
||||
await paletteSelector.click();
|
||||
const paletteSelectorEntry = await paletteSelector.findByCssSelector(
|
||||
`option[value=${paletteId}]`
|
||||
);
|
||||
await paletteSelectorEntry.click();
|
||||
},
|
||||
|
||||
async applyLegendControls() {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue