Closed Bug 1736070 Opened 3 years ago Closed 3 years ago

[wpt-sync] Sync PR 31273 - Deflaky a css-paint-api/ layout test

Categories

(Core :: Web Painting, task, P4)

task

Tracking

()

RESOLVED FIXED
95 Branch
Tracking Status
firefox95 --- fixed

People

(Reporter: mozilla.org, Unassigned)

References

()

Details

(Whiteboard: [wptsync downstream])

Sync web-platform-tests PR 31273 into mozilla-central (this bug is closed when the sync is complete).

PR: https://github.com/web-platform-tests/wpt/pull/31273
Details from upstream follow.

Xida Chen <xidachen@chromium.org> wrote:

Deflaky a css-paint-api/ layout test

The root cause of the flakiness is that the layout test has a
text editing field, and at the end of the test when capturing
screenshot, the cursor is at the text field, and the cursor
will blink. So when the screenshot is captured, the cursor
may or may not show up in the result, which makes it flaky.

The solution to this is simple, simply adding a new
"selectAll" command at the end of the test such that the
cursor no longer stays at the text editing field.

I have tried this test locally, without this CL, it fails
about 50 out of 100 runs, and with this CL there is no
failure.

Bug: 1259804
Change-Id: I795a7c9205cd777bf2a0545262824bc87c901dc3
Reviewed-on: https://chromium-review.googlesource.com/3225904
WPT-Export-Revision: 9c9b8056b478ace118906f56e50c2efc3716e980

Component: web-platform-tests → Web Painting
Product: Testing → Core

CI Results

Ran 11 Firefox configurations based on mozilla-central, and Firefox, Chrome, and Safari on GitHub CI

Total 1 tests

Status Summary

Firefox

TIMEOUT: 1

Chrome

PASS : 1

Safari

TIMEOUT: 1

Links

Gecko CI (Treeherder)
GitHub PR Head
GitHub PR Base

Details

New Tests That Don't Pass

/css/css-paint-api/no-op-animation.https.html: SKIP [Gecko-android-em-7.0-x86_64-lite-qr-debug-geckoview, Gecko-android-em-7.0-x86_64-lite-qr-opt-geckoview, Gecko-android-em-7.0-x86_64-qr-debug-geckoview, Gecko-android-em-7.0-x86_64-qr-opt-geckoview, Gecko-linux1804-64-qr-debug, Gecko-linux1804-64-qr-opt, Gecko-linux1804-64-tsan-qr-opt, Gecko-windows10-32-2004-qr-debug, Gecko-windows10-32-2004-qr-opt, Gecko-windows10-64-2004-qr-debug, Gecko-windows10-64-2004-qr-opt], TIMEOUT [GitHub] (Chrome: PASS, Safari: TIMEOUT)

Tests Disabled in Gecko Infrastructure

/css/css-paint-api/no-op-animation.https.html: SKIP [Gecko-android-em-7.0-x86_64-lite-qr-debug-geckoview, Gecko-android-em-7.0-x86_64-lite-qr-opt-geckoview, Gecko-android-em-7.0-x86_64-qr-debug-geckoview, Gecko-android-em-7.0-x86_64-qr-opt-geckoview, Gecko-linux1804-64-qr-debug, Gecko-linux1804-64-qr-opt, Gecko-linux1804-64-tsan-qr-opt, Gecko-windows10-32-2004-qr-debug, Gecko-windows10-32-2004-qr-opt, Gecko-windows10-64-2004-qr-debug, Gecko-windows10-64-2004-qr-opt], TIMEOUT [GitHub] (Chrome: PASS, Safari: TIMEOUT)

Pushed by wptsync@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/c0e8af1c5be5
[wpt PR 31273] - Deflaky a css-paint-api/ layout test, a=testonly
Status: NEW → RESOLVED
Closed: 3 years ago
Resolution: --- → FIXED
Target Milestone: --- → 95 Branch
You need to log in before you can comment on or make changes to this bug.