Hello again.
I set self.fail for a certain condition like below
else:
asyncio.run(self.send_telegram_message("AD_error"))
self.result = "AD_error"
self.fail("AD_error")
and it worked fine in the terminal
F
FAIL: test_whowhomonitor (main.TestAppium.test_whowhomonitor)
Traceback (most recent call last):
File “d:\Benchmark\WW AD Monitor_Fin copy fin2.py”, line 155, in tearDown
self.fail(“AD_error”)
AssertionError: AD_error
but my Dashboard says that all the cases are passed
is there a way to get fail mark intentionally on the dashboard?
Thank you