[Security Solution][Endpoint] Combine the Endpoint management cypress test suites into a single configuration/run#166757
Merged
paul-tavares merged 14 commits intoelastic:mainfrom Sep 20, 2023
Conversation
…pull_request setup
…ne-cypress-configs # Conflicts: # x-pack/plugins/security_solution/package.json
patrykkopycinski
approved these changes
Sep 19, 2023
…ant directory names
…son `cypress:dw` script
Contributor
|
Pinging @elastic/security-defend-workflows (Team:Defend Workflows) |
| ELASTICSEARCH_URL: 'http://localhost:9200', | ||
| FLEET_SERVER_URL: 'https://localhost:8220', | ||
| // Username/password used for both elastic and kibana | ||
| 'cypress-react-selector': { |
Contributor
There was a problem hiding this comment.
I think we can remove it as we are not using cypress-react-selector, I believe
patrykkopycinski
approved these changes
Sep 19, 2023
banderror
approved these changes
Sep 20, 2023
Contributor
banderror
left a comment
There was a problem hiding this comment.
Change in parallel.ts LGTM
…ne-cypress-configs # Conflicts: # x-pack/plugins/security_solution/package.json # x-pack/plugins/security_solution/public/management/cypress/README.md # x-pack/plugins/security_solution/public/management/cypress/cypress_base.config.ts # x-pack/plugins/security_solution/public/management/cypress/tsconfig.json
joeypoon
approved these changes
Sep 20, 2023
…ne-cypress-configs
…ne-cypress-configs
💛 Build succeeded, but was flaky
Failed CI StepsTest Failures
Metrics [docs]Unknown metric groupsESLint disabled line counts
Total ESLint disabled count
History
To update your PR or re-run it, just comment with: |
gergoabraham
pushed a commit
to gergoabraham/kibana
that referenced
this pull request
Sep 21, 2023
… test suites into a single configuration/run (elastic#166757) ## Summary - Combines the `endpoint` and `mocked_data` tests suites so that they run from the same cypress configuration/run buildkite setup - Moved test files from the `endpoint/` and `mocked_data/` directories into new sub-directories that more closely describe the set of tests they contain - The `security_solution/package.json` file was updated so that the following `scripts` will now output a warning indicating that command is no longer valid: - `cypress:dw:endpoint` - `cypress:dw:endpoint:run` - `cypress:dw:endpoint:open` The following npm/yarn commands remain available for running tests locally: ```shell yarn --cwd=x-pack/plugins/security_solution cypress:dw:open ``` ```shell yarn --cwd=x-pack/plugins/security_solution cypress:dw:run ``` New test file struncture: <img width="415" alt="image" src="https://github.com/elastic/kibana/assets/56442535/0cb4bc76-b434-4219-b73e-508645201a81">
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
endpointandmocked_datatests suites so that they run from the same cypress configuration/run buildkite setupendpoint/andmocked_data/directories into new sub-directories that more closely describe the set of tests they containsecurity_solution/package.jsonfile was updated so that the followingscriptswill now output a warning indicating that command is no longer valid:cypress:dw:endpointcypress:dw:endpoint:runcypress:dw:endpoint:openThe following npm/yarn commands remain available for running tests locally:
New test file struncture: