Skip to content
Find file
Fetching contributors…
Cannot retrieve contributors at this time
21 lines (14 sloc) 615 Bytes
#!/usr/bin/env python
# This Source Code Form is subject to the terms of the Mozilla Public
# License, v. 2.0. If a copy of the MPL was not distributed with this
# file, You can obtain one at http://mozilla.org/MPL/2.0/.
from unittestzero import Assert
from pages.media import MediaPage
from pages.home import HomePage
class TestMediaPage:
@pytest.mark.nondestructive
def test_media_title(self, mozwebqa):
home_page = HomePage(mozwebqa)
home_page.go_to_home_page()
media_page = home_page.header_region.click_media_link()
Assert.true(media_page.is_the_current_page)
Jump to Line
Something went wrong with that request. Please try again.