def test(self): page = SettingsPage(self.driver) page.load_avatar(self.BIG_AVATAR_PATH) self.assertEqual( self.driver.find_element_by_id(AVATAR_ERROR_ID).get_attribute('innerText'), AVATAR_ERROR_SIZE_MESSAGE )
def test(self): page = SettingsPage(self.driver) page.load_avatar(self.SMALL_AVATAR_PATH) wait_for_pop_up(self.driver)