mirror of
https://github.com/nottinghamtec/PyRIGS.git
synced 2026-02-01 21:02:15 +00:00
Potentially make modal tests more consistent
This commit is contained in:
@@ -202,6 +202,10 @@ class AssetAuditList(AssetList):
|
||||
def search(self):
|
||||
self.find_element(*self._go_button_locator).click()
|
||||
|
||||
@property
|
||||
def modal_is_displayed(self):
|
||||
return self.driver.find_element_by_id('modal').is_displayed()
|
||||
|
||||
@property
|
||||
def error(self):
|
||||
try:
|
||||
@@ -231,10 +235,6 @@ class AssetAuditList(AssetList):
|
||||
'cores': (regions.TextBox, (By.ID, 'id_cores'))
|
||||
}
|
||||
|
||||
@property
|
||||
def is_displayed(self):
|
||||
return self.root.is_displayed()
|
||||
|
||||
@property
|
||||
def errors(self):
|
||||
try:
|
||||
|
||||
Reference in New Issue
Block a user