Commit Graph

8 Commits

Author SHA1 Message Date
Yonas Berhe b7dc2ae37a fix failing/flaky tests 2024-04-10 14:51:53 -07:00
Alexandre Alves b3eee6c503
improve code to generate a browsable fake RKE2 cluster + add e2e test for issue 9984 (#10752) 2024-04-05 09:43:10 +01:00
Alexandre Alves f475841448
Fix highlight main nav menu items (#10212)
* add method to add class to highlight main menu items based on current route + make fleet routes use 'blank' cluster

* update e2e tests to check for active class on main nav menu in strategic specs that cover the main nav

* fix merge conflicts

* fix lint issue

* move higlight check to burguer menu po + remove duplicate condition check

* address pr comments

---------

Co-authored-by: Alexandre Alves <aalves@Alexandres-MacBook-Pro.local>
2024-01-15 14:10:49 +00:00
Richard Cox 3836bcce4a fix / update fleet git repo e2e test 2024-01-02 14:40:17 +00:00
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
Shavindra b22e4d8315
Add Fleet gitrepo helmRepoUrlRegex support (#9622)
* Add Fleet gitrepo helmRepoUrlRegex support.
2023-09-06 10:57:22 +02:00
Shavindra 51b47c2af1
Disable local cluster workspace change (#9552)
* Disable fleet workspace change for local cluster.
* Add LOCAL_CLUSTER constant.
2023-08-31 10:58:46 +02:00
Shavindra 078317f022
Fleet gitrepo E2E (#9534)
* Fleet gitrepo E2E
* Update workspace switcher spec for fleet dashboard.
2023-08-23 11:18:48 +01:00