Spaces:
Running
Running
Commit History
-
test(e2e): keep the test world's searches off the real arXiv API
siddhm11 +1: Claude Opus 5.5The seeded sidecar had no word index, so a search in the test world found nothing and fell back to export.arxiv.org: browser tests would have reached the real arXiv. The seed now builds papers_fts like the real sidecar, and ARXIV_API_URL, like ARXIV_HTML_BASE, can be pointed at the stand-in site only when RESEARCHIT_ENV=test; a test checks it cannot be redirected otherwise. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>92f723d -
test(e2e): vector figures render on the page and in the lightbox
siddhm11 +1: Claude Opus 5.5The seeded world now serves a small SVG chart at each SVG figure's path, so TRACE, whose two figures are both SVG files and showed nothing before, gets a browser test: the key figure is an .svg that loads, is served as image/svg+xml under a sandboxing policy, and opens in the lightbox. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>7c261e8 -
test(e2e): browser checks for the v2 card and the two-column feed
siddhm11 +1: Claude Opus 5.5Against the seeded world: two columns at 1440 px with every card at or below the one served before it and no overlaps, one column at 1179 px and on a phone, no sideways scrolling, Save and title clicks carrying layout=grid2 with the §3.11 fields intact, the rail's counts and interest filter (labels rendered as text), card text tabs and the rail preference surviving a reload, and figures loading. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>860f9e0 -
test(e2e): briefing and Ask in the browser; fix an outline race
siddhm11 +1: Claude Opus 5.5The seeded world gains a cached briefing and two cached answers for SatNav. New browser tests: the briefing's links and outline entries, a suggested question echoed then answered with a cite, Enter sends while Shift+Enter doesn't, a missing model says busy, the phone sheet opens and closes on Escape with focus back on its button, and the lightbox asks about its figure. Fixed on the way: the section observer could override the last outline entry at the bottom of the page. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>0cb3a12
-
test(e2e): a self-contained world and browser tests for the paper page
siddhm11 +1: Claude Opus 5.5scripts/seed_e2e.py builds a tiny metadata sidecar with the six fixture papers and two made-up ones (maths with an XSS payload; no plain summary), an app database with each page already parsed, and a stand-in for arxiv.org/html with generated figures. tests/test_e2e_paper.py drives the new page in Chromium: tabs by keyboard and remembered, figures from our own route, lightbox focus, the overflow menu, the outline, Save, console errors in both themes, layout shift under 0.1, no sideways scrolling from 390 to 1440 px, rendered maths with the payload kept as text, and the fallbacks. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>faf3f76