diff --git a/test/cypress/support/commands.js b/test/cypress/support/commands.js index 870cdec4e..e8576b6d2 100644 --- a/test/cypress/support/commands.js +++ b/test/cypress/support/commands.js @@ -486,6 +486,7 @@ Cypress.Commands.add( i18n, ); const urlApiThisCampaignLocalized = `${apiBaseUrl}${urlApiThisCampaign}`; + cy.fixture('apiGetThisCampaign').then((thisCampaignResponse) => { cy.intercept('GET', urlApiThisCampaignLocalized, { statusCode: responseStatusCode @@ -1123,7 +1124,7 @@ Cypress.Commands.add( body: subsidiaryResponse, }).as('postSubsidiary'); }); - } + }, ); /**