mirror of
https://github.com/elastic/kibana.git
synced 2025-04-24 01:38:56 -04:00
[ObsUx][Infra] Fix failing test (#206637)
Closes https://github.com/elastic/kibana/issues/192891 ### Summary The element wasn't found in the DOM because was reloaded, found the error `StaleElementReferenceError: stale element reference: stale element not found in the current frame`, the test has been fixed adding a wait for the page to completely load. Going to run flaky test runner
This commit is contained in:
parent
098e8cb518
commit
93b7c950ef
1 changed files with 2 additions and 2 deletions
|
@ -477,8 +477,7 @@ export default ({ getPageObjects, getService }: FtrProviderContext) => {
|
|||
});
|
||||
});
|
||||
|
||||
// FLAKY: https://github.com/elastic/kibana/issues/192891
|
||||
describe.skip('Processes Tab', () => {
|
||||
describe('Processes Tab', () => {
|
||||
before(async () => {
|
||||
await esArchiver.load('x-pack/test/functional/es_archives/infra/metrics_hosts_processes');
|
||||
await esArchiver.load('x-pack/test/functional/es_archives/infra/metrics_and_logs');
|
||||
|
@ -501,6 +500,7 @@ export default ({ getPageObjects, getService }: FtrProviderContext) => {
|
|||
});
|
||||
|
||||
it('should render processes tab and with Total Value summary', async () => {
|
||||
await pageObjects.header.waitUntilLoadingHasFinished();
|
||||
const processesTotalValue =
|
||||
await pageObjects.assetDetails.getProcessesTabContentTotalValue();
|
||||
await retry.tryForTime(5000, async () => {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue