be6199ef1f
Change-Id: I185969eb59922b98f8a7ca8a6b0f44a822ce927e
26 lines
704 B
Python
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')
|