Add failing test and check that all required info is in HTML
Add test similar to @pass
, maybe name it @fail
, it should be expected to fail (with tag @xfail
) and contain * Execute "false"
step, maybe force fail of some systemd service... Then, there should be other test that checks HTML report and ensures all the data is there (NM log, failed services, status after scenario and after clean, etc.). The similar checks should be made for @pass
report as well (that we don't have NM log, no status in after scenario, etc.). Also @crashing_NM_binary
, which should then be split to another test checking HTML report, not just by checks performed in environment.py
.
It would make sense to execute those during unit-tests, but in time of unit-tests we sometimes don't have NM (e.g. in gitlab pipeline).