From eecdb66024a6dce2e246ea89bef01549cceb8fa8 Mon Sep 17 00:00:00 2001 From: mahula Date: Sat, 27 May 2023 13:50:26 +0200 Subject: [PATCH] refine interception assertion --- ...I_see_all_the_reported_posts_including_the_one_from_above.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cypress/integration/Moderation.ReportContent/I_see_all_the_reported_posts_including_the_one_from_above.js b/cypress/integration/Moderation.ReportContent/I_see_all_the_reported_posts_including_the_one_from_above.js index ad6f04274..e454bd30b 100644 --- a/cypress/integration/Moderation.ReportContent/I_see_all_the_reported_posts_including_the_one_from_above.js +++ b/cypress/integration/Moderation.ReportContent/I_see_all_the_reported_posts_including_the_one_from_above.js @@ -7,7 +7,7 @@ Then('I see all the reported posts including the one from above', () => { hostname: 'localhost', }).as('getReports') - cy.wait(['@getReports']).then((interception) => { + cy.wait(['@getReports'],{ timeout: 10000 }).then((interception) => { console.log('Cypress interception:', interception) cy.wrap(interception.response.statusCode).should('eq', 200) cy.wrap(interception.request.body)