Commit 16c7efb
feat: migrate UI5 vitest unit tests to cypress component tests (#3551)
* cypress config for component testing
* first tests migration
* migrated badge tests
* migrated generic list
* migrated counting card
* migrated copiable text
* migrated namespace settings
* migrated ui5radial chart
* migrated podrestarts
* migrated errorboundary
* migrated pagination
* migrated listactions
* migrated resourcenotfound
* migrated modalwithform
* migrated helmreleases
* migrated selector
* migrated ResourceLink
* migrated controlledby
* mocked ui5 dependencies in nodeQueries test
* migrated JoinedArray
* migrated CodeViewer
* mocked ui5 dependencies in useCreateResource test
* mocked ui5 dependencies in useGetCRDByPath
* migrated Columns
* migrated Widget
* mocked ui5 dependencies in linkExtractor
* migrated SecretData
* migrated SideDrawer
* migrated ResourceDetailsColumns
* migrated ResourceDetailsVisibility
* fixed issues in tests
* migrated Table
* mocked ui5 dependencies in Widget.copyable
* fixed useGet test
* refined vitest
* adjust github actions workflow
* adjust github actions workflow
* added command for headless component tests
* add cypress as dev dependency
* fixed genericList test
* adjusted testing-strategy.md
* Update docs/contributor/testing-strategy.md
Co-authored-by: Iwona Langer <iwona.langer@sap.com>
---------
Co-authored-by: Oliwia Gowor <72342415+OliwiaGowor@users.noreply.github.com>
Co-authored-by: Iwona Langer <iwona.langer@sap.com>1 parent eb90c63 commit 16c7efb
File tree
77 files changed
+3840
-2633
lines changed- .github/workflows
- cypress/support
- docs/contributor
- src
- components
- Extensibility
- components
- tests
- tests
- HelmReleases/tests
- Nodes
- Preferences/test
- resources/Pods/test
Some content is hidden
Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
77 files changed
+3840
-2633
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | | - | |
| 1 | + | |
2 | 2 | | |
3 | | - | |
| 3 | + | |
4 | 4 | | |
5 | 5 | | |
6 | 6 | | |
7 | | - | |
8 | | - | |
9 | | - | |
10 | | - | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
11 | 14 | | |
12 | 15 | | |
13 | | - | |
| 16 | + | |
14 | 17 | | |
15 | 18 | | |
16 | 19 | | |
17 | 20 | | |
18 | 21 | | |
19 | 22 | | |
20 | 23 | | |
21 | | - | |
| 24 | + | |
22 | 25 | | |
23 | 26 | | |
24 | 27 | | |
| |||
27 | 30 | | |
28 | 31 | | |
29 | 32 | | |
30 | | - | |
| 33 | + | |
31 | 34 | | |
32 | | - | |
| 35 | + | |
33 | 36 | | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
12 | 12 | | |
13 | 13 | | |
14 | 14 | | |
15 | | - | |
| 15 | + | |
16 | 16 | | |
17 | 17 | | |
18 | 18 | | |
| |||
0 commit comments