test(intelligent-assistant): screen context QE coverage (stacks on #4862) - #4863
HusneShabbir wants to merge 6 commits into
Conversation
Signed-off-by: its-mitesh-kumar <itsmiteshkumar98@gmail.com>
Signed-off-by: its-mitesh-kumar <itsmiteshkumar98@gmail.com>
…IDP-14319 Fill gating-matrix and kebab RTL gaps, and add mocked Playwright journeys for kebab/chip/pause/fullscreen so QE layers under RHIDP-14768 can gate the Deep Context UX. Co-authored-by: Cursor <cursoragent@cursor.com>
|
Important This PR includes changes that affect public-facing API. Please ensure you are adding/updating documentation for new features or behavior. Changed Packages
|
Complete CaptureResult mocks for tsc, and assert paused-send attachments via the same query route pattern used by MCP specs (no try/catch). Co-authored-by: Cursor <cursoragent@cursor.com>
Codecov Report❌ Patch coverage is Additional details and impacted files@@ Coverage Diff @@
## main #4863 +/- ##
==========================================
+ Coverage 60.14% 60.29% +0.14%
==========================================
Files 2673 2679 +6
Lines 106162 106661 +499
Branches 29807 29955 +148
==========================================
+ Hits 63856 64311 +455
- Misses 41789 41832 +43
- Partials 517 518 +1
*This pull request uses carry forward flags. Click here to find out more. Continue to review full report in Codecov by Harness.
🚀 New features to boost your workflow:
|
Avoid Escape between kebab verify/enable (it closes the chatbot), re-enable sharing after fullscreen remount for guest e2e, and wait on the Options control in the chat header. Assisted-by: Composer Co-authored-by: Cursor <cursoragent@cursor.com>
… strict mode getByText on the paused label matched both the Label button and inner span; use the same state CSS class pattern as recording/unavailable. Co-authored-by: Cursor <cursoragent@cursor.com>
|



Summary
Stacked QE automation for Deep Context / screen context UX (RHIDP-14319), on top of the product PR.
feat/screen-context-chip). Please merge feat(intelligent-assistant): screen context chip, kebab opt-in, and gated attachments ( #4862 first (or rebase this branch after it lands). Tip commit is test-only.What changed (tip commit)
screen-context-utilsgating matrix (admin/sharing/pause/fullscreen/vision) +buildScreenContextAttachments(DOM + screenshot; degrade when capture fails / DOM throws)LightspeedChatBoxHeaderkebab Enable / Disable screen context when admin flag is one2e-tests/lightspeed.screen-context.test.ts+ helpers: kebab → chip recording; pause/resume; fullscreen unavailable; paused send has no screen-context attachmentsQE tickets
Review tip vs product PR
its-mitesh-kumar:feat/screen-context-chip...HusneShabbir:test/RHIDP-17047-screen-context-coverage
Test plan
workspaces/intelligent-assistant/plugins/intelligent-assistant:yarn test --watchAll=false --testPathPatterns='screen-context-utils|LightspeedChatBoxHeader'workspaces/intelligent-assistant:APP_MODE=legacy npx playwright test e2e-tests/lightspeed.screen-context.test.ts --project=enintelligent-assistant.screen-context.enabled: true, kebab Enable shows chip; pause → send has no image/DOM attachments