I haven't found an easy and consistent way to test if a browser is showing or not a spelling|grammar error marker in some editable content. Some browsers use lazy strategies in order to paint these error markers, so it's not possible to know if they have painted them or not in a test.
It'd be nice to have some way to do this, maybe some kind of API or anything like that, that could tell browsers to show them on demand.