Skip to content

Bug 2078352 - Selenium test 4_test_votes.t fails with Firefox ESR 153 because go_to_bug doesn't wait for the module expand animation - #2771

Merged
dklawren merged 4 commits into
mozilla:masterfrom
dklawren:2078352
Oct 6, 2026

Conversation

@dklawren

@dklawren dklawren commented Oct 6, 2026

Copy link
Copy Markdown
Collaborator

No description provided.

… because go_to_bug doesn't wait for the module expand animation
@dklawren
dklawren requested a balanced review from Copilot October 6, 2026 20:13

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Copilot review overview

🟡 Changes recommended

The timeout loop can falsely fail when animation completes during its final sleep interval.

Review effort: Balanced
Findings: 1 Medium severity

Open (1)
What changed in this PR

Adds animation synchronization to go_to_bug to prevent premature Selenium field reads.

Changes:

  • Polls jQuery animation state after expanding bug panels.
  • Reports a diagnostic failure after a five-second timeout.
File Description
qa/​t/​lib/​QA/​Util.pm Waits for panel expansion before continuing Selenium tests.

💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.

Comment thread qa/t/lib/QA/Util.pm Outdated
…rt a false timeout'

Co-authored-by: Copilot Autofix powered by AI <[email protected]>

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Copilot review overview

🟢 Approval recommended

The helper correctly centralizes existing expansion behavior and waits for the relevant jQuery animations without introducing unresolved issues.

Review effort: Balanced
Findings: None

Resolved since last review (1)

@dklawren

dklawren commented Oct 6, 2026

Copy link
Copy Markdown
Collaborator Author

r+ carried over from #2769 which had to be reverted.

@dklawren
dklawren merged commit 8de0b60 into mozilla:master Oct 6, 2026
8 checks passed
@dklawren
dklawren deleted the 2078352 branch October 6, 2026 20:36
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