Closed rmarren1 closed 5 years ago
I believe the tests are failing because of https://github.com/plotly/dash-core-components/pull/384
@valentijnnieman confirmed previous comment. This is the branch of dev tools you can work with with plotly
origin.
Looks like this problem still remains...
After investigating a bit more the input clear bug, it boils down to the way selenium clear the input. It doesn't send the onChange event for the cleared value so somehow the initial value get backs in. This is not something that would happen if the user cleared the input manually with backspaces or selecting the whole text and deleting. Thus, it is safe to patch the failing tests to fix that selenium bug.
Yes it's still there, what is fixed is the callback counts, we need to modify the failing test.
@alexcjohnson @Marc-Andre-Rivet would like to get some feedback on the last two fixes & improvement of unit tests:
it demonstrates the direction to make test case more concise and robust, but the current enhancements are still not ideal as the scope of each test is still big and lack of granularity.
Let's remember to add some tests for the dev bundle :)
possibly we should add some tests to the prod bundle that ensure that it's not "too big" ?
Built on https://github.com/plotly/dash-renderer/pull/64.