mirror of
https://github.com/elastic/kibana.git
synced 2025-04-23 01:13:23 -04:00
[Stack Management Integration] Add extra checks in Uptime test (#154115)
## Summary Add a check for the tour popup being present in the Uptime app. It does not show up on all the current configs.
This commit is contained in:
parent
33599ad414
commit
35654305bd
1 changed files with 4 additions and 1 deletions
|
@ -16,7 +16,10 @@ export default function ({ getService, getPageObjects }: FtrProviderContext) {
|
|||
describe('check heartbeat overview page', function () {
|
||||
it('Uptime app should show 1 UP monitor', async function () {
|
||||
await PageObjects.common.navigateToApp('uptime', { insertTimestamp: false });
|
||||
await testSubjects.click('syntheticsManagementTourDismiss');
|
||||
// dismiss the Management tour if it's present
|
||||
if (await this.testSubjects.exists('syntheticsManagementTourDismiss')) {
|
||||
await testSubjects.click('syntheticsManagementTourDismiss');
|
||||
}
|
||||
await PageObjects.timePicker.setCommonlyUsedTime('Last_1 year');
|
||||
await retry.try(async function () {
|
||||
const upCount = parseInt((await PageObjects.uptime.getSnapshotCount()).up, 10);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue