Ash: Migrate DisplayPrefsBrowserTest off RunUntilIdle [chromium/src : main]

0 views
Skip to first unread message

Ahmed Fakhry (Gerrit)

unread,
Jul 20, 2026, 12:32:09 PM (yesterday) Jul 20
to Di Wu, Chromium LUCI CQ, chromium...@chromium.org
Attention needed from Di Wu

Ahmed Fakhry voted

Code-Review+1
Commit-Queue+2
Open in Gerrit

Related details

Attention is currently required from:
  • Di Wu
Submit Requirements:
  • requirement satisfiedCode-Coverage
  • requirement satisfiedCode-Owners
  • requirement satisfiedCode-Review
  • requirement satisfiedReview-Enforcement
Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. DiffyGerrit
Gerrit-MessageType: comment
Gerrit-Project: chromium/src
Gerrit-Branch: main
Gerrit-Change-Id: Ie6d800820ab8187bdd3fb3c7a4083b443e0fa947
Gerrit-Change-Number: 7940791
Gerrit-PatchSet: 1
Gerrit-Owner: Di Wu <di...@google.com>
Gerrit-Reviewer: Ahmed Fakhry <afa...@chromium.org>
Gerrit-Reviewer: Di Wu <di...@google.com>
Gerrit-Attention: Di Wu <di...@google.com>
Gerrit-Comment-Date: Mon, 20 Jul 2026 16:31:57 +0000
Gerrit-HasComments: No
Gerrit-Has-Labels: Yes
satisfied_requirement
open
diffy

Chromium LUCI CQ (Gerrit)

unread,
Jul 20, 2026, 1:08:27 PM (yesterday) Jul 20
to Di Wu, Ahmed Fakhry, chromium...@chromium.org

Chromium LUCI CQ submitted the change

Change information

Commit message:
Ash: Migrate DisplayPrefsBrowserTest off RunUntilIdle

This changelist is part of an ongoing series to modernize Ash tests by
migrating them away from RunUntilIdle() and toward targeted
synchronization with APIs such as RunUntil(), TestFuture, RunLoop
callbacks, observer waiters, or exact mock-time advancement.

DisplayPrefsBrowserTest now waits for the local-state pref store to
commit after changing display rotation. The test observes the pref write
that needs to persist into the next browser-test run instead of draining
unrelated queued work.
Bug: b:506794349
Test: CQ
Change-Id: Ie6d800820ab8187bdd3fb3c7a4083b443e0fa947
Commit-Queue: Ahmed Fakhry <afa...@chromium.org>
Reviewed-by: Ahmed Fakhry <afa...@chromium.org>
Cr-Commit-Position: refs/heads/main@{#1664771}
Files:
  • M chrome/browser/ash/display/display_prefs_browsertest.cc
Change size: XS
Delta: 1 file changed, 3 insertions(+), 1 deletion(-)
Branch: refs/heads/main
Submit Requirements:
  • requirement satisfiedCode-Review: +1 by Ahmed Fakhry
Open in Gerrit
Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. DiffyGerrit
Gerrit-MessageType: merged
Gerrit-Project: chromium/src
Gerrit-Branch: main
Gerrit-Change-Id: Ie6d800820ab8187bdd3fb3c7a4083b443e0fa947
Gerrit-Change-Number: 7940791
Gerrit-PatchSet: 2
Gerrit-Owner: Di Wu <di...@google.com>
Gerrit-Reviewer: Ahmed Fakhry <afa...@chromium.org>
Gerrit-Reviewer: Chromium LUCI CQ <chromiu...@luci-project-accounts.iam.gserviceaccount.com>
Gerrit-Reviewer: Di Wu <di...@google.com>
open
diffy
satisfied_requirement
Reply all
Reply to author
Forward
0 new messages