From 8003b3bd5423e103e9efe2e92578a7fc5f21cf59 Mon Sep 17 00:00:00 2001 From: David Sanchez Soler Date: Wed, 8 Nov 2023 11:51:03 +0100 Subject: [PATCH] Increase timeout --- x-pack/plugins/security_solution/package.json | 2 +- .../serverless/policy_details_with_security_essentials.cy.ts | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/x-pack/plugins/security_solution/package.json b/x-pack/plugins/security_solution/package.json index a13046b0bc59f..b32b8c21ab956 100644 --- a/x-pack/plugins/security_solution/package.json +++ b/x-pack/plugins/security_solution/package.json @@ -15,7 +15,7 @@ "cypress:dw:run": "yarn cypress:dw run", "cypress:dw:serverless": "NODE_OPTIONS=--openssl-legacy-provider node ./scripts/start_cypress_parallel --config-file ./public/management/cypress/cypress_serverless.config.ts --ftr-config-file ../../test/defend_workflows_cypress/serverless_config", "cypress:dw:serverless:open": "yarn cypress:dw:serverless open", - "cypress:dw:serverless:run": "yarn cypress:dw:serverless run", + "cypress:dw:serverless:run": "yarn cypress:dw:serverless run --spec ./public/management/cypress/e2e/serverless/policy_details_with_security_essentials.cy.ts", "cypress:dw:serverless:changed-specs-only": "yarn cypress:dw:serverless run --changed-specs-only --env burn=2", "cypress:dw:endpoint": "echo '\n** WARNING **: Run script `cypress:dw:endpoint` no longer valid! Use `cypress:dw` instead\n'", "cypress:dw:endpoint:run": "echo '\n** WARNING **: Run script `cypress:dw:endpoint:run` no longer valid! Use `cypress:dw:run` instead\n'", diff --git a/x-pack/plugins/security_solution/public/management/cypress/e2e/serverless/policy_details_with_security_essentials.cy.ts b/x-pack/plugins/security_solution/public/management/cypress/e2e/serverless/policy_details_with_security_essentials.cy.ts index 1cb0c382ca707..2f969fc7d2c4d 100644 --- a/x-pack/plugins/security_solution/public/management/cypress/e2e/serverless/policy_details_with_security_essentials.cy.ts +++ b/x-pack/plugins/security_solution/public/management/cypress/e2e/serverless/policy_details_with_security_essentials.cy.ts @@ -40,7 +40,7 @@ describe( }); it('should display upselling section for protections', () => { - cy.getByTestSubj('endpointPolicy-protectionsLockedCard', { timeout: 60000 }) + cy.getByTestSubj('endpointPolicy-protectionsLockedCard', { timeout: 5 * 60 * 1000 }) .should('exist') .and('be.visible'); });