From e46d2edcb743542664429d1cc24ef7cad9948c93 Mon Sep 17 00:00:00 2001 From: addshore Date: Sun, 27 Sep 2026 21:54:36 +0100 Subject: [PATCH] test: wait for discovery pagination I was looking at the failure of https://github.com/wbstack/ui/actions/runs/36248938811/job/108423222172 And believe this wait needs to be in place to ensure the check happens once data is actually loaded --- tests/e2e/specs/discovery.spec.js | 1 + 1 file changed, 1 insertion(+) diff --git a/tests/e2e/specs/discovery.spec.js b/tests/e2e/specs/discovery.spec.js index fbda2a3f..0a794d5d 100644 --- a/tests/e2e/specs/discovery.spec.js +++ b/tests/e2e/specs/discovery.spec.js @@ -17,6 +17,7 @@ describe('Discovery page', () => { it('should paginate results', async () => { const page = await Discovery.pagination + await page.waitForDisplayed({ timeout: 5000 }) expect(await page.isDisplayed()).toBe(true) })