missing-from-to-expected.txt 1.36 KB
Newer Older
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15
This test performs animations of the left property on five boxes over 2 seconds. Box 1 has all keyframes. Box 2 has a missing "from" keyframe. Box 3 has a missing "to" keyframe. Box 4 has both "from" and "to" keyframes missing, but other keyframes which should trigger the generation of "from" and "to". Box 5 has no keyframes, and should not animate. The test takes 3 snapshots each and expects each result to be within a specified range.
PASS - box5 animation was not running
PASS - "left" property for "box1" element at 0.4s saw something close to: 20
PASS - "left" property for "box1" element at 1s saw something close to: 20
PASS - "left" property for "box1" element at 1.6s saw something close to: 15
PASS - "left" property for "box2" element at 0.4s saw something close to: 20
PASS - "left" property for "box2" element at 1s saw something close to: 20
PASS - "left" property for "box2" element at 1.6s saw something close to: 15
PASS - "left" property for "box3" element at 0.4s saw something close to: 20
PASS - "left" property for "box3" element at 1s saw something close to: 20
PASS - "left" property for "box3" element at 1.6s saw something close to: 15
PASS - "left" property for "box4" element at 0.4s saw something close to: 20
PASS - "left" property for "box4" element at 1s saw something close to: 25
PASS - "left" property for "box4" element at 1.6s saw something close to: 15