Repository navigation
test: Add shared notes access coverage - #26015
antobinary merged 2 commits into
Conversation
|
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info
WalkthroughThe 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
|
…er meetings Co-Authored-By: GuiLeme <[email protected]>
Co-Authored-By: GuiLeme <[email protected]>
bac3582 to
edd4b3a
Compare
✅ Automated tests have passed! |
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.
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.