out <- sendKeys "Enter" (Literal "This is a test mail for purebred")
assertSubstrInOutput "From: <roman@host.example>" out
assertSubstrInOutput "To: <frase@host.example>" out
assertSubstrInOutput ("Subject: " <> subject) out
Instead it might be nicer to "store" a capture in a state, and have assertion functions that check the stored capture.
Ahaha oh man, really? GitHub closed this issue when a commit in a whole other repo referenced it. I wonder if that only work within a single org... or if it's across the board :O
A common pattern is:
Instead it might be nicer to "store" a capture in a state, and have assertion functions that check the stored capture.