Skip to content

Commit

Permalink
added back one missing tests
Browse files Browse the repository at this point in the history
Signed-off-by: Eric Wei <menwe@amazon.com>
  • Loading branch information
mengweieric committed Mar 30, 2022
1 parent 8543dd6 commit c187725
Showing 1 changed file with 16 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,22 @@ describe('Adding sample data and visualization', () => {
});
});

describe('Has working breadcrumbs', () => {
it('Redirect to correct page on breadcrumb click', () => {
landOnEventExplorer();
cy.wait(delay * 3);
cy.get('.euiBreadcrumb').contains('Explorer').click();
cy.wait(delay);
cy.get('[data-test-subj="searchAutocompleteTextArea"]').should('exist');
cy.get('.euiBreadcrumb').contains('Event analytics').click();
cy.wait(delay);
cy.get('.euiTitle').contains('Event analytics').should('exist');
cy.get('.euiBreadcrumb').contains('Observability').click();
cy.wait(delay);
cy.get('.euiTitle').contains('Event analytics').should('exist');
});
});

describe('Search a query on event home', () => {
it('Search a query and redirect to explorer to display query output', () => {
landOnEventHome();
Expand Down

0 comments on commit c187725

Please sign in to comment.