From 550345f9fea71e7e864c84735b67c07674a560fe Mon Sep 17 00:00:00 2001 From: EnixCoda Date: Sun, 2 May 2021 22:06:39 +0800 Subject: [PATCH] test: assert PJAX works when going back --- __tests__/cases/pjax.mixed.ts | 2 ++ 1 file changed, 2 insertions(+) diff --git a/__tests__/cases/pjax.mixed.ts b/__tests__/cases/pjax.mixed.ts index 73912b3..2e6822e 100644 --- a/__tests__/cases/pjax.mixed.ts +++ b/__tests__/cases/pjax.mixed.ts @@ -16,9 +16,11 @@ describe(`in Gitako project page`, () => { await waitForLegacyPJAXRedirect() page.goBack() + await waitForLegacyPJAXRedirect() await sleep(1000) page.goBack() + await waitForLegacyPJAXRedirect() await sleep(1000) expect(