SatelliteQE / airgun

AirGun is a Python library that is built over Widgetastic and navmazing to make Satellite 6 UI testing easier.
GNU General Public License v3.0
20 stars 66 forks source link

wait for task details to appear #1555

Closed pondrejk closed 1 month ago

pondrejk commented 1 month ago

in automation, the task details consistently take a bit of time to load, the read action then fails. It's not really reproducible locally, adding a bit of wait in hope to improve the situation

pondrejk commented 1 month ago

trigger: test-robottelo pytest: tests/foreman/ui/test_dashboard.py -k task_status airgun: 1555

Satellite-QE commented 1 month ago

PRT Result

Build Number: 401
Build Status: SUCCESS
PRT Comment: pytest tests/foreman/ui/test_dashboard.py -k task_status --external-logging
Test Result : =========== 1 passed, 4 deselected, 15 warnings in 709.49s (0:11:49) ===========
sambible commented 1 month ago

I'm not as opposed to hard sleeps as some other reviewers, it can be an effective tool to resolve very unfortunate disconnects between PRT/Local runs and CI.

Approving this, and will also be approving https://github.com/SatelliteQE/airgun/pull/1556