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):
|
class Base(Page):
|
||||||
|
"""Base object model."""
|
||||||
|
|
||||||
_url = '{base_url}'
|
_url = '{base_url}'
|
||||||
_send_logo_locator = (By.CLASS_NAME, 'logo')
|
_send_logo_locator = (By.CLASS_NAME, 'logo')
|
||||||
|
|
|
@ -4,6 +4,7 @@ from pages.desktop.base import Base
|
||||||
|
|
||||||
|
|
||||||
class Download(Base):
|
class Download(Base):
|
||||||
|
"""Download page object model."""
|
||||||
|
|
||||||
_download_button_locator = (By.CLASS_NAME, 'btn--download')
|
_download_button_locator = (By.CLASS_NAME, 'btn--download')
|
||||||
|
|
||||||
|
|
|
@ -4,7 +4,7 @@ from pages.desktop.base import Base
|
||||||
|
|
||||||
|
|
||||||
class Home(Base):
|
class Home(Base):
|
||||||
"""Addons Home page"""
|
"""Firefox Send Home page object model."""
|
||||||
|
|
||||||
_upload_area_locator = (By.ID, 'file-upload')
|
_upload_area_locator = (By.ID, 'file-upload')
|
||||||
_upload_button_locator = (By.CLASS_NAME, 'btn--file')
|
_upload_button_locator = (By.CLASS_NAME, 'btn--file')
|
||||||
|
|
|
@ -4,6 +4,7 @@ from pages.desktop.base import Base
|
||||||
|
|
||||||
|
|
||||||
class Progress(Base):
|
class Progress(Base):
|
||||||
|
"""Progress page object model."""
|
||||||
|
|
||||||
_cancel_button = (By.ID, 'cancel-upload')
|
_cancel_button = (By.ID, 'cancel-upload')
|
||||||
_progress_icon_locator = (By.CLASS_NAME, 'progress__bar')
|
_progress_icon_locator = (By.CLASS_NAME, 'progress__bar')
|
||||||
|
|
|
@ -4,6 +4,7 @@ from pages.desktop.base import Base
|
||||||
|
|
||||||
|
|
||||||
class Share(Base):
|
class Share(Base):
|
||||||
|
"""SHare page object model."""
|
||||||
|
|
||||||
_share_page_locator = (By.CLASS_NAME, 'sharePage')
|
_share_page_locator = (By.CLASS_NAME, 'sharePage')
|
||||||
_share_url_locator = (By.ID, 'fileUrl')
|
_share_url_locator = (By.ID, 'fileUrl')
|
||||||
|
|
Loading…
Reference in New Issue