-
Notifications
You must be signed in to change notification settings - Fork 6.8k
Closed
Description
Bug, feature request, or proposal:
Bug
What is the expected behavior?
Tests are successful on local machine
What is the current behavior?
Some tests are failing because of strange float/int value comparisons or wrong comma for fractional digits.
E.g.:
Chrome 55.0.2883 (Mac OS X 10.12.2) MdRipple basic ripple sizes ripple to cover element FAILED
Expected -229 to be close to -229.50849718747372, 1.
Expected -204 to be close to -204.50849718747372, 1.
Expected NaN to be close to 559.0169943749474, 1.
...
or
Chrome 55.0.2883 (Mac OS X 10.12.2) MdSlider slider with value property binding should update when bound value changes FAILED
Expected 'translateX(0px) scaleX(0,5)' to contain 'scaleX(0.5)'.
Expected 'translateX(0px) scaleX(0,75)' to contain 'scaleX(0.75)'.
...
Here is the complete log as a gist:
https://gist.github.com/thomaspink/87f6cacc047eca03dcbdbf1df926455c
What are the steps to reproduce?
Checkout master, install deps, run tests. Maybe it is only on my machine.
What is the use-case or motivation for changing an existing behavior?
Trying to build test cases for some PRs.
Also happens with clean master checkout.
Which versions of Angular, Material, OS, browsers are affected?
Version: master
Browser: Chrome 55.0.2883
OS: (Mac OS X 10.12.2)
Node Version: v6.9.4 (same with 7.0 or 5.10.1)
Is there anything else we should know?
Travis test work fine. Locally they throw an error. Tried switching node versions, reinstalling npm packages, ...
@jelbourn @devversion maybe you guys can help me out :/
Metadata
Metadata
Assignees
Labels
No labels