[8.10] [QA] Dismiss telemetry banner in ccs console test (#164178) (#164189)

# Backport

This will backport the following commits from `main` to `8.10`:
- [[QA] Dismiss telemetry banner in ccs console test
(#164178)](https://github.com/elastic/kibana/pull/164178)

<!--- 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-08-17T14:57:13Z","message":"[QA]
Dismiss telemetry banner in ccs console test (#164178)\n\n##
Summary\r\n\r\nRemoving the telemetry banner during the CCS console test
will help with\r\nflakiness (allowing for more of the query result to be
in the
view\r\nport).","sha":"33c35a5acdec084e362016fb635bc513f40653d5","branchLabelMapping":{"^v8.10.0$":"main","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["Team:QA","release_note:skip","test-stack-integration","v8.10.0","v8.11.0"],"number":164178,"url":"https://github.com/elastic/kibana/pull/164178","mergeCommit":{"message":"[QA]
Dismiss telemetry banner in ccs console test (#164178)\n\n##
Summary\r\n\r\nRemoving the telemetry banner during the CCS console test
will help with\r\nflakiness (allowing for more of the query result to be
in the
view\r\nport).","sha":"33c35a5acdec084e362016fb635bc513f40653d5"}},"sourceBranch":"main","suggestedTargetBranches":["8.11"],"targetPullRequestStates":[{"branch":"main","label":"v8.10.0","labelRegex":"^v8.10.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/164178","number":164178,"mergeCommit":{"message":"[QA]
Dismiss telemetry banner in ccs console test (#164178)\n\n##
Summary\r\n\r\nRemoving the telemetry banner during the CCS console test
will help with\r\nflakiness (allowing for more of the query result to be
in the
view\r\nport).","sha":"33c35a5acdec084e362016fb635bc513f40653d5"}},{"branch":"8.11","label":"v8.11.0","labelRegex":"^v(\\d+).(\\d+).\\d+$","isSourceBranch":false,"state":"NOT_CREATED"}]}]
BACKPORT-->

Co-authored-by: Marius Dragomir <marius-dr@users.noreply.github.com>
This commit is contained in:
Kibana Machine 2023-08-17 11:06:04 -04:00 committed by GitHub
parent 0b254801fc
commit c54cd8b11f
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -17,6 +17,7 @@ export default function ({ getService, getPageObjects }) {
before(async () => {
log.debug('navigateTo console');
await PageObjects.common.navigateToApp('console');
await PageObjects.common.dismissBanner();
await retry.try(async () => {
await PageObjects.console.collapseHelp();
});