* update rancher image version for e2e tests
* update package.json's docker local script to use the latest version
* update what's new version to 2.10
* revert unrelated change
* add rancher version variable to reuse + skipping some e2e tests
* revert unnecessary changes in version.spec.ts
* remove typo
* fix version typo
* skip account-api-keys tests
* skip a test in namespace-picker.spec.ts
* update home test to use rancher version variable
* remove 'v' from version number
* fix typo
* fix flaky charts tests
* fix flaky repositories tests
* more precise enabling logic for checkboxes
* lint
---------
Co-authored-by: Mo Mesgin <mmesgin@Mos-M2-MacBook-Pro.local>
* Update checkout to v4 and bump Node to 16
* Update GHA workflow migration paths
* Removed named exports from Vue files
* Move code outside of the Vue app element
* Remove @nuxtjs/eslint-config-typescript
* Remove @nuxt/types and @nuxt/typescript-build
* Fix import issue with http-proxy-middleware
* Replace @nuxtjs/axios with axios and axios-retry
* Remove @nuxtjs/webpack-profile
* Fix linting issues after Nuxt webpack removal
* Pin resolution for glob after rebase
* Update yarn.lock after rebase
* Fix issue with rancher-components
* Bump rancher-component GHA config to match rebase changes
* Generate yarn file
* Add dependency
* Remove nuxt global var in app template
* Pin version for babel/plugin-proposal-private-methods
* 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
- Remove old drone build tasks (note - FOSSA will not be ported at this time, discussed in slack)
- create generic setup composit action which can be used by multiple workflows
- create generic lint, i18n-lint and unittest composit action which can be used by multiple workflows
- create generic build-and-upload workflow which can be used by multiple workflows
- trigger build-and-upload on merge to specific branch (TBD)
- trigger build-and-upload on specific tags
Also
- changed name of yarn install:ci as it was used outside of ci
Note
- I'd have liked to group together the workflows used by the build, but things like workflow subfolders
aren't supported
* Add support for replaying from har file
* Fix merge
* Improvements
* Add export and folder support
* Minor tidy ups
* Fix lint
* Add doc
* Update doc with correct fallback HTTP status code
* Fix typo
* 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
* Only run flaky tests
* Comments, minor change
* Optionally build UI
* Give horrible `wait`s a try
* disable cov coverage if no instrumented code
* fix if
* debug, fix
* attempt to return 0 in all cases
* Tidying up
- the pr created for rancher/dashboard somehow conflicted with the pr created by rancher/ui
- so pr creation is manual at the moment
- someone outside the team is working on another method of automation
- Dockerfile
- used by drone to build rancherlabs/dashboard (which is private)
- basically running dashboard in a container
- Dockerfile.dev
- have a strong suspicion this might be rancher/dashboard:dev (which doesn't exist or is private)
- yarn installs, yarn devs
* 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>
- given we now serve the (built) dashboard files we set CATTLE_UI_OFFLINE_PREFERRED=true
- this means the embedded rancher/ui is used
- so now we do something similar to ensure the latest rancher/ui is used