DEV Community

Discussion on: How to Automate UI testing in AvaloniaUI App

Collapse
 
berndmehnert profile image
berndmehnert • Edited

Hi! Thank you very much for the article and in particular for the UI testing part. I have run the UI test example you gave and it worked nicely. I am quite new to this and have a question:
How would you run the camelot UI test non-headless, i.e. the app opening and you can see the tests happening ;) ?
There seems to be not much documentation to this. A (may be naive) "UseHeadless(false)" in your test example didn't work ;(.

Collapse
 
ingvarx profile image
Ingvar

Hi! Thanks for your comment.

I think that UseHeadless(false) doesn't work anymore but removing this line works and shows Camelot UI during tests for me

Collapse
 
berndmehnert profile image
berndmehnert

Indeed, commenting out that line did it ;) Thank you again ...