Skip to content

Commit

Permalink
hope IT pass now : take 3
Browse files Browse the repository at this point in the history
Signed-off-by: Deepak Devarakonda <devardee@amazon.com>
  • Loading branch information
devardee committed Feb 1, 2024
1 parent d126ece commit ec2b623
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion test/cypress/support/commands.js
Original file line number Diff line number Diff line change
Expand Up @@ -93,11 +93,12 @@ Cypress.Commands.add('loginWithSamlMultiauth', () => {

Cypress.Commands.add('shortenUrl', (data, tenant) => {
cy.request({
url: `${DASHBOARDS_API.SHORTEN_URL}`,
url: `http://localhost:5601${DASHBOARDS_API.SHORTEN_URL}`,
method: 'POST',
body: data,
headers: { securitytenant: tenant, 'osd-xsrf': 'osd-fetch' },
}).then((response) => {
expect(response.status).to.eq(200);
return response.body;
});
});

0 comments on commit ec2b623

Please sign in to comment.