Skip to content

Commit

Permalink
Added timeout
Browse files Browse the repository at this point in the history
  • Loading branch information
yushan-mu committed Oct 30, 2024
1 parent 0785c2b commit 71db206
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions test/e2e/api/events/map-change-event.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,7 @@ test.describe('map change event test ', () => {
layer.checked = true;
});

await page.waitForTimeout(500);
expect(layerClicked).toBe(2);
});

Expand All @@ -52,6 +53,7 @@ test.describe('map change event test ', () => {
extent.checked = true;
});

await page.waitForTimeout(500);
expect(extentClicked).toBe(2);
});
});

0 comments on commit 71db206

Please sign in to comment.