mozilla/moztrap-tests — pull request #91 by bobsilverberg (2013-01-02 15:05:02+00:00)
Title: Update logic for is_the_current_page to address titles on dev

This addresses a number of failures on moztrap.dev. It looks like the page titles have changed to be labelled Moztrap-Dev, instead of just Moztrap. Simply changing the logic to use contains instead of equals should address this, without losing the safety of the check.

Note there are other failures on dev which still exist after applying this change, which I intend to address with another pull request.