diff --git a/cypress/integration/plugins/observability-dashboards/4_panels.spec.js b/cypress/integration/plugins/observability-dashboards/4_panels.spec.js index 001c25f9f..4b63d5e54 100644 --- a/cypress/integration/plugins/observability-dashboards/4_panels.spec.js +++ b/cypress/integration/plugins/observability-dashboards/4_panels.spec.js @@ -30,7 +30,9 @@ describe('Testing panels table', () => { cy.get('input.euiFieldText').focus().type(TEST_PANEL, { delay: 50, }); - cy.intercept('POST', '/api/saved_objects/*').as('createDashboard'); + cy.intercept('POST', `${BASE_PATH}/api/saved_objects/*`).as( + 'createDashboard' + ); cy.get('.euiButton__text') .contains(/^Create$/) .trigger('mouseover')