Skip to content

Fix hiddenVideoControlsContextMenuTest UI test - #4500

Merged
jonalmeida merged 1 commit into
mozilla-mobile:masterfrom
AndiAJ:hiddenVideoControlsContextMenuTest
Aug 24, 2026
Merged

Fix hiddenVideoControlsContextMenuTest UI test#4500
jonalmeida merged 1 commit into
mozilla-mobile:masterfrom
AndiAJ:hiddenVideoControlsContextMenuTest

Conversation

@AndiAJ

@AndiAJ AndiAJ commented Aug 24, 2026

Copy link
Copy Markdown
Contributor

Summary:
The test tried to long-click the no-controls video by matching its title text, but a control-less video isn’t exposed in the accessibility tree at all, so UiAutomator never found it.

I've placed the video in the center of the page, then changed the test to long-press that exact center spot instead of searching for the video by name.
Since the video is what’s drawn there, the press reliably lands on it and opens its menu.

The UI test successfully passed 25x on Firebase ✅

Pull Request checklist

@AndiAJ
AndiAJ force-pushed the hiddenVideoControlsContextMenuTest branch from b1b1dbb to 5c75ace Compare August 24, 2026 09:36
@AndiAJ
AndiAJ force-pushed the hiddenVideoControlsContextMenuTest branch from 5c75ace to 01a7a2c Compare August 24, 2026 11:32
@AndiAJ AndiAJ changed the title Potential fix for hiddenVideoControlsContextMenuTest UI test Fix hiddenVideoControlsContextMenuTest UI test Aug 24, 2026
@AndiAJ
AndiAJ marked this pull request as ready for review August 24, 2026 11:36
@AndiAJ
AndiAJ requested a review from AaronMT August 24, 2026 11:36
@mergify

mergify Bot commented Aug 24, 2026

Copy link
Copy Markdown

Queued — the merge queue status continues in this comment ↓.

@AaronMT

AaronMT commented Aug 24, 2026

Copy link
Copy Markdown
Contributor

@Mergifyio queue

@mergify

mergify Bot commented Aug 24, 2026

Copy link
Copy Markdown

Merge Queue Status

  • Entered queue2026-08-24 13:58 UTC · Rule: default · triggered by @AaronMT with the @mergifyio queue command
  • Checks skipped · PR is already up-to-date
  • Merged2026-08-24 13:59 UTC · at 01a7a2c0f2f6dfc8e6411978af187001cded9ee1 · rebase

This pull request spent 1 minute 23 seconds in the queue, including 11 seconds running CI.

Required conditions to merge
  • status-success=pr-complete

@mergify mergify Bot added the queued label Aug 24, 2026
@jonalmeida
jonalmeida merged commit 24a1c51 into mozilla-mobile:master Aug 24, 2026
14 checks passed
@mergify mergify Bot removed the queued label Aug 24, 2026
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.

3 participants