diff --git a/e2e-tests/cypress/tests/integration/channels/enterprise/metrics/helper.js b/e2e-tests/cypress/tests/integration/channels/enterprise/metrics/helper.js index 0cec198fb7a..72eaa4a2673 100644 --- a/e2e-tests/cypress/tests/integration/channels/enterprise/metrics/helper.js +++ b/e2e-tests/cypress/tests/integration/channels/enterprise/metrics/helper.js @@ -15,7 +15,7 @@ export const checkMetrics = (expectedStatusCode) => { failOnStatusCode: false, }).then((response) => { expect(response.headers['Content-Type'], 'should not hit webapp').not.to.equal('text/html'); - expect(response.status, 'should match expected status code').to.equal(expectedStatusCode); + expect(response.status, `should match expected status code hitting ${baseURL.toString()}`).to.equal(expectedStatusCode); }); }); };