Skip to content

Commit

Permalink
[8.x] Stabilize inference endpoint svl search tests for MKI (#201492) (
Browse files Browse the repository at this point in the history
…#201507)

# Backport

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

<!--- Backport version: 8.9.8 -->

### 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"],"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.x"],"targetPullRequestStates":[{"branch":"main","label":"v9.0.0","labelRegex":"^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","labelRegex":"^v(\\d+).(\\d+).\\d+$","isSourceBranch":false,"url":"https://github.com/elastic/kibana/pull/201495","number":201495,"state":"MERGED","mergeCommit":{"sha":"c0fb5caf67dff39dd9f38a4e529741679f48fdf8","message":"[8.17]
Stabilize inference endpoint svl search tests for MKI (#201492)
(#201495)\n\n# Backport\n\nThis will backport the following commits from
`main` to `8.17`:\n- [Stabilize inference endpoint svl search tests for
MKI\n(#201492)](https://github.com/elastic/kibana/pull/201492)\n\n<!---
Backport version: 9.4.3 -->\n\n### Questions ?\nPlease refer to the
[Backport
tool\ndocumentation](https://github.com/sqren/backport)\n\n<!--BACKPORT
[{\"author\":{\"name\":\"Robert\nOskamp\",\"email\":\"[email protected]\"},\"sourceCommit\":{\"committedDate\":\"2024-11-23T09:44:01Z\",\"message\":\"Stabilize\ninference
endpoint svl search tests for MKI
(#201492)\\n\\n##\nSummary\\r\\n\\r\\nThis PR stabilizes the inference
endpoint serverless\nearch UI tests for\\r\\nMKI runs by waiting for
loading to finish after\nrefreshing
the\npage.\",\"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\ninference
endpoint svl search tests
for\nMKI\",\"number\":201492,\"url\":\"https://github.com/elastic/kibana/pull/201492\",\"mergeCommit\":{\"message\":\"Stabilize\ninference
endpoint svl search tests for MKI
(#201492)\\n\\n##\nSummary\\r\\n\\r\\nThis PR stabilizes the inference
endpoint serverless\nearch UI tests for\\r\\nMKI runs by waiting for
loading to finish after\nrefreshing
the\npage.\",\"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\ninference
endpoint svl search tests for MKI
(#201492)\\n\\n##\nSummary\\r\\n\\r\\nThis PR stabilizes the inference
endpoint serverless\nearch UI tests for\\r\\nMKI runs by waiting for
loading to finish after\nrefreshing
the\npage.\",\"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\"}]}]\nBACKPORT-->\n\nCo-authored-by:
Robert Oskamp
<[email protected]>"}},{"branch":"8.x","label":"v8.18.0","labelRegex":"^v8.18.0$","isSourceBranch":false,"state":"NOT_CREATED"}]}]
BACKPORT-->
  • Loading branch information
pheyos authored Nov 25, 2024
1 parent 481ac5d commit b69e9c9
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 b69e9c9

Please sign in to comment.