Skip to content

Commit 556d4dc

Browse files
test(appsec timeout): Wait before first test
1 parent 398fe89 commit 556d4dc

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

tests/e2e-ddev/__tests__/12-appsec-timeout.js

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@ const {
1313
onAdminGoToAdvancedPage,
1414
selectByName,
1515
onAdminSaveSettings,
16+
wait,
1617
} = require("../utils/helpers");
1718
const { CURRENT_IP } = require("../utils/constants");
1819

@@ -27,6 +28,7 @@ describe(`Should be captcha by AppSec because of timeout`, () => {
2728
});
2829

2930
it("Should captcha for home page as this is the appsec fallback remediation", async () => {
31+
await wait(1000);
3032
await publicHomepageShouldBeCaptchaWall();
3133
});
3234

0 commit comments

Comments
 (0)