Updated strings and descriptions.

This commit is contained in:
Benjamin Forehand Jr 2018-04-24 11:07:11 -04:00
parent 54e78b6274
commit 3e08c35740
5 changed files with 5 additions and 1 deletions

View File

@ -3,6 +3,7 @@ from selenium.webdriver.common.by import By
class Base(Page):
"""Base object model."""
_url = '{base_url}'
_send_logo_locator = (By.CLASS_NAME, 'logo')

View File

@ -4,6 +4,7 @@ from pages.desktop.base import Base
class Download(Base):
"""Download page object model."""
_download_button_locator = (By.CLASS_NAME, 'btn--download')

View File

@ -4,7 +4,7 @@ from pages.desktop.base import Base
class Home(Base):
"""Addons Home page"""
"""Firefox Send Home page object model."""
_upload_area_locator = (By.ID, 'file-upload')
_upload_button_locator = (By.CLASS_NAME, 'btn--file')

View File

@ -4,6 +4,7 @@ from pages.desktop.base import Base
class Progress(Base):
"""Progress page object model."""
_cancel_button = (By.ID, 'cancel-upload')
_progress_icon_locator = (By.CLASS_NAME, 'progress__bar')

View File

@ -4,6 +4,7 @@ from pages.desktop.base import Base
class Share(Base):
"""SHare page object model."""
_share_page_locator = (By.CLASS_NAME, 'sharePage')
_share_url_locator = (By.ID, 'fileUrl')