Skip to content

Commit

Permalink
[8.17] Stabilize inference endpoint svl search tests for MKI (#201492) (
Browse files Browse the repository at this point in the history
#201495)

# Backport

This will backport the following commits from `main` to `8.17`:
- [Stabilize inference endpoint svl search tests for MKI
(#201492)](#201492)

<!--- Backport version: 9.4.3 -->

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

<!--BACKPORT [{"author":{"name":"Robert
Oskamp","email":"[email protected]"},"sourceCommit":{"committedDate":"2024-11-23T09:44:01Z","message":"Stabilize
inference endpoint svl search tests for MKI (#201492)\n\n##
Summary\r\n\r\nThis PR stabilizes the inference endpoint serverless
earch UI tests for\r\nMKI runs by waiting for loading to finish after
refreshing the
page.","sha":"9a8ef27e5347cba13de2b21146ea0c7908c579de","branchLabelMapping":{"^v9.0.0$":"main","^v8.18.0$":"8.x","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["release_note:skip","v9.0.0","backport:version","v8.17.0","v8.18.0"],"title":"Stabilize
inference endpoint svl search tests for
MKI","number":201492,"url":"https://github.com/elastic/kibana/pull/201492","mergeCommit":{"message":"Stabilize
inference endpoint svl search tests for MKI (#201492)\n\n##
Summary\r\n\r\nThis PR stabilizes the inference endpoint serverless
earch UI tests for\r\nMKI runs by waiting for loading to finish after
refreshing the
page.","sha":"9a8ef27e5347cba13de2b21146ea0c7908c579de"}},"sourceBranch":"main","suggestedTargetBranches":["8.17","8.x"],"targetPullRequestStates":[{"branch":"main","label":"v9.0.0","branchLabelMappingKey":"^v9.0.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/201492","number":201492,"mergeCommit":{"message":"Stabilize
inference endpoint svl search tests for MKI (#201492)\n\n##
Summary\r\n\r\nThis PR stabilizes the inference endpoint serverless
earch UI tests for\r\nMKI runs by waiting for loading to finish after
refreshing the
page.","sha":"9a8ef27e5347cba13de2b21146ea0c7908c579de"}},{"branch":"8.17","label":"v8.17.0","branchLabelMappingKey":"^v(\\d+).(\\d+).\\d+$","isSourceBranch":false,"state":"NOT_CREATED"},{"branch":"8.x","label":"v8.18.0","branchLabelMappingKey":"^v8.18.0$","isSourceBranch":false,"state":"NOT_CREATED"}]}]
BACKPORT-->

Co-authored-by: Robert Oskamp <[email protected]>
  • Loading branch information
kibanamachine and pheyos authored Nov 23, 2024
1 parent 7281d97 commit c0fb5ca
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@ export default function ({ getPageObjects, getService }: FtrProviderContext) {
'svlCommonPage',
'embeddedConsole',
'svlSearchInferenceManagementPage',
'header',
]);
const svlSearchNavigation = getService('svlSearchNavigation');
const browser = getService('browser');
Expand Down Expand Up @@ -66,6 +67,7 @@ export default function ({ getPageObjects, getService }: FtrProviderContext) {
beforeEach(async () => {
await ml.api.createInferenceEndpoint(endpoint, taskType, modelConfig);
await browser.refresh();
await pageObjects.header.waitUntilLoadingHasFinished();
});

after(async () => {
Expand Down

0 comments on commit c0fb5ca

Please sign in to comment.