mirror of
https://github.com/elastic/kibana.git
synced 2025-04-24 09:48:58 -04:00
# Backport This will backport the following commits from `main` to `8.7`: - [[Stack Functional Integration] Dismiss uptime tour message (#153900)](https://github.com/elastic/kibana/pull/153900) <!--- Backport version: 8.9.7 --> ### Questions ? Please refer to the [Backport tool documentation](https://github.com/sqren/backport) <!--BACKPORT [{"author":{"name":"Marius Dragomir","email":"marius-dr@users.noreply.github.com"},"sourceCommit":{"committedDate":"2023-03-29T00:26:19Z","message":"[Stack Functional Integration] Dismiss uptime tour message (#153900)\n\n## Summary\r\n\r\nWe need to dismiss the uptime tour pop-up because it overlaps the time\r\npicker that we're using in the uptime test.\r\n\r\n\r\n\r\n\r\n---------\r\n\r\nCo-authored-by: kibanamachine <42973632+kibanamachine@users.noreply.github.com>","sha":"68a782aa4c5046dfe1fa70a81987bd99c8bfe6cf","branchLabelMapping":{"^v8.8.0$":"main","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["test","Team:QA","release_note:skip","test-stack-integration","v8.7.0","v8.8.0"],"number":153900,"url":"https://github.com/elastic/kibana/pull/153900","mergeCommit":{"message":"[Stack Functional Integration] Dismiss uptime tour message (#153900)\n\n## Summary\r\n\r\nWe need to dismiss the uptime tour pop-up because it overlaps the time\r\npicker that we're using in the uptime test.\r\n\r\n\r\n\r\n\r\n---------\r\n\r\nCo-authored-by: kibanamachine <42973632+kibanamachine@users.noreply.github.com>","sha":"68a782aa4c5046dfe1fa70a81987bd99c8bfe6cf"}},"sourceBranch":"main","suggestedTargetBranches":["8.7"],"targetPullRequestStates":[{"branch":"8.7","label":"v8.7.0","labelRegex":"^v(\\d+).(\\d+).\\d+$","isSourceBranch":false,"state":"NOT_CREATED"},{"branch":"main","label":"v8.8.0","labelRegex":"^v8.8.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/153900","number":153900,"mergeCommit":{"message":"[Stack Functional Integration] Dismiss uptime tour message (#153900)\n\n## Summary\r\n\r\nWe need to dismiss the uptime tour pop-up because it overlaps the time\r\npicker that we're using in the uptime test.\r\n\r\n\r\n\r\n\r\n---------\r\n\r\nCo-authored-by: kibanamachine <42973632+kibanamachine@users.noreply.github.com>","sha":"68a782aa4c5046dfe1fa70a81987bd99c8bfe6cf"}}]}] BACKPORT--> Co-authored-by: Marius Dragomir <marius-dr@users.noreply.github.com>
This commit is contained in:
parent
5e3c8bc271
commit
3a33952eb3
1 changed files with 2 additions and 1 deletions
|
@ -11,12 +11,13 @@ import { FtrProviderContext } from '../../../functional/ftr_provider_context';
|
|||
export default function ({ getService, getPageObjects }: FtrProviderContext) {
|
||||
const retry = getService('retry');
|
||||
const PageObjects = getPageObjects(['common', 'uptime', 'timePicker']);
|
||||
const testSubjects = getService('testSubjects');
|
||||
|
||||
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');
|
||||
await PageObjects.timePicker.setCommonlyUsedTime('Last_1 year');
|
||||
|
||||
await retry.try(async function () {
|
||||
const upCount = parseInt((await PageObjects.uptime.getSnapshotCount()).up, 10);
|
||||
expect(upCount).to.eql(1);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue