Skip to content

Commit

Permalink
Fix failing cypress test (#401) (#402)
Browse files Browse the repository at this point in the history
Signed-off-by: Naveen Tatikonda <navtat@amazon.com>
(cherry picked from commit ce8d829)

Co-authored-by: Naveen Tatikonda <navtat@amazon.com>
  • Loading branch information
1 parent 4e99f5b commit 7a948fe
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions cypress/integration/add_saved_object.spec.js
Original file line number Diff line number Diff line change
Expand Up @@ -7,13 +7,10 @@ import { BASE_PATH } from '../utils/constants';

describe('Add flights dataset saved object', () => {
before(() => {
cy.visit(`${BASE_PATH}/app/maps-dashboards`, {
cy.visit(`${BASE_PATH}/app/home#/tutorial_directory/sampleData`, {
retryOnStatusCodeFailure: true,
timeout: 60000,
});
cy.get('div[data-test-subj="indexPatternEmptyState"]', { timeout: 60000 })
.contains(/Add sample data/)
.click();
cy.get('div[data-test-subj="sampleDataSetCardflights"]', { timeout: 60000 })
.contains(/Add data/)
.click();
Expand Down

0 comments on commit 7a948fe

Please sign in to comment.