test(intelligent-assistant): expand notebook Release 2.1 E2E coverage - #4551
test(intelligent-assistant): expand notebook Release 2.1 E2E coverage#4551HusneShabbir wants to merge 2 commits into
Conversation
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #4551 +/- ##
=======================================
Coverage 62.26% 62.26%
=======================================
Files 2606 2606
Lines 104644 104644
Branches 29428 29416 -12
=======================================
+ Hits 65155 65157 +2
+ Misses 38927 38925 -2
Partials 562 562
*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:
|
…erage Extend Playwright coverage for inline rename POMs, upload modal UX, card counts, overwrite flow, and compact overlay/docked modes with scoped dialog locators that work in nested MUI panels. Co-authored-by: Cursor <cursoragent@cursor.com>
a93bf1d to
c21f9ee
Compare
Use getByRole with exact name matching instead of invalid locator options, and replace manual aria-label checks with Playwright auto-retry assertions. Co-authored-by: Cursor <cursoragent@cursor.com>
|
Addressed review feedback in 5dfb848:
Verified locally: 53/53 notebook specs pass ( |
|



Summary
NotebookSurfacePageandNotebookAddDocumentModalPagewith compact header actions, scoped MUI dialog locators (hasText/aria-labelfor nested panels), and sidebar expand helpers.lightspeed.notebooks-compact.test.tsto use page objects; adds upload-complete, remove-resource modal, and delete-notebook modal panel tests.Resolves:https://redhat.atlassian.net/browse/RHIDP-15135
Test plan
yarn playwright test e2e-tests/lightspeed.notebooks.test.ts --project=en --workers=1(23 passed)yarn playwright test e2e-tests/lightspeed.notebooks-compact.test.ts --project=en --workers=1(30 passed)yarn playwright test e2e-tests/lightspeed.notebooks.conversation.test.ts --project=en