Skip to content

Commit

Permalink
adds timeout for events
Browse files Browse the repository at this point in the history
Signed-off-by: Shivam Dhar <dhshivam@amazon.com>
  • Loading branch information
Shivamdhar committed Aug 17, 2022
1 parent e81706a commit 4448b9c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ describe('Verify successful custom geojson file upload', () => {
before(() => {
cy.visit(`${BASE_PATH}/app/home#/tutorial_directory/sampleData`);
// Click on "Sample data" tab
cy.contains('Sample data').click({ force: true });
cy.contains('Sample data', { timeout: 60000 }).click({ force: true });
// Load sample flights data
cy.get(`button[data-test-subj="addSampleDataSetflights"]`).click({
force: true,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ describe('Verify the presence of import custom map tab in region map plugin', ()
before(() => {
cy.visit(`${BASE_PATH}/app/home#/tutorial_directory/sampleData`);
// Click on "Sample data" tab
cy.contains('Sample data').click({ force: true });
cy.contains('Sample data', { timeout: 60000 }).click({ force: true });
// Load sample flights data
cy.get(`button[data-test-subj="addSampleDataSetflights"]`).click({
force: true,
Expand Down

0 comments on commit 4448b9c

Please sign in to comment.