Skip to content

Commit

Permalink
Increase request timeout to 30s
Browse files Browse the repository at this point in the history
  • Loading branch information
gbamparop committed Apr 7, 2022
1 parent a4a280d commit 761dc8e
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion x-pack/plugins/apm/ftr_e2e/cypress.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,6 @@
"video": false,
"screenshotOnRunFailure": false,
"retries": {
"runMode": 2
"runMode": 0
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,7 @@ describe('When navigating to the service inventory', () => {
});

it('with the correct environment when changing the environment', () => {
cy.wait(aliasNames, { requestTimeout: 10000 });
cy.wait(aliasNames, { requestTimeout: 30000 });

cy.get('[data-test-subj="environmentFilter"]').select('production');

Expand All @@ -97,13 +97,13 @@ describe('When navigating to the service inventory', () => {
});

it('when clicking the refresh button', () => {
cy.wait(aliasNames, { requestTimeout: 10000 });
cy.wait(aliasNames, { requestTimeout: 30000 });
cy.contains('Refresh').click();
cy.wait(aliasNames);
});

it('when selecting a different time range and clicking the update button', () => {
cy.wait(aliasNames, { requestTimeout: 10000 });
cy.wait(aliasNames, { requestTimeout: 30000 });

cy.selectAbsoluteTimeRange(
moment(timeRange.rangeFrom).subtract(5, 'm').toISOString(),
Expand Down

0 comments on commit 761dc8e

Please sign in to comment.