From 0bc26a291f9f9a602cb6c9a3e20f123b1855f869 Mon Sep 17 00:00:00 2001 From: Patryk Kopycinski Date: Mon, 14 Feb 2022 07:44:39 +0100 Subject: [PATCH] fix --- .../scripts/upgrade_testing/upgrade_testing.js | 18 ++++++++++++------ x-pack/plugins/security_solution/package.json | 2 +- 2 files changed, 13 insertions(+), 7 deletions(-) diff --git a/.buildkite/scripts/upgrade_testing/upgrade_testing.js b/.buildkite/scripts/upgrade_testing/upgrade_testing.js index 5d97f4f8aec703..043f6248d838db 100644 --- a/.buildkite/scripts/upgrade_testing/upgrade_testing.js +++ b/.buildkite/scripts/upgrade_testing/upgrade_testing.js @@ -136,9 +136,12 @@ const deleteInstance = async (deploymentId) => { console.log('command', baseCommand); try { - await execa.command(`${baseCommand} --spec cypress/integration/trusted_apps_pre.spec.ts`, { - shell: true, - }); + await execa.command( + `${baseCommand} --spec cypress/cloud_upgrade_integration/trusted_apps/trusted_apps_pre.spec.ts`, + { + shell: true, + } + ); } catch (error) { console.error('error', error); @@ -153,9 +156,12 @@ const deleteInstance = async (deploymentId) => { }); try { - await execa.command(`${baseCommand} --spec cypress/integration/trusted_apps_post.spec.ts`, { - shell: true, - }); + await execa.command( + `${baseCommand} --spec cypress/cloud_upgrade_integration/trusted_apps/trusted_apps_post.spec.ts`, + { + shell: true, + } + ); } catch (error) { console.error('error', error); diff --git a/x-pack/plugins/security_solution/package.json b/x-pack/plugins/security_solution/package.json index 9e9f468d393a8e..5e19f0321dec6c 100644 --- a/x-pack/plugins/security_solution/package.json +++ b/x-pack/plugins/security_solution/package.json @@ -17,7 +17,7 @@ "cypress:run:firefox": "yarn cypress:run:reporter --browser firefox --spec './cypress/integration/**/*.spec.ts'; status=$?; yarn junit:merge && exit $status", "cypress:run:reporter": "yarn cypress run --config-file ./cypress/cypress.json --reporter ../../../node_modules/cypress-multi-reporters --reporter-options configFile=./cypress/reporter_config.json", "cypress:run:ccs": "yarn cypress:run:reporter --browser chrome --config integrationFolder=./cypress/ccs_integration; status=$?; yarn junit:merge && exit $status", - "cypress:run:cloud-upgrade": "yarn cypress:run --config integrationFolder=./cypress/cloud_upgrade_integration", + "cypress:run:cloud-upgrade": "yarn cypress:run:reporter --headed --config integrationFolder=./cypress/cloud_upgrade_integration", "cypress:run-as-ci": "node --max-old-space-size=2048 ../../../scripts/functional_tests --config ../../test/security_solution_cypress/cli_config.ts", "cypress:run-as-ci:firefox": "node --max-old-space-size=2048 ../../../scripts/functional_tests --config ../../test/security_solution_cypress/config.firefox.ts", "cypress:run:upgrade": "yarn cypress:run:reporter --browser chrome --config integrationFolder=./cypress/upgrade_integration",