mirror of
https://github.com/elastic/kibana.git
synced 2025-04-24 01:38:56 -04:00
[Flaky Test] - Role Management Screen (#19988)
Fixes a flaky test by waiting for Kibana to finish all pending requests before continuing
This commit is contained in:
parent
b39b5209e4
commit
8e9d776f54
1 changed files with 3 additions and 0 deletions
|
@ -136,6 +136,9 @@ export default function ({ getService, getPageObjects }) {
|
|||
});
|
||||
|
||||
it('Reserved roles are not editable', async () => {
|
||||
// wait for role tab to finish loading from previous test
|
||||
await PageObjects.header.waitUntilLoadingHasFinished();
|
||||
|
||||
const allInputs = await find.allByCssSelector('input');
|
||||
for (let i = 0; i < allInputs.length; i++) {
|
||||
const input = allInputs[i];
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue