Skip to content
This repository has been archived by the owner on Aug 2, 2022. It is now read-only.

Commit

Permalink
extend the timeout to 30 seconds for initial load
Browse files Browse the repository at this point in the history
  • Loading branch information
Tianli Feng committed Jun 19, 2020
1 parent a897afb commit e4b9d66
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions cypress/integration/alert_spec.js
Original file line number Diff line number Diff line change
Expand Up @@ -28,8 +28,8 @@ describe('Alerts', () => {
// Visit Alerting Kibana
cy.visit(`${Cypress.env('kibana')}/app/${PLUGIN_NAME}#`);

// Common text to wait for to confirm page loaded, give up to 20 seconds for initial load
cy.contains('Acknowledge', { timeout: 20000 });
// Common text to wait for to confirm page loaded, give up to 30 seconds for initial load
cy.contains('Acknowledge', { timeout: 30000 });
});

describe("can be in 'Active' state", () => {
Expand All @@ -38,7 +38,7 @@ describe('Alerts', () => {
cy.createMonitor(sampleMonitorWithAlwaysTrueTrigger);
});

it('successfully', () => {
it.only('successfully', () => {
// Wait for 1 minute
cy.wait(60000);

Expand Down

0 comments on commit e4b9d66

Please sign in to comment.