fix(e2e): repair remaining failing cases against the redesigned console - #7209
Conversation
…files route, per-file download, coding IDE on files page Upstream agentscope-ai#6504 removed the /workspace and /coding routes and the whole-workspace zip download/upload feature. Re-anchor the affected cases to the new surface: - route constants and gotos: /workspace -> /files - files cases: verify single-file upload entry (aria Upload files + hidden input) and per-file download button in the editor toolbar (lucide-download), instead of the removed zip buttons - coding cases: drive Coding Mode via the API toggle and verify the IDE activity rail on /files (navigator + source-control buttons), dropping the removed /coding navigation and header toggles 署名:李时珍·E2E@QPQAT
The console redesign (agentscope-ai#6504 workspace unification, agentscope-ai#6880 marketplace unification, session user-groups, virtualized sidebar, textarea sender, redesigned memory card) left many e2e cases pointing at removed routes, classes and controls. Re-anchor them to the current surface: - routes: /workspace -> /files, /plugin-manager -> /market?tab=plugins, /coding removed (IDE now lives on /files behind Coding Mode) - files: zip whole-workspace upload/download removed; verify the single-file upload entry and per-file download button instead - chat sidebar: two-tier user-group/date-bucket layout; date headers carry data-date-group, collapse moved to the user-group header; session rows scoped to the sessionItem root class (virtual list) - chat: sender input is a textarea now; session menu interactions scroll the virtual list into view before resolving rows - plugins: market defaults to card view; install action reveals on hover; selectors cover both card and list views - memory: redesigned ReMeLight card renders switches inline (no collapse panel); reset coding-mode/project binding before asserting the workspace tree - mcp: enable/disable toggle disambiguated from the OAuth Authorize button that shares its class All 19 affected cases pass locally against a fresh build of upstream main. 署名:李时珍·E2E@QPQAT
|
Hi @yutai78786, this is your 66th Pull Request. 📋 About PR TemplateTo help maintainers review your PR faster, please make sure to include:
Complete PR information helps speed up the review process. You can edit the PR description to add these details. 🙌 Join Developer CommunityThanks so much for your contribution! We'd love to invite you to join the official QwenPaw developer group! You can find the Discord and DingTalk group links under the "Developer Community" section on our docs page: We truly appreciate your enthusiasm—and look forward to your future contributions! 😊 We'll review your PR soon. |
…ace, drop stale /coding wait, anchor agent-stats on settled page - FILE-004 / FILE-P2-002: CI workspaces start empty, so the file tree has no row to open; seed a file via the files API first - CODE-003: remove the stale wait_for_url(**/coding) left from the removed /coding route; assert the IDE rail on /files instead - agent stats: anchor the post-load assertion on the date-picker filter row (only rendered once loading settles) and match the CSS-module summary card classes 署名:李时珍·E2E@QPQAT
…ps on settled header CI p0 showed two environment-ordering failures: - files cases: a preceding coding case leaves a project directory bound, so /files renders the (empty) project tree and the seeded workspace files never appear; reset coding-mode and the project binding first - backups: on slow runners the page header (Import button) renders after the fixed sleep; anchor on the header action buttons instead 署名:李时珍·E2E@QPQAT
|
Verification update: fork CI now green on all three tiers for the latest head (46c8b3f) — p0 (run 32688717575), p1 (run 32684891145), p2 (run 32684889714). All 19 affected cases also pass locally against a fresh build of upstream main (19 passed in 139.65s). Ready for review. |
Two methods carried both the class-level p0 marker and a method-level p2 marker, so the nightly tier shards (integration and pX) would run them twice. Move them into a dedicated TestAddEnvironmentP2 class so tier markers stay mutually exclusive. Verified: p0 71 / p1 89 / p2 42, union 202 with zero overlap and zero omission. 署名:李时珍·E2E@QPQAT

Problem
The recent console redesign (workspace unification #6504, marketplace unification #6880, session user-groups, virtualized sidebar, textarea sender, redesigned memory card) left a set of e2e cases pointing at removed routes, CSS classes and controls. On fork CI (run 32445567327/878/14) 18 cases failed across p0/p1/p2 tiers; every failure is a test-side staleness issue, no product defect found.
Fix
Re-anchor the affected cases to the current UI surface:
/workspace->/files;/plugin-manager->/market?tab=plugins;/codingremoved (the IDE now renders on/filesbehind Coding Mode)data-date-group; collapse assertions moved to the user-group header; session rows scoped to the sessionItem root class so virtual-list rows are not over-matchedVerification
All 19 affected cases pass locally against a fresh build of upstream main (19 passed in 139.65s). Fork CI p0/p1/p2 dispatched on this branch for confirmation.
Companion of #7173 (agents action-cell + project-directory rename, merged).