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.16`: - [[ObsUx][Infra] Processes Tab: Fix failling test (#197823)](https://github.com/elastic/kibana/pull/197823) <!--- Backport version: 9.4.3 --> ### Questions ? Please refer to the [Backport tool documentation](https://github.com/sqren/backport) <!--BACKPORT [{"author":{"name":"jennypavlova","email":"dzheni.pavlova@elastic.co"},"sourceCommit":{"committedDate":"2024-10-25T14:48:00Z","message":"[ObsUx][Infra] Processes Tab: Fix failling test (#197823)\n\nCloses #192891 \r\n\r\n## Summary\r\n\r\nThis PR fixes the processes tab failing test.\r\nI checked locally and it passed.\r\n\r\n✅ Flaky test runner (x50):\r\nhttps://buildkite.com/elastic/kibana-flaky-test-suite-runner/builds/7264","sha":"b8dabb5b81087f53e17f715ea19a17d50cc64167","branchLabelMapping":{"^v9.0.0$":"main","^v8.17.0$":"8.x","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["release_note:skip","v9.0.0","Team:obs-ux-infra_services","v8.16.0","backport:version"],"title":"[ObsUx][Infra] Processes Tab: Fix failling test","number":197823,"url":"https://github.com/elastic/kibana/pull/197823","mergeCommit":{"message":"[ObsUx][Infra] Processes Tab: Fix failling test (#197823)\n\nCloses #192891 \r\n\r\n## Summary\r\n\r\nThis PR fixes the processes tab failing test.\r\nI checked locally and it passed.\r\n\r\n✅ Flaky test runner (x50):\r\nhttps://buildkite.com/elastic/kibana-flaky-test-suite-runner/builds/7264","sha":"b8dabb5b81087f53e17f715ea19a17d50cc64167"}},"sourceBranch":"main","suggestedTargetBranches":["8.16"],"targetPullRequestStates":[{"branch":"main","label":"v9.0.0","branchLabelMappingKey":"^v9.0.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/197823","number":197823,"mergeCommit":{"message":"[ObsUx][Infra] Processes Tab: Fix failling test (#197823)\n\nCloses #192891 \r\n\r\n## Summary\r\n\r\nThis PR fixes the processes tab failing test.\r\nI checked locally and it passed.\r\n\r\n✅ Flaky test runner (x50):\r\nhttps://buildkite.com/elastic/kibana-flaky-test-suite-runner/builds/7264","sha":"b8dabb5b81087f53e17f715ea19a17d50cc64167"}},{"branch":"8.16","label":"v8.16.0","branchLabelMappingKey":"^v(\\d+).(\\d+).\\d+$","isSourceBranch":false,"state":"NOT_CREATED"}]}] BACKPORT--> Co-authored-by: jennypavlova <dzheni.pavlova@elastic.co>
This commit is contained in:
parent
043f05939c
commit
e1290b0821
1 changed files with 6 additions and 4 deletions
|
@ -404,8 +404,9 @@ export default ({ getPageObjects, getService }: FtrProviderContext) => {
|
|||
await pageObjects.assetDetails.clickProcessesTab();
|
||||
const processesTotalValue =
|
||||
await pageObjects.assetDetails.getProcessesTabContentTotalValue();
|
||||
const processValue = await processesTotalValue.getVisibleText();
|
||||
expect(processValue).to.eql('N/A');
|
||||
await retry.tryForTime(5000, async () => {
|
||||
expect(await processesTotalValue.getVisibleText()).to.eql('N/A');
|
||||
});
|
||||
});
|
||||
});
|
||||
});
|
||||
|
@ -510,8 +511,9 @@ export default ({ getPageObjects, getService }: FtrProviderContext) => {
|
|||
it('should render processes tab and with Total Value summary', async () => {
|
||||
const processesTotalValue =
|
||||
await pageObjects.assetDetails.getProcessesTabContentTotalValue();
|
||||
const processValue = await processesTotalValue.getVisibleText();
|
||||
expect(processValue).to.eql('313');
|
||||
await retry.tryForTime(5000, async () => {
|
||||
expect(await processesTotalValue.getVisibleText()).to.eql('313');
|
||||
});
|
||||
});
|
||||
|
||||
it('should expand processes table row', async () => {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue