Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com> Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
This commit is contained in:
parent
81378edcbf
commit
6ccb14e301
|
@ -88,14 +88,14 @@ export default function ({ getPageObjects }) {
|
|||
const suggestions = await PageObjects.timelion.getSuggestionItemsText();
|
||||
expect(suggestions.length).to.eql(52);
|
||||
expect(suggestions[0].includes('@message.raw')).to.eql(true);
|
||||
await PageObjects.timelion.clickSuggestion(10);
|
||||
await PageObjects.timelion.clickSuggestion(10, 2000);
|
||||
});
|
||||
|
||||
it('should show field suggestions for metric argument when index pattern set', async () => {
|
||||
await PageObjects.timelion.updateExpression(',metric');
|
||||
await PageObjects.timelion.clickSuggestion();
|
||||
await PageObjects.timelion.updateExpression('avg:');
|
||||
await PageObjects.timelion.clickSuggestion();
|
||||
await PageObjects.timelion.clickSuggestion(0, 2000);
|
||||
const suggestions = await PageObjects.timelion.getSuggestionItemsText();
|
||||
expect(suggestions.length).to.eql(2);
|
||||
expect(suggestions[0].includes('avg:bytes')).to.eql(true);
|
||||
|
|
Loading…
Reference in a new issue