dashboard/scripts/__tests__
Giuseppe Leo e92b03943b
E2E job parallelization by user role and functionality (#9887)
* Create matrix for E2E job

* Create utility for mapping skipped tests for given dirs

* Allow to filter any dir for given env vars

Add Rancher setup phase in test CI

Restore skip setup variable for other checks

* Cypress config cleanup

* Avoid use of tags for setup test

Add setup tag

* Add specs dir to the matrix

Correct matrix to use each role

Add tag prefix on command

* Correct coverage path

* Simplify cypress utility

* Implement only env var filtering logic

Update env var filtering with a menageable definition

Update CI to filter paths by new logic

Reorganize tests file tree

Add tags for each section

Combine roles and features specs

Update new specs to the tag format

Grouping tags

Fix issues with specs and admin spec/username for login parallelization

Fix issue pre-pending @ character

Remove coupling

Remove Docker stop

Enable all the tests in groups

Allow E2E matrix to fail with strategy flag fail-fast

* Add role for setup in combination to features

* Change tag AND to OR (space instead plus)

* Exclude non tagged tests instead of skip

* Correct standard user name

* Use object for matrix definition; Restore usernames for tests; Remove hackish tag for role

* Pair matrix role tag to multiple matrix features

* Disable failing tests

* Move diagnostic from extension to generic

* Remove build dashboard flag for setup

* Correct screenshot naming to match coverage file naming

* Move Cypress utils out of shell

* Remove View API check for fleet

* Add documentation

* Update skip logic and documentation

* Update env template
2023-12-12 13:07:54 +01:00
..
cypress.test.ts