botium-core
botium-core copied to clipboard
#831 Fix issue with long numbers in Capabilities being updated to a different number
Pull Request addresses Issue/Bug:
What issue/bug is addressed by this pull request ? #831
Implemented behaviour:
What did you actually change ?
- Updated the code to check isFinite for newCaps instead of caps as the number would have already changed in caps due to JSON.parse.
- Added a test to validate this change
Build successful?
Is build still possible ? ("npm run build") Yes
Unit Tests changed/added:
Have unit tests been changed or added to reflect new functionality ? Yes
@codeforequity-at Could you review this PR?
@codeforequity-at This is blocking us in our testing. Could you review this quickly?
there is a branch conflict pls resolve @abhilashkasula
@codeforequity-at updated the PR. Please review now.