QA: Fix VisualEditor tests

Reflect HTML markup change. Use selectors to avoid this in future.
Correct a typo in a rule

Change-Id: Id32ba14ee6d5abb3ea349f475a643aff13f10bf0
Merge "QA: Fix VisualEditor tests"