* WIP - just testing how are suite behaves with vai on
* Use common method to create query params for steve api requests
* with vai on there's no workload page... so update tests
* flip back hom page urls
* more fixes
* More fixes
* E2eRequestUtils --> RequestUtils, smarter isVaiCacheEnabled
* better method name, fix a11y tests
* disable vai for vai tests
* fetching the setting gives a 404. hardcode for the moment
* give up, make method async
* use pathWithDefaultSteveParams everywhere
* rename grep tag vai to noVai (matching what the tests run)
* fixes
* Allow more time for rancher to restart after toggling a ff
* fix network policies
* Changes following review
* replace pathWithDefaultSteveParams with ?*
* fixes
* Remove temp code that enables FF, should be defunct once enabled by default
* unpin, improve script
* on failure upload rancher logs to job artifacts
* fix
* test specific rancher commit, and rancher debug level
* try head again following overnight fixes
* Wire in VAI_ENABLED env var (to avoid), fixed isVaiCacheEnabled (no value, use default)
* Standardise references to small image, use `k8s.gcr.io/pause` instead of `nginx:alpine`
* test - see if specific workalods are the sticking point
* reduce impact of cronjob
* reduce impact of cronjob - additional
* Improve e2e tests that spam resource creation/delete
- take gaps when creating resources
- wait for ns deletion (containing resources) to complete before continueing)
* even stricker cron schedule
* update three additional places where workloads spam happens
* fix tag of new @vai tests
* use default count, reduce to min. also removed horrible `while`
* temp fail cronjobs to see logs + recordings
* improvements to noVai test cases, move new utils to commands
* fix flaky compliance and kontainer tests
* proper context, fix lint, fix ingress test
* fix lint
* Add tests for setting up vai env in rancher
* workflow hack
* testing
* add user tag to @vai tests
* more shippable trigger, in the hope it fixes the looong test run due to tests with no tests in...
* test - rely on filename sort order for priority
* test - rely on spec order for priority
* test - rely on spec order for priority - take 2
* add setup for vai...
* Apply tags to new tests
* fix global roles - cluster different if run directly
- there was a more complex solution here (hence abstract) but it ended up needing to go to a cluster page anyway, so might as well just nav to desired page
* fix users - cluster different if run directly
* Fix other revisions (probably more TODO...)
* Fixes for event and crd tables
* Tweaks
* Revert temp changes
---------
Co-authored-by: Richard <richard@linux.fritz.box>
* Remove unused rehydratation plugin
* Remove any reference to the .nuxt folders
* Remove globalApp nuxt and any reference or use case to nuxt.error
* Replace errors handling with existing fail-whale logic
* e2e tests: reducedefault timeout to 10s
* Use timeouts in cluster manager test
* Fix timeout for cluster deletion
* Try even shorter timeout
* Revert back to 10s
* Address PR feedback
* Use common type for options
* Fix lint
* Fix lint - too many blank lines
* Increase timeout for terminal
* Improve reliability of the Istio tests
* Fix lint issues
* Fix typos in refactor to PO
* Fix typo in tab name
* Add resilience for the docs test
* Add timeout for extensions test
* Add test resilience for docs page
* Fix lint by removing trailing spaces
* Add test resilience
* Fix link opening exception handling
* Fix merge issue
* Fix whitespace
* Fix indentation
* Update extensions.spec.ts
* Fix lint and use standard timeout option
* Fix merge issue and revert some extra changes
* Revert extra test changes
* Remove test change for extensions
* Add SUSE Collective link (Prime)
* Fix merge issue
* Fix merge formatting issue
* Delete shell/pages/support/collective.vue
* Fix trailing spaces
* Fix for rename of PO in rebase
* Update tags - only admin can configure links
* Only reset links when admin user
* amazon ec2 rke2 cluster tests
* update saveAndWaitForRequest fn
* add loading po and use in test
* updates per change requests
---------
Co-authored-by: Yonas Berhe <yberhe@Yonass-MacBook-Pro.local>
* 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
* Remove merge to master on PR tests due coverage issue
* Update GI action versions from 2 to 3
* Re-enable HTMl coverage for tests
* Remove deprecated nyc in package configuration from merge conflict; Ignore further folders from coverage
* Change tests checkout and print changed files on test during coverage job
* Add codecov configuration
* Add coverage if instrumented
* Remove changed files steps
* Increase memory for unit test
* Add .vue extension to unit test instrumentation
Add .vue extension to unit test instrumentation
* Remove HTML coverage due 'file:' issue
* Remove HTML report and add .vue files
* Restore GHA fetch to 1 for last commit
* When execing into a container, try linux and windows commands when we can't determine if the node is windows
* Fix lint
* Lint: Remove trailing white space
* Use error message rather than last error
* extra failover, caching last working os against pod, errors, tests
* add __mocks__ folders to eslint ignore patterns
* standard user test fix
* removed unnecessary try/catch logic
* Revert "removed unnecessary try/catch logic"
This reverts commit c263131927.
---------
Co-authored-by: Sean <sean.mchugh@suse.com>
* add standard user to workflow
* update create user logic and added cypress-grep plugin
* added admin and standard user tags to tests, updated workflow in test.yaml
* update workflow file and added adminUser tag to setup
---------
Co-authored-by: Yonas Berhe <yberhe@Yonass-MacBook-Pro.local>
* Correct Jest coverage configuration
* Add coverage upload
* Exclude operationsl scripts from linting
* Rephrase title based on pull request title, run and attempt, with fallback for commits
* Add instrumentation for E2E coverage report
* Add merge logic to the coverage files
* Add instrumentalization for Cypress to generate coverage for E2E
* Download artifacts before merge coverage in CI
* Merge fix
* Copy coverage files before artifact upload
* Add summary after running tests
* Change restriction rules about coverage for pull_request and push
* Add documentation for the coverage
* Correct test documentation folder restructuring
* Add inclusion list for Cypress coverage; add scripts as exclusion
* Extend ignored path to be parsed for Jest to improve performances
* Workflow cleanup
* Checkout current branch head on test runs
* Submit separated coverage with different flags
* Add sorry-cypress library, commands and configuration
* Replace e2e test run ID to be used for the dashboard with title, id and number run
* Add missing instruction for the dashboard
* Set default browser to Chrome
* Updated env template