Skip to content

test: Add shared notes access coverage - #26015

Merged
antobinary merged 2 commits into
bigbluebutton:v3.0.x-developfrom
imdt-claudiop:test/shared-notes-access-e2e-3.0
Oct 22, 2026
Merged

antobinary merged 2 commits into
bigbluebutton:v3.0.x-developfrom
imdt-claudiop:test/shared-notes-access-e2e-3.0

Conversation

@imdt-claudiop

@imdt-claudiop imdt-claudiop commented Oct 9, 2026 •

Copy link
Copy Markdown
Contributor

What does this PR do?

Adds Playwright coverage for shared notes REST access from the guest lobby and other meetings, and verifies the loopback route remains unavailable.

@coderabbitai

coderabbitai Bot commented Oct 9, 2026 •

Copy link
Copy Markdown
Contributor

Review in Change Stack →

No actionable comments were generated in the recent review. 🎉

ℹ️ Recent review info
⚙️ Run configuration
  • Configuration used: Repository UI
  • Review profile: CHILL
  • Plan: Advanced
  • Run ID: 54503fae-61e5-42f7-9834-4ee1c817f16d
📥 Commits

Reviewing files that changed from the base of the PR and between bac3582 and edd4b3a.

📒 Files selected for processing: 1
  • bigbluebutton-tests/playwright/sharednotes/blocknote/accessControl.ts

Included review availability: This review used your included allowance. Your plan provides up to 8 included reviews per hour; 7 remain after this review.

Walkthrough

The pull request adds Playwright tests for BlockNote shared-notes access control. The tests seed moderator notes and check document access for waiting guests, denied guests, admitted moderators, and members requesting another meeting’s notes. They also check that the nginx-exposed loopback route returns 404.

Priority: ⬇️ Low

Estimated code review effort: 2 (Simple) | ~10 minutes

Change: Other

Merge Risk: ⚪ Minimal · up to edd4b

This PR adds test-only coverage for shared notes access control. No production behavior changes, and no merge-blocking risk was found.

Pre-merge checks: Passed 4 · Failed 1

Failed Failed checks: 1 warning

Check name Status Explanation Resolution
Docstring Coverage Warning Docstring coverage is 0.00% which is insufficient. The required threshold is 80.00%. Docstring coverage is scoped to functions touched by this diff. Analyzed 3 functions across 2 files. Write docstrings for the functions missing them to satisfy the coverage threshold.
Passed Passed checks: 4 passed
Check name Status Explanation
Linked Issues check Passed Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check Passed Check skipped because no linked issues were found for this pull request.
Description check Passed The description accurately states that the pull request adds Playwright coverage for shared notes REST access and verifies that the loopback route remains unavailable.
Title check Passed The title clearly and concisely summarizes the main change: adding shared notes access test coverage.
  • Fix all pre-merge checks with AI
✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create a new PR
  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands.

@imdt-claudiop
imdt-claudiop marked this pull request as ready for review October 13, 2026 12:18
@antobinary antobinary added this to the Release 3.0 milestone Oct 13, 2026
@imdt-claudiop
imdt-claudiop force-pushed the test/shared-notes-access-e2e-3.0 branch from bac3582 to edd4b3a Compare October 14, 2026 19:20
@imdt-claudiop
imdt-claudiop marked this pull request as draft October 14, 2026 19:21
@github-actions

Copy link
Copy Markdown

✅ Automated tests have passed!

@imdt-claudiop
imdt-claudiop marked this pull request as ready for review October 14, 2026 19:57
@antobinary antobinary mentioned this pull request Oct 22, 2026
26 of 39 tasks
@antobinary
antobinary merged commit e135e9e into bigbluebutton:v3.0.x-develop Oct 22, 2026
32 checks passed
antobinary added a commit that referenced this pull request Oct 26, 2026
On desktop the chat form focuses its textarea when it mounts, so each user's
public chat input gets focus on join. In the Pan test the viewer page never
interacts after that, so whether the focus is still there when viewer-pan.png
is taken depends on timing. When it is, the input wrapper's :focus-within
border and box-shadow ring alone use up about the whole maxDiffPixels: 1000
allowance against the committed baseline, which was taken unfocused, and the
check fails at 1358 differing pixels. PR CI hit this on #26015 (2026-10-09,
passed on retry) and on #26199 (2026-10-23, failed both attempts).

Blur the viewer's active element right before its screenshot, the same idiom
audio.ts already uses, so the comparison covers the panned whiteboard only.
Blurring keeps the committed baselines valid. Masking the textarea would not
hide the ring, because the wrapper draws it outside the textarea's box, and a
mask would also change the expected image. The moderator screenshot is left
as is: that page drives the test, so its focus state does not depend on timing.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants