Skip to content

Commit

Permalink
Fix panel test not respecting base path setting (#1520)
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 Aug 19, 2024
1 parent 09bf9ce commit 4ff7b93
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 4ff7b93

Please sign in to comment.