fuel-main/fuelweb_ui_test/pageobjects/support.py
NastyaUrlapova be6199ef1f Move UI tests to main repo
Change-Id: I185969eb59922b98f8a7ca8a6b0f44a822ce927e
2014-02-19 19:26:54 +04:00

26 lines
704 B
Python

from pageobjects.base import PageObject
class Support(PageObject):
@property
def register_fuel(self):
return self.parent.find_element_by_link_text('Register Fuel')
@property
def contact_support(self):
return self.parent.find_element_by_link_text('Contact Support')
@property
def generate_snapshot(self):
return self.parent.find_element_by_css_selector('button.download-logs')
@property
def download_snapshot(self):
return self.parent.\
find_element_by_css_selector('span.donwload-logs-link > a')
@property
def view_capacity_audit(self):
return self.parent.find_element_by_link_text('View Capacity Audit')