Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
patrykkopycinski committed Feb 14, 2022
1 parent a2b408a commit 0bc26a2
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 7 deletions.
18 changes: 12 additions & 6 deletions .buildkite/scripts/upgrade_testing/upgrade_testing.js
Expand Up @@ -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);

Expand All @@ -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);

Expand Down
2 changes: 1 addition & 1 deletion x-pack/plugins/security_solution/package.json
Expand Up @@ -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",
Expand Down

0 comments on commit 0bc26a2

Please sign in to comment.