mirror of
https://github.com/elastic/kibana.git
synced 2025-04-24 09:48:58 -04:00
[Obs UX] Fix hosts view flaky test (#173243)
fixes https://github.com/elastic/kibana/issues/172773 ## Summary https://buildkite.com/elastic/kibana-flaky-test-suite-runner/builds/4528 Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
This commit is contained in:
parent
c580213c00
commit
2f69f1b597
2 changed files with 4 additions and 2 deletions
|
@ -424,7 +424,9 @@ export default ({ getPageObjects, getService }: FtrProviderContext) => {
|
|||
});
|
||||
|
||||
it('should have an option to open the chart in lens', async () => {
|
||||
await pageObjects.infraHostsView.clickAndValidateMetriChartActionOptions();
|
||||
await retry.try(async () => {
|
||||
await pageObjects.infraHostsView.clickAndValidateMetricChartActionOptions();
|
||||
});
|
||||
});
|
||||
});
|
||||
|
||||
|
|
|
@ -108,7 +108,7 @@ export function InfraHostsViewProvider({ getService }: FtrProviderContext) {
|
|||
return container.findAllByCssSelector('[data-test-subj*="hostsView-metricChart-"]');
|
||||
},
|
||||
|
||||
async clickAndValidateMetriChartActionOptions() {
|
||||
async clickAndValidateMetricChartActionOptions() {
|
||||
const element = await testSubjects.find('hostsView-metricChart-tx');
|
||||
await element.moveMouseTo();
|
||||
const button = await element.findByTestSubject('embeddablePanelToggleMenuIcon');
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue