Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

De-flake two animated custom property WPTs #49870

Merged
merged 1 commit into from
Jan 3, 2025

Conversation

chromium-wpt-export-bot
Copy link
Collaborator

@chromium-wpt-export-bot chromium-wpt-export-bot commented Jan 2, 2025

These two tests use a duration of 1000s and a delay of -500s
to effectively start the animation at 50%. That's fine, but we're
not necessarily guaranteed that the animation hasn't progressed
at the time we're making the test assertions. Therefore, make
the animations initially "paused".

Making an animation initially paused can sometimes void a test,
if relevant behavior can only be exercised by a playing animation.
However, that is not an issue for these tests, since they primarily
care about cascade interaction which isn't affected by playing/paused.

Fixed: 385790290, 385816384
Change-Id: I409101af17670316aba7b0faa9104fc14dd3e755
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/6119955
Reviewed-by: Steinar H Gunderson <[email protected]>
Commit-Queue: Anders Hartvoll Ruud <[email protected]>
Cr-Commit-Position: refs/heads/main@{#1401736}

These two tests use a duration of 1000s and a delay of -500s
to effectively start the animation at 50%. That's fine, but we're
not necessarily guaranteed that the animation hasn't progressed
at the time we're making the test assertions. Therefore, make
the animations initially "paused".

Making an animation initially paused can sometimes void a test,
if relevant behavior can only be exercised by a *playing* animation.
However, that is not an issue for these tests, since they primarily
care about cascade interaction which isn't affected by playing/paused.

Fixed: 385790290, 385816384
Change-Id: I409101af17670316aba7b0faa9104fc14dd3e755
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/6119955
Reviewed-by: Steinar H Gunderson <[email protected]>
Commit-Queue: Anders Hartvoll Ruud <[email protected]>
Cr-Commit-Position: refs/heads/main@{#1401736}
Copy link
Collaborator

@wpt-pr-bot wpt-pr-bot left a comment

Choose a reason for hiding this comment

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

The review process for this patch is being conducted in the Chromium project.

@chromium-wpt-export-bot chromium-wpt-export-bot merged commit 656efa0 into master Jan 3, 2025
15 checks passed
@chromium-wpt-export-bot chromium-wpt-export-bot deleted the chromium-export-cl-6119955 branch January 3, 2025 11:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants