Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[8.4] add a dismiss to the uptime tour popup (#142879) #142942

Merged
merged 4 commits into from
Oct 8, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions x-pack/test/functional/page_objects/uptime_page.ts
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,10 @@ export class UptimePageObject extends FtrService {
}
}

public async dismissTour() {
await this.testSubjects.click('syntheticsManagementTourDismiss');
}

public async setDateRange(start: string, end: string) {
const { start: prevStart, end: prevEnd } = await this.timePicker.getTimeConfig();
if (start !== prevStart || prevEnd !== end) {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@ 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 PageObjects.uptime.dismissTour();
await PageObjects.timePicker.setCommonlyUsedTime('Last_1 year');

await retry.try(async function () {
Expand Down