This repository was archived by the owner on Jun 26, 2026. It is now read-only.
Repository navigation
Commit a4dc332
committed
test(console): use getAllByTitle instead of direct DOM queries
Replace document.querySelectorAll lookups for the pods-unavailable
tooltip with screen.getAllByTitle so the assertions go through Testing
Library's accessible queries and are less brittle to DOM structure.
Address review feedback on the cluster-usage page and aggregates tests.
Signed-off-by: Aleksei Sviridkin <[email protected]>1 parent b06c208 commit a4dc332
2 files changed
Lines changed: 6 additions & 8 deletions
File tree
- apps/console/src
- components/cluster-usage
- routes
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
109 | 109 | | |
110 | 110 | | |
111 | 111 | | |
112 | | - | |
113 | | - | |
114 | | - | |
115 | | - | |
| 112 | + | |
| 113 | + | |
| 114 | + | |
116 | 115 | | |
117 | 116 | | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
143 | 143 | | |
144 | 144 | | |
145 | 145 | | |
146 | | - | |
147 | | - | |
148 | | - | |
149 | | - | |
| 146 | + | |
| 147 | + | |
| 148 | + | |
150 | 149 | | |
151 | 150 | | |
152 | 151 | | |
| |||
0 commit comments