Skip to content

test(learning-dashboard): match the breakout dashboard by its room name - #26424

Merged
antobinary merged 1 commit into
bigbluebutton:v4.0.x-developfrom
germanocaumo:u40d/test/dashboard-title-locale
Nov 6, 2026
Merged

antobinary merged 1 commit into
bigbluebutton:v4.0.x-developfrom
germanocaumo:u40d/test/dashboard-title-locale

Conversation

@germanocaumo

@germanocaumo germanocaumo commented Nov 5, 2026 •

Copy link
Copy Markdown
Contributor

What does this PR do?

Learning Dashboard of a breakout room matches the dashboard tab by its room name (/ - Room 1$/) instead of /Dashboard - Room 1$/.

Closes Issue(s)

None.

Motivation

The title is <product> - <dashboard name> - <meeting name>, and the first two parts come from locale strings that deployments rename. A deployment that calls it e.g. "Engagement Report" fails the test although the room's dashboard opened. The room name still tells the breakout dashboard apart from the parent's, and from the "Learning Dashboard" / "… - undefined" titles the page shows while loading.

How to test

Run npx playwright test learningdashboard/learningdashboard.spec.ts -g "breakout room" with the stock locale, and with app.learningDashboard.dashboardTitle renamed.

What I checked: with this change, the test passes with a locale that calls the dashboard "Engagement Report". The new pattern matches BigBlueButton - Learning Analytics Dashboard - Room 1 and BigBlueButton - Engagement Report - Room 1, and not the loading titles Learning Dashboard and BigBlueButton - Learning Analytics Dashboard - undefined.

More

  • Added/updated documentation

The breakout dashboard test matched the tab title against
/Dashboard - Room 1$/, which depends on the app.learningDashboard
locale strings: a deployment that renames the dashboard (e.g. to
"Engagement Report") fails it although the room's dashboard opened.
Only the meeting name identifies the room's dashboard, so match the
title's last part.
@coderabbitai

coderabbitai Bot commented Nov 5, 2026 •

Copy link
Copy Markdown
Contributor

Explain Change →

No actionable comments were generated in the recent review.

Walkthrough

The breakout dashboard title checks now match titles ending in - Room 1. The shared pattern is used when the dashboard opens and after the breakout room ends. Attendee-message assertions remain unchanged.

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

Change: Other

Suggested reviewers: antobinary

Merge Risk: Minimal · up to fe957

The test accepts deployment-specific dashboard names while retaining the room-name check. No actionable merge-blocking risk is identified.

Pre-merge checks: Passed 5

Check name Status Explanation
Title check Passed The title clearly and concisely describes the main change: matching the breakout learning dashboard by its room name.
Docstring Coverage Passed No eligible functions found in the changed files. Skipping docstring coverage check. Docstring coverage is scoped to functions touched by this diff with cyclomatic complexity of at least 2. Documentat…
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 pull request description directly explains the change to breakout learning dashboard title matching, the locale-related motivation, and the validation performed.
Full details: Docstring Coverage

Explanation

No eligible functions found in the changed files. Skipping docstring coverage check. Docstring coverage is scoped to functions touched by this diff with cyclomatic complexity of at least 2. Documentation-only edits and deletions within surviving functions are included; unchanged diff context and fully deleted functions are excluded. Analyzed 0 functions across 1 files.

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

Recent review info

Run configuration

  • Source mode: Auto
  • Repository: Unavailable
  • Branch: Unavailable
  • File: No configuration file from this repository applied
  • Commit: Unavailable
  • Layers: Repository UI
  • Review profile: CHILL
  • Plan: Advanced
  • Run ID: 315eb381-e54d-483f-94ce-926274e51074
Commits

Reviewing files that changed from the base of the PR and between 70c6fcf and fe957d8.

Files selected for processing: 1

  • bigbluebutton-tests/playwright/learningdashboard/breakoutLearningDashboard.ts

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

@github-actions

github-actions Bot commented Nov 5, 2026

Copy link
Copy Markdown

✅ Automated tests have passed!

@antobinary antobinary added this to the Release 4.0 milestone Nov 6, 2026

@antobinary antobinary left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@antobinary
antobinary merged commit 164b21d into bigbluebutton:v4.0.x-develop Nov 6, 2026
34 checks passed
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