Skip to content

Commit

Permalink
[Flaky Test] Fixes flaky role test (#19899)
Browse files Browse the repository at this point in the history
Here's a fix for the latest flaky test @kobelb
  • Loading branch information
legrego authored Jun 14, 2018
1 parent 8667ebd commit b0e6998
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions x-pack/test/functional/apps/security/management.js
Original file line number Diff line number Diff line change
Expand Up @@ -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];
Expand Down

0 comments on commit b0e6998

Please sign in to comment.