Versions follow Semantic Versioning
- Fixed python 2 super call on subclasses of BaseDashRunner #68
- Add
pytest_setup_selenium
hook #65
- Behavior tests from yaml description. #54
- Plugin configuration hooks for selenium options (Currently only
webdriver
)- Configuration from commandline
- Configuration from pytest.ini file.
- Added xpath wait_for wrappers.
- Added wait_for wrappers for multi elements find.
- Customizable behavior parsing thru
pytest_add_behavior
hook.
- Application runners (dash_threaded, dash_subprocess) refactored to a context manager with own selenium driver.
- Driver argument changed to
--webdriver
- dash_threaded now wait til the server has stopped in teardown.
- server runners now properly closes if there's an error in initialization. Fixes #57
- Removed
pytest-selenium
dependency, now incompatible, get the driver from the fixtures (eg:dash_threaded.driver
). - Removed
percy_snapshot
fixture.
utils.import_app
moved toapplication_runners.py
- Base exception type:
PytestDashError
#23 DashAppLoadingError
#23- Add port option to
dash_threaded
anddash_subprocess
. #28 - Add
start_wait_time
option todash_threadred
for waiting after starting the thread, default to 1 sec. #28 - Add more
wait_for
wrappers #41wait_for_style_to_equal
wait_for_property_to_equal
wait_for_element_by_*
dash_subprocess
uses_wait_for_client_app_started
instead of polling the output, fix subprocess tests on circle #13, #43
- Fixed
utils.import_app
imported methods not having access to imports. #12
- Syntax for
utils.import_app
changed to dot notation, same asdash_subprocess
.
- Added
dash_subprocess
fixture, runs a dash app in a subprocess waitress-serve command. utils.wait_for_text_to_equal
utils.wait_for_element_by_css_selector
dash_app
fixture.
start_dash
fixture todash_threaded
- Ensure the page is loaded after starting the app. #6
- Better error for missing app in
dash_from_file
fixture. #5
- Added fixtures usage examples to the README. #4
- Fixed setup.cfg classifiers.
- Initial fixtures #1.
start_dash
, start a dash app instance in a thread.dash_from_file
, load a py file and return the dash app.dash_app
, combinedash_from_file
andstart_dash
.percy_snapshot
, take percy snapshot (untested)