Solved
Forum Discussion
aurelien-reeves
Staff
4 years agoDo you have the possibility to take a screenshot when the test is failing?
Do you have the possibility to execute your test not in headless mode, to freeze it, and to check the DOM?
- karmaTrinlema4 years agoOccasional Contributor
Thank you for your suggestions.
- karmaTrinlema4 years agoOccasional Contributor
What I found out is that I have to check the flash message first because it is ephemeral. I was checking which page I was on first. I re-ran the test with put page.body and saw that when I swapped the order of the tests, I could see the flash message.
Thank you for your help.