diff --git a/x-pack/plugins/security_solution/package.json b/x-pack/plugins/security_solution/package.json index a13046b0bc59..b32b8c21ab95 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 1cb0c382ca70..2f969fc7d2c4 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'); });