Skip to content

Commit

Permalink
fix adding sample data button click
Browse files Browse the repository at this point in the history
Signed-off-by: Ritvi Bhatt <ribhatt@amazon.com>
  • Loading branch information
Ritvi Bhatt committed Dec 5, 2024
1 parent a7a582a commit 4178cea
Showing 1 changed file with 6 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -39,9 +39,13 @@ import {
describe('Adding sample data and visualization', () => {
it('Adds sample flights and logs data for event analytics', () => {
cy.visit(`${Cypress.env('opensearchDashboards')}/app/home#/tutorial_directory/sampleData`);
cy.get('[data-test-subj="launchSampleDataSetflights"]').click();
cy.get('div[data-test-subj="sampleDataSetCardflights"]')
.contains(/(Add|View) data/)
.click();
cy.visit(`${Cypress.env('opensearchDashboards')}/app/home#/tutorial_directory/sampleData`);
cy.get('[data-test-subj="launchSampleDataSetlogs"]').click();
cy.get('div[data-test-subj="sampleDataSetCardlogs"]')
.contains(/(Add|View) data/)
.click();
});
});

Expand Down

0 comments on commit 4178cea

Please sign in to comment.