mirror of
https://github.com/elastic/kibana.git
synced 2025-04-24 09:48:58 -04:00
This PR addresses Cypress parallelisation in Security Solution scope. It is a first step in improving e2e tests reliability and gives us a solid foundation for further work on flakiness and run times. With this PR each CI job starts 3 instances of ES, kibana and Cypress runner in isolation. Other issues addressed in this PR: - Use click() instead of trigger('click') in all Cypress tests. - Use testIsolation in all Cypress tests. - login before each test to ensure that the correct user is always logged in. Also, with test isolation enabled, login should be required before each test. - use visit() instead of cy.visit() in some cases so that tests wait for the page to fully load before executing. - Cypress e2e tests are no longer compatible with Firefox (or any non-Chromium based browser) due to using cypress-real-events - Removes uses of cypress-pipe. Tests that used cypress-pipe in order to retry click events will no longer retry click events. - Fixes an error related to test files being overwritten by Webpack file processing --------- Co-authored-by: Patryk Kopycinski <contact@patrykkopycinski.com> Co-authored-by: kibanamachine <42973632+kibanamachine@users.noreply.github.com> |
||
---|---|---|
.. | ||
index.ts | ||
jest.config.js | ||
kibana.jsonc | ||
package.json | ||
README.md | ||
tsconfig.json |
@kbn/cypress-config
Empty package generated by @kbn/generate