mirror of
https://github.com/status-im/open-bounty.git
synced 2025-01-21 23:09:04 +00:00
8414d19404
* Configure work with remote config; add stepa to verify issue title; * transfer settings to global .gitignore * Change channel and repo path * Delete local env by default * change locator for BountyFooters
25 lines
687 B
Python
25 lines
687 B
Python
from pages.base_page import BasePageObject
|
|
from pages.base_element import *
|
|
from tests import test_data
|
|
|
|
|
|
class LoginButton(BaseButton):
|
|
def __init__(self, driver):
|
|
super(LoginButton, self).__init__(driver)
|
|
self.locator = self.Locator.id('button-login')
|
|
|
|
def navigate(self):
|
|
from pages.thirdparty.github import GithubPage
|
|
return GithubPage(self.driver)
|
|
|
|
|
|
class LandingPage(BasePageObject):
|
|
def __init__(self, driver):
|
|
super(LandingPage, self).__init__(driver)
|
|
self.driver = driver
|
|
|
|
self.login_button = LoginButton(self.driver)
|
|
|
|
def get_landing_page(self):
|
|
self.driver.get(test_data.config['Common']['url'])
|