Commit 528c414
chore(e2e): refresh Cypress fixtures so MiniMax M3 appears in dropdown (#458)
* chore(e2e): refresh Cypress fixtures so MiniMax M3 appears in dropdown
The E2E_FIXTURES=1 cypress build serves availability.json (and the rest of
packages/app/cypress/fixtures/api/) instead of querying the DB. After #456
added MiniMax M3 to the dashboard, the model-architecture.cy.ts spec gained
a new MiniMax M3 describe block that tries to click `MiniMax M3` in the
model dropdown — but the fixture availability.json predated M3, so
GlobalFilterContext.availableModels filtered MiniMax M3 out of the dropdown
and the `cy.contains('MiniMax M3').click()` in the `before all` hook timed
out. The leftover open Radix popper then took out the gpt-oss and DeepSeek
V4 Pro suites with `[role="combobox"]` not visible.
Refreshed via `pnpm --filter app capture:fixtures` (captures from
https://inferencex.semianalysis.com). Verified locally:
`E2E_FIXTURES=1 pnpm start` + `cypress run --spec model-architecture.cy.ts`
→ 45/45 passing.
Co-authored-by: Alec Ibarra <adibarra@users.noreply.github.com>
* fix(e2e): pair i_prec=fp8 URL with a model that has FP8 in fixtures
After PR #435 made DeepSeek-V4-Pro the default model, the refreshed
availability fixture (which includes only FP4 for dsv4) caused
`effectivePrecisions` to intersect the URL-seeded ['fp8'] with the
available set and fall back to FP4. The precision-multiselect then
rendered FP4 instead of the expected FP8.
Add `g_model=DeepSeek-R1-0528` to the two affected specs so the URL
selection is meaningful — matching the workaround already used by the
"multiple URL params" test in url-params.cy.ts.
Co-authored-by: Alec Ibarra <adibarra@users.noreply.github.com>
* chore(fixtures): apply oxfmt formatting to refreshed Cypress fixtures
Co-authored-by: Alec Ibarra <adibarra@users.noreply.github.com>
---------
Co-authored-by: claude[bot] <41898282+claude[bot]@users.noreply.github.com>
Co-authored-by: Alec Ibarra <adibarra@users.noreply.github.com>1 parent 13038d7 commit 528c414
9 files changed
Lines changed: 52521 additions & 31543 deletions
File tree
- packages/app/cypress
- e2e
- fixtures/api
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
80 | 80 | | |
81 | 81 | | |
82 | 82 | | |
83 | | - | |
| 83 | + | |
| 84 | + | |
| 85 | + | |
| 86 | + | |
| 87 | + | |
84 | 88 | | |
85 | 89 | | |
86 | 90 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
186 | 186 | | |
187 | 187 | | |
188 | 188 | | |
189 | | - | |
| 189 | + | |
| 190 | + | |
| 191 | + | |
| 192 | + | |
| 193 | + | |
190 | 194 | | |
191 | 195 | | |
192 | 196 | | |
| |||
0 commit comments