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:
Patryk Kopyciński 2023-08-24 15:36:27 +02:00 committed by GitHub
parent 464f908ac3
commit 05cfa1ad5b
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
27 changed files with 111 additions and 99 deletions

View file

@ -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

View file

@ -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

View file

@ -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

View file

@ -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

View file

@ -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

View file

@ -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

View file

@ -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

View file

@ -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

View file

@ -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

View file

@ -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