mirror of
https://github.com/elastic/kibana.git
synced 2025-04-24 17:59:23 -04:00
Fix Kibana fail to startup in Cypress (#164480)
## Summary - remove duplicated buildkite pipeline steps - remove concurrency from parallel that was causing flakiness - cleanup package.json scripts --------- Co-authored-by: Tiago Costa <tiago.costa@elastic.co>
This commit is contained in:
parent
464f908ac3
commit
05cfa1ad5b
27 changed files with 111 additions and 99 deletions
|
@ -10,4 +10,6 @@ export KIBANA_INSTALL_DIR=${KIBANA_BUILD_LOCATION}
|
|||
|
||||
echo "--- Defend Workflows Cypress tests"
|
||||
|
||||
yarn --cwd x-pack/plugins/security_solution cypress:dw:run
|
||||
cd x-pack/plugins/security_solution
|
||||
|
||||
yarn cypress:dw:run; status=$?; yarn junit:merge && exit $status
|
||||
|
|
|
@ -8,7 +8,8 @@ source .buildkite/scripts/steps/functional/common_cypress.sh
|
|||
export JOB=kibana-defend-workflows-endpoint-cypress
|
||||
export KIBANA_INSTALL_DIR=${KIBANA_BUILD_LOCATION}
|
||||
|
||||
|
||||
echo "--- Defend Workflows Endpoint Cypress tests"
|
||||
|
||||
yarn --cwd x-pack/plugins/security_solution cypress:dw:endpoint:run
|
||||
cd x-pack/plugins/security_solution
|
||||
|
||||
yarn cypress:dw:endpoint:run; status=$?; yarn junit:merge && exit $status
|
||||
|
|
|
@ -10,4 +10,6 @@ export KIBANA_INSTALL_DIR=${KIBANA_BUILD_LOCATION}
|
|||
|
||||
echo "--- Response Ops Cypress Tests on Security Solution"
|
||||
|
||||
yarn --cwd x-pack/test/security_solution_cypress cypress:run:respops:ess
|
||||
cd x-pack/test/security_solution_cypress
|
||||
|
||||
yarn cypress:run:respops:ess; status=$?; yarn junit:merge && exit $status
|
||||
|
|
|
@ -10,4 +10,6 @@ export KIBANA_INSTALL_DIR=${KIBANA_BUILD_LOCATION}
|
|||
|
||||
echo "--- Response Ops Cases Cypress Tests on Security Solution"
|
||||
|
||||
yarn --cwd x-pack/test/security_solution_cypress cypress:run:cases:ess
|
||||
cd x-pack/test/security_solution_cypress
|
||||
|
||||
yarn cypress:run:cases:ess; status=$?; yarn junit:merge && exit $status
|
||||
|
|
|
@ -10,4 +10,6 @@ export KIBANA_INSTALL_DIR=${KIBANA_BUILD_LOCATION}
|
|||
|
||||
echo "--- Security Serverless Cypress Tests"
|
||||
|
||||
yarn --cwd x-pack/test/security_solution_cypress cypress:run:serverless
|
||||
cd x-pack/test/security_solution_cypress
|
||||
|
||||
yarn cypress:run:serverless; status=$?; yarn junit:merge && exit $status
|
||||
|
|
|
@ -10,4 +10,6 @@ export KIBANA_INSTALL_DIR=${KIBANA_BUILD_LOCATION}
|
|||
|
||||
echo "--- Explore - Security Solution Cypress Tests"
|
||||
|
||||
yarn --cwd x-pack/test/security_solution_cypress cypress:explore:run:serverless
|
||||
cd x-pack/test/security_solution_cypress
|
||||
|
||||
yarn cypress:explore:run:serverless; status=$?; yarn junit:merge && exit $status
|
||||
|
|
|
@ -10,4 +10,6 @@ export KIBANA_INSTALL_DIR=${KIBANA_BUILD_LOCATION}
|
|||
|
||||
echo "--- Investigations Cypress Tests on Serverless"
|
||||
|
||||
yarn --cwd x-pack/test/security_solution_cypress cypress:investigations:run:serverless
|
||||
cd x-pack/test/security_solution_cypress
|
||||
|
||||
yarn cypress:investigations:run:serverless; status=$?; yarn junit:merge && exit $status
|
||||
|
|
|
@ -10,4 +10,6 @@ export KIBANA_INSTALL_DIR=${KIBANA_BUILD_LOCATION}
|
|||
|
||||
echo "--- Security Solution Cypress tests (Chrome)"
|
||||
|
||||
yarn --cwd x-pack/test/security_solution_cypress cypress:run:ess
|
||||
cd x-pack/test/security_solution_cypress
|
||||
|
||||
yarn cypress:run:ess; status=$?; yarn junit:merge && exit $status
|
||||
|
|
|
@ -10,4 +10,6 @@ export KIBANA_INSTALL_DIR=${KIBANA_BUILD_LOCATION}
|
|||
|
||||
echo "--- Explore Cypress Tests on Security Solution"
|
||||
|
||||
yarn --cwd x-pack/test/security_solution_cypress cypress:explore:run:ess
|
||||
cd x-pack/test/security_solution_cypress
|
||||
|
||||
yarn cypress:explore:run:ess; status=$?; yarn junit:merge && exit $status
|
||||
|
|
|
@ -10,4 +10,6 @@ export KIBANA_INSTALL_DIR=${KIBANA_BUILD_LOCATION}
|
|||
|
||||
echo "--- Investigations - Security Solution Cypress Tests"
|
||||
|
||||
yarn --cwd x-pack/test/security_solution_cypress cypress:investigations:run:ess
|
||||
cd x-pack/test/security_solution_cypress
|
||||
|
||||
yarn cypress:investigations:run:ess; status=$?; yarn junit:merge && exit $status
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue