Closed mshriver closed 4 years ago
I have tested the settings UI test cases with this change and it works
pytest tests/foreman/ui/test_settings.py
=============================================================================================== test session starts ===============================================================================================
tests/foreman/ui/test_settings.py .........ss.sss. [100%]
============================================================================= 11 passed, 5 skipped, 22 warnings in 800.05s (0:13:20) ==============================================================================
Thanks @devendra104 - some unrelated unit test failures in travis that I'd like to get fixed too.
Looked into the datepicker failure, wrote an issue instead of trying to include that fix here: https://github.com/RedHatQE/widgetastic.patternfly/issues/125
Looked into the modal failure, wrote an issue instead of trying to include the fix here: https://github.com/RedHatQE/widgetastic.patternfly/issues/126
On some applications, flash messages may dismiss themselves between WT creating the FlashMessage instance, and trying to delete it
This defaults the dismiss method to log and squash NoSuchElement and StaleElementReference exceptions.
Includes unit tests