From 11bf49797c56d31be554aa67255e23e194db8570 Mon Sep 17 00:00:00 2001 From: AkshayaFoiger <131388445+AkshayaFoiger@users.noreply.github.com> Date: Fri, 20 Dec 2024 16:58:44 +0530 Subject: [PATCH] Update cypress-tests/cypress/support/commands.js Co-authored-by: Pa1NarK <69745008+pixincreate@users.noreply.github.com> --- cypress-tests/cypress/support/commands.js | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) 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", },