[8.5] [ML] Changes the name of a screenshot in the custom urls suite (#146519) (#146550)

# Backport

This will backport the following commits from `main` to `8.5`:
- [[ML] Changes the name of a screenshot in the custom urls suite
(#146519)](https://github.com/elastic/kibana/pull/146519)

<!--- Backport version: 8.9.7 -->

### Questions ?
Please refer to the [Backport tool
documentation](https://github.com/sqren/backport)

<!--BACKPORT [{"author":{"name":"István Zoltán
Szabó","email":"szabosteve@gmail.com"},"sourceCommit":{"committedDate":"2022-11-29T13:37:35Z","message":"[ML]
Changes the name of a screenshot in the custom urls suite
(#146519)\n\n## Summary\r\n\r\nThis PR changes the name of a screenshot
taken by the custom_url
test\r\nsuite.","sha":"4446dce8a900a9c0c7d336bccf8542d3732dde5d","branchLabelMapping":{"^v8.7.0$":"main","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":[":ml","release_note:skip","auto-backport","v8.7.0","8.6.1","v8.5.3"],"number":146519,"url":"https://github.com/elastic/kibana/pull/146519","mergeCommit":{"message":"[ML]
Changes the name of a screenshot in the custom urls suite
(#146519)\n\n## Summary\r\n\r\nThis PR changes the name of a screenshot
taken by the custom_url
test\r\nsuite.","sha":"4446dce8a900a9c0c7d336bccf8542d3732dde5d"}},"sourceBranch":"main","suggestedTargetBranches":["8.5"],"targetPullRequestStates":[{"branch":"main","label":"v8.7.0","labelRegex":"^v8.7.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/146519","number":146519,"mergeCommit":{"message":"[ML]
Changes the name of a screenshot in the custom urls suite
(#146519)\n\n## Summary\r\n\r\nThis PR changes the name of a screenshot
taken by the custom_url
test\r\nsuite.","sha":"4446dce8a900a9c0c7d336bccf8542d3732dde5d"}},{"branch":"8.5","label":"v8.5.3","labelRegex":"^v(\\d+).(\\d+).\\d+$","isSourceBranch":false,"state":"NOT_CREATED"}]}]
BACKPORT-->

Co-authored-by: István Zoltán Szabó <szabosteve@gmail.com>
This commit is contained in:
Kibana Machine 2022-11-29 09:32:09 -05:00 committed by GitHub
parent 23cb4202c7
commit daefcdbd94
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -94,7 +94,7 @@ export default function ({ getService }: FtrProviderContext) {
await ml.anomaliesTable.scrollTableIntoView();
await ml.anomaliesTable.ensureAnomalyActionsMenuOpen(0);
await commonScreenshots.takeScreenshot('ml-population-results', screenshotDirectories);
await commonScreenshots.takeScreenshot('ml-customurl', screenshotDirectories);
});
});
}