also looking at this
fix(test): give the last three dashboard integrations a real timeout
#177
3 files
+15
-3
| @@ -136,5 +136,9 @@ describe('dashboard configuration integration', () => { | ||
| 136 | 136 | body: JSON.stringify({ id: token.id, expectedVersion: 2, confirm: 'TOKEN' }), |
| 137 | 137 | }) |
| 138 | 138 | expect(await removed.json()).toMatchObject({ ok: true, mutation: { removed: ['TOKEN'] } }) |
| 139 | }) | |
| 139 | // 30s, not the 5000ms default. Booting the dashboard spawns a real | |
| 140 | // `stx build --no-cache` of the cockpit (~1.7s measured), and this test then | |
| 141 | // drives import, preview, mask, reveal, rotate, export and delete through it. | |
| 142 | // ~2s standalone, past 5000ms under the full 313-file run. | |
| 143 | }, 30_000) | |
| 140 | 144 | }) |