-
Notifications
You must be signed in to change notification settings - Fork 3.9k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
š [Story a11y] Reduced motion should apply the animation's last frameā¦
ā¦ to the elements (#34466) * Created e2e test * Added tests * Fixed e2e tests * Removed comment * Removed unused import * Addede e2es * Moved field to html * More work on e2e * Added load unload fixture * Fixed tests * Added more tests and cleaned up hooks * Added multiple sources on first videos to test flexible-bitrate * Changed e2es to work * Removed whitespaces * Adding cache fetch test * Add e2e fixture to disallowlist for validate * fixed host_url in e2e * Updated tests * Changed order of test conditions for consistency * Update extensions/amp-video/0.1/test-e2e/test-amp-video-flexible-bitrate.js * Update extensions/amp-video/0.1/test-e2e/test-amp-video-flexible-bitrate.js * Fixed reduced motion animation * Fixed reduced motion * Removed unnecessary ? * Reverted example html * Added anim to bot rendering * Remove false test * Fixed linting * Fix visual diff * Fixed paused devAssert on touch pause * Fail gracefully * StartOrFinishAnimation * Fixed animation now working * Removed console logs * Added maybePause or maybeResume * Using maybeInit * Fixed bot rendering visstest * Fixed a pause test and removed unused method * Removed finishOrPause * Merge pt2 * Fixed animation.js * Removed unused property prefersReducedMotion * Fixed error when switching user prefs * Fixed animation tests * Added delay to bot rendering so the animations are applied * removed unused maybe and isinitialized * Simplify code * Simplify code * Simplify a bit more * Added timer to visual test * Removed timer Co-authored-by: Gabriel Majoulet <gmajoulet@google.com>
- Loading branch information
1 parent
a9150b7
commit 9520909
Showing
9 changed files
with
140 additions
and
59 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.