Skip to content

Commit

Permalink
fix docstring
Browse files Browse the repository at this point in the history
  • Loading branch information
A-Harby committed May 26, 2024
1 parent 1a6d815 commit 8f3d431
Show file tree
Hide file tree
Showing 6 changed files with 24 additions and 23 deletions.
8 changes: 4 additions & 4 deletions packages/playground/tests/frontend_selenium/pages/bridge.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,12 +5,12 @@
from selenium.webdriver.support.ui import WebDriverWait
from selenium.webdriver.support import expected_conditions as EC

"""
This module contains Bridge page elements.
"""

class BridgePage:

"""
This module contains TF Token Bridge page elements.
"""

logout_button = (By.XPATH, "//button[.//span[text()=' Logout ']]")
tfchain_button = (By.XPATH, "//span[text()='TFChain']")
bridge_page = (By.XPATH, "//span[text()='TF Token Bridge']")
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,12 +7,12 @@
from utils.base import Base
import time

"""
This module contains Dashboard homepage elements.
"""

class DashboardPage:

"""
This module contains Dashboard Homepage and Profile Manager elements.
"""

profile_load_label = (By.XPATH, "//*[contains(text(), 'TFChain Wallet')]")
threefold_load_label = (By.XPATH, "//*[contains(text(), 'A Co-Owned Global Sovereign Internet')]")
manual_button = (By.XPATH, "//*[contains(text(), 'the manual')]")
Expand Down
8 changes: 4 additions & 4 deletions packages/playground/tests/frontend_selenium/pages/farm.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,12 +4,12 @@
from selenium.webdriver.support.ui import WebDriverWait
from selenium.webdriver.support import expected_conditions as EC

"""
This module contains Farm page elements.
"""

class FarmPage:

"""
This module contains Your Farms page elements.
"""

logout_button = (By.XPATH, "//button[.//span[text()=' Logout ']]")
farm_section = (By.XPATH, "//span[text()='Farms']")
farm_page = (By.XPATH, "//span[text()='Your Farms']")
Expand Down
8 changes: 4 additions & 4 deletions packages/playground/tests/frontend_selenium/pages/node.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,12 +4,12 @@
from selenium.webdriver.support.ui import WebDriverWait
from selenium.webdriver.support import expected_conditions as EC

"""
This module contains Dedicate Node page elements.
"""

class NodePage:

"""
This module contains Node table elements in Your Farms page.
"""

logout_button = (By.XPATH, "//button[.//span[text()=' Logout ']]")
tfchain_button = (By.XPATH, "//span[text()='TFChain']")
your_profile_button = (By.XPATH, "//span[text()='Your Profile']")
Expand Down
8 changes: 4 additions & 4 deletions packages/playground/tests/frontend_selenium/pages/transfer.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,12 +4,12 @@
from selenium.webdriver.support.ui import WebDriverWait
from selenium.webdriver.support import expected_conditions as EC

"""
This module contains Transfer page elements.
"""

class TransferPage:

"""
This module contains TF Token Transfer page elements.
"""

logout_button = (By.XPATH, "//button[.//span[text()=' Logout ']]")
tfchain_button = (By.XPATH, "//span[text()='TFChain']")
transfer_page = (By.XPATH, "//span[text()='TF Token Transfer']")
Expand Down
7 changes: 4 additions & 3 deletions packages/playground/tests/frontend_selenium/pages/twin.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,11 +5,12 @@
from selenium.webdriver.support.ui import WebDriverWait
from selenium.webdriver.support import expected_conditions as EC

"""
This module contains Twin page elements.
"""
class TwinPage:

"""
This module contains Your Profile page elements.
"""

logout_button = (By.XPATH, "//button[.//span[text()=' Logout ']]")
tfchain_button = (By.XPATH, "//span[text()='TFChain']")
your_profile_button = (By.XPATH, "//span[text()='Your Profile']")
Expand Down

0 comments on commit 8f3d431

Please sign in to comment.