Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[security_solution] Improve Cypress burn logic #165130

Merged

Conversation

patrykkopycinski
Copy link
Contributor

@patrykkopycinski patrykkopycinski commented Aug 29, 2023

Summary

Add burn scripts to package.json to simplify the process of testing spec files locally

@kibana-ci
Copy link
Collaborator

kibana-ci commented Aug 30, 2023

💔 Build Failed

Failed CI Steps

Metrics [docs]

Unknown metric groups

ESLint disabled line counts

id before after diff
securitySolution 453 452 -1

Total ESLint disabled count

id before after diff
securitySolution 520 519 -1

History

To update your PR or re-run it, just comment with:
@elasticmachine merge upstream

@patrykkopycinski patrykkopycinski marked this pull request as ready for review August 30, 2023 09:03
@patrykkopycinski patrykkopycinski requested review from a team as code owners August 30, 2023 09:03
@patrykkopycinski patrykkopycinski self-assigned this Aug 30, 2023
@patrykkopycinski patrykkopycinski added the release_note:skip Skip the PR/issue when compiling release notes label Aug 30, 2023
acc.push(existing);
}
return acc;
}, [] as string[]);

// to avoid running too many tests, we limit the number of files to 3
// we may extend this in the future
files = files.slice(0, 3);
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Will it always pick up the same 3 on a grep if there are more than 3 changed files?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

correct, until we reach the point where all our tests will be burn-ready I have limited it to just 3 files to avoid tests timeout

@patrykkopycinski patrykkopycinski merged commit 779ef9e into elastic:main Aug 30, 2023
@patrykkopycinski patrykkopycinski deleted the chore/burn-cypress-improvements branch August 30, 2023 16:05
@kibanamachine kibanamachine added v8.11.0 backport:skip This commit does not require backporting labels Aug 30, 2023
eokoneyo pushed a commit to eokoneyo/kibana that referenced this pull request Aug 31, 2023
## Summary

Add `burn` scripts to `package.json` to simplify the process of testing
spec files locally
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
backport:skip This commit does not require backporting release_note:skip Skip the PR/issue when compiling release notes v8.11.0
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants