Commit c775a5b
fix(e2e): match the dashboard labels in either locale (#918)
My previous fix pinned the tile labels to DUTCH and the overview test still
failed:
Error: the Diensten stat tile must render
waiting for locator("main").first().getByText("Diensten").first()
The instance renders the ENGLISH manifest source. I inferred the locale from
the OLD assertions, which asserted Dutch and were themselves failing, so the
inference was circular: I read a broken test as evidence of what the app
does.
The three tiles whose manifest label is already Dutch (Organisaties,
Modules, Contracten) passed either way, which is what hid it. Only Services
and Object statistics have an nl.json entry, and those are exactly the two
that broke.
Both now match either spelling, the same shape as the sbom-import fix in the
previous commit, which worked for this reason.
Co-authored-by: Conduction Release Bot <release-bot@conduction.nl>1 parent 5fd965b commit c775a5b
1 file changed
Lines changed: 17 additions & 8 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
31 | 31 | | |
32 | 32 | | |
33 | 33 | | |
34 | | - | |
35 | | - | |
36 | | - | |
37 | | - | |
38 | | - | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
39 | 48 | | |
40 | | - | |
41 | | - | |
| 49 | + | |
| 50 | + | |
42 | 51 | | |
43 | 52 | | |
44 | 53 | | |
45 | 54 | | |
46 | | - | |
| 55 | + | |
47 | 56 | | |
48 | 57 | | |
49 | 58 | | |
| |||
0 commit comments