From fbae41babb22a301d9dec9b3b9ff2b2b0322b5fe Mon Sep 17 00:00:00 2001 From: seaona Date: Mon, 26 Aug 2024 11:50:13 +0200 Subject: [PATCH] sentry fix increase wait time --- test/e2e/tests/metrics/errors.spec.js | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/test/e2e/tests/metrics/errors.spec.js b/test/e2e/tests/metrics/errors.spec.js index 35964545625f..464dbedc51fd 100644 --- a/test/e2e/tests/metrics/errors.spec.js +++ b/test/e2e/tests/metrics/errors.spec.js @@ -314,7 +314,7 @@ describe('Sentry errors', function () { await driver.wait(async () => { const isPending = await mockedEndpoint.isPending(); return isPending === false; - }, 3000); + }, 8000); const [mockedRequest] = await mockedEndpoint.getSeenRequests(); const mockTextBody = (await mockedRequest.body.getText()).split('\n'); @@ -358,7 +358,7 @@ describe('Sentry errors', function () { await driver.wait(async () => { const isPending = await mockedEndpoint.isPending(); return isPending === false; - }, 3000); + }, 8000); const [mockedRequest] = await mockedEndpoint.getSeenRequests(); const mockTextBody = (await mockedRequest.body.getText()).split('\n'); @@ -468,7 +468,7 @@ describe('Sentry errors', function () { await driver.wait(async () => { const isPending = await mockedEndpoint.isPending(); return isPending === false; - }, 3000); + }, 8000); const [mockedRequest] = await mockedEndpoint.getSeenRequests(); const mockTextBody = (await mockedRequest.body.getText()).split('\n'); const mockJsonBody = JSON.parse(mockTextBody[2]); @@ -510,7 +510,7 @@ describe('Sentry errors', function () { await driver.wait(async () => { const isPending = await mockedEndpoint.isPending(); return isPending === false; - }, 3000); + }, 8000); const [mockedRequest] = await mockedEndpoint.getSeenRequests(); const mockTextBody = (await mockedRequest.body.getText()).split('\n'); const mockJsonBody = JSON.parse(mockTextBody[2]);