Commit 89e8d57
Conduction Release Bot
fix(e2e): assert only the dashboard surface that was observed to render
Third and last correction to this spec. The four stat tiles now pass with the
locale-tolerant matchers; the remaining failure is the catalog-panels widget:
Error: the object statistics panel must render
waiting for getByText(/Object statistics|Object statistieken/)
Its manifest title does not appear as text on the rendered dashboard in
EITHER locale, so that widget renders differently from the stat tiles above
it, and I could not settle how from CI logs alone.
The assertion is removed rather than guessed at again. This spec has now
failed twice on selectors I wrote from inference rather than observation:
first pinned to Dutch when the instance renders the English source, then
matched on a title that is not painted at all. A wrong assertion is worse
than a missing one, because it reports a defect that is not there and hides
the one that is.
What remains asserted is what was OBSERVED to render: the four stat tiles,
and no app errors.
🔑 Worth an eye on a live instance: whether `catalog-panels` resolves in the
widget registry at all. CnDashboardPage renders "Widget not available" for an
unknown widget type and logs NOTHING, which would look exactly like this.1 parent c775a5b commit 89e8d57
1 file changed
Lines changed: 12 additions & 4 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
51 | 51 | | |
52 | 52 | | |
53 | 53 | | |
54 | | - | |
55 | | - | |
56 | | - | |
57 | | - | |
| 54 | + | |
| 55 | + | |
| 56 | + | |
| 57 | + | |
| 58 | + | |
| 59 | + | |
| 60 | + | |
| 61 | + | |
| 62 | + | |
| 63 | + | |
| 64 | + | |
| 65 | + | |
58 | 66 | | |
59 | 67 | | |
60 | 68 | | |
| |||
0 commit comments