Skip to content

Commit

Permalink
Increase timeout in dashboard test for better stability
Browse files Browse the repository at this point in the history
  • Loading branch information
ebondare committed Oct 14, 2020
1 parent 66ad8b2 commit 70fede2
Showing 1 changed file with 2 additions and 2 deletions.
Expand Up @@ -24,11 +24,11 @@ describe('Check health data on main OCP dashboard ', () => {
it('Check main dashboard health icon is yellow and cluster health is degraded.', async () => {
await browser.wait(until.presenceOf(mainHealtGreenSvg));
noOutChange('set');
await browser.wait(until.not(until.presenceOf(mainHealtGreenSvg)));
await browser.wait(until.not(until.presenceOf(mainHealtGreenSvg)), 60 * SECOND);
await browser.sleep(2 * SECOND);
expect(mainHealtYellowSvg.isPresent()).toBe(true);
noOutChange('unset');
await browser.wait(until.presenceOf(mainHealtGreenSvg), 60 * SECOND);
await browser.wait(until.presenceOf(mainHealtGreenSvg), 120 * SECOND);
});

xit('Check main dashboard health icon is red and cluster is NA', async () => {
Expand Down

0 comments on commit 70fede2

Please sign in to comment.