mirror of
https://github.com/elastic/kibana.git
synced 2025-06-27 10:40:07 -04:00
[EDR Workflows] FIX Cypress DW not creating Fleet server (#167378)
We realized that our 'real agent' tests in DW Cypress do not run locally, because FS is not being created (normally created in a before:run task). The `before:run` task in cypress was not run. According to the [docs](https://docs.cypress.io/api/plugins/before-run-api), it requires an experimental flag `experimentalInteractiveRunEvents` enabled and it was removed in [here](https://github.com/elastic/kibana/pull/166757/files#diff-c2e90a076b73f17a80dcb5bfaf96f143d4d0de4dfaa68f5085608621a86c612dL33)
This commit is contained in:
parent
833c075362
commit
1f593f4c96
1 changed files with 2 additions and 0 deletions
|
@ -59,6 +59,8 @@ export const getCypressBaseConfig = (
|
|||
supportFile: 'public/management/cypress/support/e2e.ts',
|
||||
specPattern: 'public/management/cypress/e2e/**/*.cy.{js,jsx,ts,tsx}',
|
||||
experimentalRunAllSpecs: true,
|
||||
experimentalMemoryManagement: true,
|
||||
experimentalInteractiveRunEvents: true,
|
||||
setupNodeEvents: (on: Cypress.PluginEvents, config: Cypress.PluginConfigOptions) => {
|
||||
dataLoaders(on, config);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue