Added the test to verify title on /explore

Added the test_explore_title to address #48
@rbillings

Please let me know what adjustment with reference to your comment below:

In pages/explore.py:

> +    def is_page_title_visible(self):
> +        return self.is_element_visible(*self._explore_title_locator)

This needs the slightest adjustment. You are returning the locator, but not
the text within the locator- which is why the test will fail. See a similar
method here:
https://github.com/mozilla/remo-tests/blob/master/pages/event_detail.py


Thanks!


On Wed, Aug 6, 2014 at 10:51 AM, Rebecca Billings <notifications@github.com>
wrote:

> In pages/explore.py:
>
> > +
> > +from selenium.webdriver.common.by import By
> > +from base import Base
> > +
> > +
> > +class ExplorePage(Base):
> > +
> > +    _explore_title_locator = (By.CSS_SELECTOR, 'title.ng-binding')
> > +
> > +    def go_to_explore_page(self):
> > +        home_page = HomePage(mozwebqa)
> > +        home_page.go_to_page()
> > +        explore_page = home_page.header.click_on_
> explore_tab()
> > +
> > +    def is_page_title_visible(self):
> > +        return self.is_element_visible(*self._explore_title_locator)
>
> This needs the slightest adjustment. You are returning the locator, but
> not the text within the locator- which is why the test will fail. See a
> similar method here:
> https://github.com/mozilla/remo-tests/blob/master/pages/event_detail.py
>
> —
> Reply to this email directly or view it on GitHub
> <https://github.com/mozilla/webmaker-tests/pull/51/files#r15878489>.
>