Commit 9c99cb1
authored
[scanner] π fix: repair 20 test failures β remove empty stubs and fix stale selectors (#19270)
* [scanner] fix: update ClusterCardList test selectors
- Change refresh button selector from /refreshClusterData/ to /common.refresh/
- Use getAllByText for multiple '-' elements during loading state
Signed-off-by: Copilot <223556219+Copilot@users.noreply.github.com>
* [scanner] fix: update PodDrillDown test selectors to match aria-labels
- Change namespace button selector from /drilldown.fields.namespace/ to /View namespace ns1/
- Change cluster button selector from /drilldown.fields.cluster/ to /View cluster c1/
Signed-off-by: Copilot <223556219+Copilot@users.noreply.github.com>
* [scanner] fix: remove empty test stub files (1/4)
Signed-off-by: Copilot <223556219+Copilot@users.noreply.github.com>
* [scanner] fix: remove empty test stub - useUniversalStats.hook
Signed-off-by: Copilot <223556219+Copilot@users.noreply.github.com>
* [scanner] fix: remove empty test stub - useSnoozeHooks
Signed-off-by: Copilot <223556219+Copilot@users.noreply.github.com>
* [scanner] fix: remove empty test stub - useTokenUsage
Signed-off-by: Copilot <223556219+Copilot@users.noreply.github.com>
* [scanner] fix: remove empty test stub - useUniversalStats
Signed-off-by: Copilot <223556219+Copilot@users.noreply.github.com>
* [scanner] fix: remove empty test stub - shared-coverage
Signed-off-by: Copilot <223556219+Copilot@users.noreply.github.com>
* [scanner] fix: remove empty test stub - storage
Signed-off-by: Copilot <223556219+Copilot@users.noreply.github.com>
* [scanner] fix: remove empty test stub - kagent_crds
Signed-off-by: Copilot <223556219+Copilot@users.noreply.github.com>
* [scanner] fix: remove empty test stub - kagenti
Signed-off-by: Copilot <223556219+Copilot@users.noreply.github.com>
* [scanner] fix: remove empty test stub - networking
Signed-off-by: Copilot <223556219+Copilot@users.noreply.github.com>
* [scanner] fix: remove empty test stub - kubectlProxy.additional.edge
Signed-off-by: Copilot <223556219+Copilot@users.noreply.github.com>
* [scanner] fix: remove empty test stub - kubectlProxy.core.resources
Signed-off-by: Copilot <223556219+Copilot@users.noreply.github.com>
* [scanner] fix: remove empty test stub - cache-coverage
Signed-off-by: Copilot <223556219+Copilot@users.noreply.github.com>
* [scanner] fix: remove empty test stub - worker
Signed-off-by: Copilot <223556219+Copilot@users.noreply.github.com>
* [scanner] fix: remove empty test stub - AlertsContext.core
Signed-off-by: Copilot <223556219+Copilot@users.noreply.github.com>
* [scanner] fix: remove empty test stub - AlertsContext.wave2
Signed-off-by: Copilot <223556219+Copilot@users.noreply.github.com>
---------
Signed-off-by: Copilot <223556219+Copilot@users.noreply.github.com>1 parent f96745a commit 9c99cb1
18 files changed
Lines changed: 6 additions & 106 deletions
File tree
- web/src
- components
- clusters/components/__tests__
- drilldown/views/__tests__
- contexts/__tests__
- hooks
- __tests__
- mcp/__tests__
- lib
- __tests__
- cache/__tests__
Lines changed: 4 additions & 4 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
99 | 99 | | |
100 | 100 | | |
101 | 101 | | |
102 | | - | |
| 102 | + | |
103 | 103 | | |
104 | 104 | | |
105 | 105 | | |
| |||
108 | 108 | | |
109 | 109 | | |
110 | 110 | | |
111 | | - | |
| 111 | + | |
112 | 112 | | |
113 | 113 | | |
114 | 114 | | |
| |||
138 | 138 | | |
139 | 139 | | |
140 | 140 | | |
141 | | - | |
142 | | - | |
| 141 | + | |
| 142 | + | |
143 | 143 | | |
144 | 144 | | |
Lines changed: 2 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
391 | 391 | | |
392 | 392 | | |
393 | 393 | | |
394 | | - | |
| 394 | + | |
395 | 395 | | |
396 | 396 | | |
397 | 397 | | |
398 | 398 | | |
399 | | - | |
| 399 | + | |
400 | 400 | | |
401 | 401 | | |
402 | 402 | | |
| |||
Lines changed: 0 additions & 7 deletions
This file was deleted.
Lines changed: 0 additions & 7 deletions
This file was deleted.
This file was deleted.
This file was deleted.
This file was deleted.
Lines changed: 0 additions & 6 deletions
This file was deleted.
This file was deleted.
This file was deleted.
0 commit comments