-
Notifications
You must be signed in to change notification settings - Fork 66
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add Slider
functional tests
#178
Conversation
all tests are failing in edge. I saw the same issue locally and I thought it was a browserstack issue. |
Codecov Report
@@ Coverage Diff @@
## master #178 +/- ##
=========================================
Coverage ? 99.24%
=========================================
Files ? 18
Lines ? 929
Branches ? 279
=========================================
Hits ? 922
Misses ? 1
Partials ? 6 Continue to review full report at Codecov.
|
.findByCssSelector(`.${css.fill}`) | ||
.getAttribute('style') | ||
.then((style: string) => { | ||
const absWidthRegex = /width:\s*(\d+)\.?\d*%/; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
can this not be done via a property or similar? regex seems odd.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I agree. I tried the property approach before coming up with this but it didn't work. I used .getProperty('style')
but what got returned is an array of property names(['width']
) in chrome, instead of an object with which I can then use style.width
. If you point me to an example on how this can be done with property, I'd love to make the change.
The tests were working originally but started failing after recent rebase. Needs to look into it. |
Moved to #322 |
Type: functional tests
The following has been addressed in the PR:
Resolves #158