diff --git a/cypress-tests/cypress/support/commands.js b/cypress-tests/cypress/support/commands.js index 16fe0c9a437b..0577d50e68d8 100644 --- a/cypress-tests/cypress/support/commands.js +++ b/cypress-tests/cypress/support/commands.js @@ -112,9 +112,12 @@ Cypress.Commands.add("merchantDeleteCall", (globalState) => { }); Cypress.Commands.add("ListConnectorsFeatureMatrixCall", (globalState) => { + const baseUrl = globalState.get("baseUrl"); + const url = `${baseUrl}/feature_matrix`; + cy.request({ method: "GET", - url: `${globalState.get("baseUrl")}/feature_matrix`, + url: url, headers: { Accept: "application/json", },