Skip to content

Commit

Permalink
Fix observability panel test base paths on 2.15 (#1521)
Browse files Browse the repository at this point in the history
* Fix panel test not respecting base path setting

Signed-off-by: Simeon Widdis <[email protected]>

* Apply prettier lints

Signed-off-by: Simeon Widdis <[email protected]>

---------

Signed-off-by: Simeon Widdis <[email protected]>
  • Loading branch information
Swiddis authored Sep 3, 2024
1 parent 2fd0436 commit 4d16def
Showing 1 changed file with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -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')
Expand Down

0 comments on commit 4d16def

Please sign in to comment.