mirror of
https://github.com/elastic/kibana.git
synced 2025-04-23 01:13:23 -04:00
parent
24da45d5b1
commit
fad0c658eb
1 changed files with 16 additions and 0 deletions
|
@ -62,6 +62,22 @@ export default function({ getPageObjects, getService }: FtrProviderContext) {
|
|||
expect(actualCount).to.be('53');
|
||||
});
|
||||
|
||||
it('should open color picker, deactivate panel and clone series', async () => {
|
||||
await visualBuilder.clickColorPicker();
|
||||
await visualBuilder.checkColorPickerPopUpIsPresent();
|
||||
await visualBuilder.clickColorPicker();
|
||||
|
||||
await visualBuilder.changePanelPreview();
|
||||
await visualBuilder.checkPreviewIsDisabled();
|
||||
await visualBuilder.changePanelPreview();
|
||||
|
||||
await visualBuilder.cloneSeries();
|
||||
const legend = await visualBuilder.getLegentItems();
|
||||
const series = await visualBuilder.getSeries();
|
||||
expect(legend.length).to.be(2);
|
||||
expect(series.length).to.be(2);
|
||||
});
|
||||
|
||||
it('should show the correct count in the legend with custom numeric template', async () => {
|
||||
const expectedLegendValue = '$ 156';
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue