Intermittent devtools/client/inspector/animation/test/browser_animation_logic_adjust-time.js | The current time of '.div1' animation is 50% - Got 49999.99999900001, expected 50000
Categories
(DevTools :: Inspector, defect, P5)
Tracking
(Not tracked)
People
(Reporter: intermittent-bug-filer, Assigned: abhi)
References
Details
(Keywords: good-first-bug, intermittent-failure, Whiteboard: [TV-bf pass:pass])
Comment 1•8 years ago
|
||
| Comment hidden (Intermittent Failures Robot) |
| Comment hidden (Intermittent Failures Robot) |
| Comment hidden (Intermittent Failures Robot) |
| Comment hidden (Intermittent Failures Robot) |
| Comment hidden (Intermittent Failures Robot) |
| Comment hidden (Intermittent Failures Robot) |
| Comment hidden (Intermittent Failures Robot) |
| Comment hidden (Intermittent Failures Robot) |
| Comment hidden (Intermittent Failures Robot) |
| Comment hidden (Intermittent Failures Robot) |
| Comment hidden (Intermittent Failures Robot) |
| Comment hidden (Intermittent Failures Robot) |
| Comment hidden (Intermittent Failures Robot) |
| Comment hidden (Intermittent Failures Robot) |
| Comment hidden (Intermittent Failures Robot) |
| Comment hidden (Intermittent Failures Robot) |
| Comment hidden (Intermittent Failures Robot) |
| Comment hidden (Intermittent Failures Robot) |
| Comment hidden (Intermittent Failures Robot) |
| Comment hidden (Intermittent Failures Robot) |
| Comment hidden (Intermittent Failures Robot) |
| Comment hidden (Intermittent Failures Robot) |
| Comment hidden (Intermittent Failures Robot) |
| Comment hidden (Intermittent Failures Robot) |
| Comment hidden (Intermittent Failures Robot) |
| Comment hidden (Intermittent Failures Robot) |
| Comment hidden (Intermittent Failures Robot) |
| Comment hidden (Intermittent Failures Robot) |
| Comment hidden (Intermittent Failures Robot) |
| Comment hidden (Intermittent Failures Robot) |
| Comment hidden (Intermittent Failures Robot) |
| Comment hidden (Intermittent Failures Robot) |
| Comment hidden (Intermittent Failures Robot) |
| Comment hidden (Intermittent Failures Robot) |
| Comment hidden (Intermittent Failures Robot) |
Comment 37•7 years ago
|
||
Looks like something that could be fixed by rounding the number we get.
| Comment hidden (Intermittent Failures Robot) |
Comment 39•7 years ago
|
||
Hey, I would like to work on it. Can you please assign it to me?
Comment 40•7 years ago
|
||
Hello Paarmita.
It looks like you're assigned on 6 bugs at the moment.
Before taking anything new, it would be better if you finish those.
Also, you already fixed a few good-first-bugs, and we want to keep them for the actual first bug of new contributors :)
| Assignee | ||
Comment 41•7 years ago
|
||
Hey Nicolas,
Can you kindly assign it to me and help me in getting started with this bug?
[If no one is working on it yet]
Comment 42•7 years ago
|
||
Hello abhi, thanks for offering help!
I assigned the bug to you.
So, the problem lies in this assertion devtools/client/inspector/animation/test/browser_animation_logic_adjust-time.js#30-31.
Sometimes, animationInspector.state.animations[0].state.currentTime is 49999.99999900001 instead of 50000.
As you can see, it's pretty close, and we shouldn't fail the test for that.
So the goal here would be to round animationInspector.state.animations[0].state.currentTime (so in this case, it would round to the expected value).
You can run the test by doing mach test devtools/client/inspector/animation/test/browser_animation_logic_adjust-time.js.
I suggest you to add the --headless option so it runs in the background.
Finally, you can add --verify to run the test multiple times.
So it should look like mach test devtools/client/inspector/animation/test/browser_animation_logic_adjust-time.js --headless --verify.
If you don't have setup the work environment yet, you can follow http://docs.firefox-dev.tools/getting-started/. Make sure to choose Artifact builds when asked to, as it's much faster to work with those.
Don't hesitate to ask any question, either here or on Slack.
| Comment hidden (Intermittent Failures Robot) |
| Comment hidden (Intermittent Failures Robot) |
| Comment hidden (Intermittent Failures Robot) |
| Comment hidden (Intermittent Failures Robot) |
| Comment hidden (Intermittent Failures Robot) |
| Comment hidden (Intermittent Failures Robot) |
| Comment hidden (Intermittent Failures Robot) |
| Comment hidden (Intermittent Failures Robot) |
| Comment hidden (Intermittent Failures Robot) |
| Comment hidden (Intermittent Failures Robot) |
| Comment hidden (Intermittent Failures Robot) |
| Comment hidden (Intermittent Failures Robot) |
| Comment hidden (Intermittent Failures Robot) |
| Comment hidden (Intermittent Failures Robot) |
| Comment hidden (Intermittent Failures Robot) |
| Comment hidden (Intermittent Failures Robot) |
| Comment hidden (Intermittent Failures Robot) |
| Comment hidden (Intermittent Failures Robot) |
| Comment hidden (Intermittent Failures Robot) |
| Comment hidden (Intermittent Failures Robot) |
Comment 63•6 years ago
|
||
Description
•