[BrowserTest] hygiene changes

* alphabetize headings steps
* move diff view check to shared_steps.rb

Change-Id: I68ac8de2f67a61bdd50f4892f58368e1bbd71271