Skip to content

Commit

Permalink
synthetics - dismiss monitor management tour during uptime ml alert t…
Browse files Browse the repository at this point in the history
…ests (#134398)

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
  • Loading branch information
dominiqueclarke and kibanamachine authored Jun 15, 2022
1 parent a943b81 commit ee728cb
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions x-pack/test/functional/services/uptime/navigation.ts
Original file line number Diff line number Diff line change
Expand Up @@ -83,6 +83,10 @@ export function UptimeNavigationProvider({ getService, getPageObjects }: FtrProv
},

async loadDataAndGoToMonitorPage(dateStart: string, dateEnd: string, monitorId: string) {
const hasTour = await testSubjects.exists('syntheticsManagementTourDismiss');
if (hasTour) {
await testSubjects.click('syntheticsManagementTourDismiss');
}
await PageObjects.timePicker.setAbsoluteRange(dateStart, dateEnd);
await this.goToMonitor(monitorId);
},
Expand Down

0 comments on commit ee728cb

Please sign in to comment.