Skip to content

test(lightspeed): add Playwright e2e for notebooks#2983

Open
HusneShabbir wants to merge 5 commits intoredhat-developer:mainfrom
HusneShabbir:feature/lightspeed-notebooks-e2e
Open

test(lightspeed): add Playwright e2e for notebooks#2983
HusneShabbir wants to merge 5 commits intoredhat-developer:mainfrom
HusneShabbir:feature/lightspeed-notebooks-e2e

Conversation

@HusneShabbir
Copy link
Copy Markdown
Contributor

Add coverage for fullscreen notebooks chrome, onboarding, document modal, sidebar collapse, YAML upload/remove, and rename/delete lifecycle. Provide shared e2e helpers and a sample YAML fixture.

Enable notebooks in workspace app-config for the e2e webServer while keeping model and provider placeholders for env-based configuration.

Hey, I just made a Pull Request!

✔️ Checklist

  • A changeset describing the change and affected packages. (more info)
  • Added or Updated documentation
  • Tests for new functionality and regression tests for bug fixes
  • Screenshots attached (for UI changes)

Add coverage for fullscreen notebooks chrome, onboarding, document modal,
sidebar collapse, YAML upload/remove, and rename/delete lifecycle. Provide
shared e2e helpers and a sample YAML fixture.

Enable notebooks in workspace app-config for the e2e webServer while
keeping model and provider placeholders for env-based configuration.

Co-authored-by: Cursor <cursoragent@cursor.com>
@codecov
Copy link
Copy Markdown

codecov Bot commented May 4, 2026

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 60.57%. Comparing base (cd803ed) to head (7adff89).
⚠️ Report is 9 commits behind head on main.
✅ All tests successful. No failed tests found.

Additional details and impacted files
@@           Coverage Diff            @@
##             main    #2983    +/-   ##
========================================
  Coverage   60.56%   60.57%            
========================================
  Files        2005     2005            
  Lines       62788    62807    +19     
  Branches    16360    16368     +8     
========================================
+ Hits        38030    38047    +17     
- Misses      23352    23457   +105     
+ Partials     1406     1303   -103     
Flag Coverage Δ *Carryforward flag
adoption-insights 83.58% <ø> (ø) Carriedforward from d2c46c2
app-defaults 69.60% <ø> (ø) Carriedforward from d2c46c2
augment 69.36% <ø> (ø) Carriedforward from d2c46c2
bulk-import 72.57% <ø> (ø) Carriedforward from d2c46c2
cost-management 16.49% <ø> (ø) Carriedforward from d2c46c2
dcm 33.63% <ø> (ø) Carriedforward from d2c46c2
extensions 61.42% <ø> (ø) Carriedforward from d2c46c2
global-floating-action-button 73.75% <ø> (ø) Carriedforward from d2c46c2
global-header 61.56% <ø> (ø) Carriedforward from d2c46c2
homepage 50.84% <ø> (ø) Carriedforward from d2c46c2
konflux 91.01% <ø> (ø) Carriedforward from d2c46c2
lightspeed 69.64% <ø> (+0.07%) ⬆️
mcp-integrations 81.59% <ø> (ø) Carriedforward from d2c46c2
orchestrator 33.08% <ø> (ø) Carriedforward from d2c46c2
quickstart 62.64% <ø> (ø) Carriedforward from d2c46c2
sandbox 79.56% <ø> (ø) Carriedforward from d2c46c2
scorecard 83.23% <ø> (ø) Carriedforward from d2c46c2
theme 64.54% <ø> (ø) Carriedforward from d2c46c2
translations 8.49% <ø> (ø) Carriedforward from d2c46c2
x2a 82.09% <ø> (ø) Carriedforward from d2c46c2

*This pull request uses carry forward flags. Click here to find out more.


Continue to review full report in Codecov by Sentry.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update cd803ed...7adff89. Read the comment docs.

🚀 New features to boost your workflow:
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

HusneShabbir and others added 4 commits May 4, 2026 13:30
- Add NotebookSurfacePage and focused modal/dialog page objects.\n- Align JA document-count assertion with NotebookCard copy (notebooks.documents).\n- Flatten notebooks spec and shorten test titles.\n- Consolidate notebook fixtures/helpers; drop unused YAML stubs.

Co-authored-by: Cursor <cursoragent@cursor.com>
- Add fixtures for 11-file cap, unsupported type, and bulk JSON set.\n- Add NotebookOverwriteConfirmModalPage; extend upload modal/surface page helpers.\n- Cover too-many-files and unsupported-type alerts using LightspeedMessages + substituteNotebookTemplate.

Co-authored-by: Cursor <cursoragent@cursor.com>
Use explicit notebook model and provider values in lightspeed notebooks queryDefaults instead of unresolved env placeholders.

Co-authored-by: Cursor <cursoragent@cursor.com>
Use test.describe.configure({ mode: 'serial' }) so ordered steps share one page and failures skip the rest of the group.

Co-authored-by: Cursor <cursoragent@cursor.com>
@sonarqubecloud
Copy link
Copy Markdown

sonarqubecloud Bot commented May 4, 2026

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant