[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:
Larry Gregory 2018-06-18 09:54:31 -04:00 committed by GitHub
parent b39b5209e4
commit 8e9d776f54
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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];