| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
Sorry, something went wrong.
| // These settings deal with browser disconnects. We had seen test flakiness from Firefox | ||
| // [Firefox 56.0.0 (Linux 0.0.0)]: Disconnected (1 times), because no message in 10000 ms. | ||
| // https://github.com/jasmine/jasmine/issues/1327#issuecomment-332939551 | ||
| browserNoActivityTimeout: 60000, |
There was a problem hiding this comment.
I removed this line that I had added in an earlier PR because it's very annoying to use with gulp test --watch. It closes the browser after 10 min which makes debugging really hard. Hopefully browserDisconnectTolerance: 3 will be enough. We could make it browserDisconnectTolerance: 5 or something if we want to add a little extra buffer since we're removing browserNoActivityTimeout
Sorry, something went wrong.
Refactor `updateElement` and `removeHoverStyle` and fix tests.
| Back | FazBrowse Home | New Git URL |
@loicbourgois sent #5194 which was closed due to inactivity. This is an updated version of the original PR. I've made just a minor change so that the tests pass
This PR stores the original styles when hovering and then restores them when removing the hover.
This reduces the amount of code used for applying and removing hover styles by a fair amount (though the PR adds a lot of test code, so the overall lines of code don't change much)
This also fixes hovering on the financial charts. You can see that the financial chart samples are broken. Hovering applies a different style, but removing hover does not restore them.