robottelo
robottelo copied to clipboard
Avoid use of "sleep" in api/test_errata.py
identify a condition and use wait_for instead of static sleeps.
https://github.com/SatelliteQE/robottelo/pull/8214/files/bc0d655d23bbe1d7b517ffbc8ac8c2e493c6adea#r588475565
This issue can be used more broadly to audit for uses of static sleep and to apply the coding best practice of using wait_for to all test modules, not just the specific instance in api/test_errata.py
I added a wait_for_tasks in:
tests/foreman/ui/test_contenthost.py::test_module_status_update_without_force_upload_package_profile