This repository was archived by the owner on Jun 26, 2026. It is now read-only.
Repository navigation
Commit f90314b
committed
test(console): assert actual ordering in cluster-usage card/column tests
The standard-card test used arrayContaining and the extended-column
test used toContain, so neither actually verified the rendered order.
Pin the exact card order (CPU, Memory, Storage, Pods) and assert the
extended columns follow extendedKeys order via their header indices.
Address review feedback on the cluster-usage component tests.
Signed-off-by: Aleksei Sviridkin <[email protected]>1 parent 4c1e11b commit f90314b
2 files changed
Lines changed: 9 additions & 6 deletions
File tree
- apps/console/src/components/cluster-usage
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
46 | 46 | | |
47 | 47 | | |
48 | 48 | | |
49 | | - | |
| 49 | + | |
50 | 50 | | |
51 | | - | |
52 | | - | |
53 | | - | |
| 51 | + | |
| 52 | + | |
54 | 53 | | |
55 | 54 | | |
56 | 55 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
95 | 95 | | |
96 | 96 | | |
97 | 97 | | |
98 | | - | |
99 | | - | |
| 98 | + | |
| 99 | + | |
| 100 | + | |
| 101 | + | |
| 102 | + | |
| 103 | + | |
100 | 104 | | |
101 | 105 | | |
102 | 106 | | |
| |||
0 commit comments