Skip to content

Commit

Permalink
Add timeout
Browse files Browse the repository at this point in the history
  • Loading branch information
criamico committed Oct 27, 2022
1 parent 4e5b01a commit d00c606
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion x-pack/plugins/fleet/cypress/e2e/fleet_agent_flyout.cy.ts
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ describe('Fleet add agent flyout', () => {
const AGENT_ID = 'agent' + Date.now();
navigateTo(FLEET);

cy.getBySel(ADD_AGENT_BUTTON_TOP).click();
cy.getBySel(ADD_AGENT_BUTTON_TOP, { timeout: 150000 }).click();
cy.intercept('POST', '/api/fleet/agent_policies?sys_monitoring=true').as('createAgentPolicy');

cy.getBySel(AGENT_FLYOUT.CREATE_POLICY_BUTTON).click();
Expand Down
2 changes: 1 addition & 1 deletion x-pack/plugins/fleet/cypress/screens/fleet.ts
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ export const SETTINGS_SAVE_BTN = 'saveApplySettingsBtn';
export const AGENT_POLICY_SYSTEM_MONITORING_CHECKBOX = 'agentPolicyFormSystemMonitoringCheckbox';
export const INSTALL_INTEGRATIONS_ADVANCE_OPTIONS_BTN = 'AgentPolicyAdvancedOptions.AccordionBtn';
export const AGENT_POLICY_CREATE_STATUS_CALLOUT = 'agentPolicyCreateStatusCallOut';
// export const FLEET_SERVER_HOST_INPUT = 'fleetServerHostInput';

export const EXISTING_HOSTS_TAB = 'existingHostsTab';
export const NEW_HOSTS_TAB = 'newHostsTab';

Expand Down

0 comments on commit d00c606

Please sign in to comment.