def test_start_on_spaces(self, mozwebqa): contact_page = Contact(mozwebqa) contact_page.go_to_page() Assert.equal('current', contact_page.spaces_tab.get_attribute('class'), 'Page does not start on spaces tab.')
def test_start_on_spaces(self, mozwebqa): contact_page = Contact(mozwebqa) contact_page.go_to_page() assert 'current' == contact_page.spaces_tab.get_attribute( 'class'), 'Page does not start on spaces tab.'
def test_start_on_contact(self, mozwebqa): contact_page = Contact(mozwebqa) contact_page.go_to_page() assert 'current' == contact_page.contact_tab.get_attribute('class'), 'Page does not start on contact us tab.'