Skip to content

Commit

Permalink
updating panels tests (opensearch-project#1272)
Browse files Browse the repository at this point in the history
Signed-off-by: Sean Li <[email protected]>
Co-authored-by: Hailong Cui <[email protected]>
  • Loading branch information
sejli and Hailong-am authored May 7, 2024
1 parent 7f1709d commit db44222
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -30,11 +30,11 @@ describe('Testing panels table', () => {
cy.get('input.euiFieldText').focus().type(TEST_PANEL, {
delay: 50,
});
cy.intercept('POST', '/api/saved_objects/*').as('createDashboard');
cy.get('.euiButton__text')
.contains(/^Create$/)
.trigger('mouseover')
.click();
cy.intercept('POST', '/api/saved_objects/*').as('createDashboard');
cy.wait('@createDashboard');

cy.contains(TEST_PANEL).should('exist');
Expand Down

0 comments on commit db44222

Please sign in to comment.