Updated strings and descriptions.
This commit is contained in:
parent
54e78b6274
commit
3e08c35740
|
@ -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')
|
||||
|
|
|
@ -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')
|
||||
|
||||
|
|
|
@ -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')
|
||||
|
|
|
@ -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')
|
||||
|
|
|
@ -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')
|
||||
|
|
Loading…
Reference in New Issue