Skip to content

Commit

Permalink
Fix flaky test by increasing sleep time
Browse files Browse the repository at this point in the history
This test was failing on macOS because the sleep time was too short. Increasing it to 500ms should be enough to make the test pass.
  • Loading branch information
jpogran committed Dec 16, 2024
1 parent 9126324 commit 4b7f807
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/test/e2e/specs/views/hcp.e2e.ts
Original file line number Diff line number Diff line change
Expand Up @@ -108,7 +108,7 @@ describe('HCP tree view tests', () => {
expect(await runTree?.isDisplayed()).is.true;

// wait for the run to load otherwise the test will fail
await VSBrowser.instance.driver.sleep(100);
await VSBrowser.instance.driver.sleep(500);

const runItem = await runTree.findItem('Run 1');
expect(runItem).not.undefined;
Expand Down

0 comments on commit 4b7f807

Please sign in to comment.