Well that wasn't clever of me

This commit is contained in:
2020-05-26 13:42:37 +01:00
parent 7356d020b2
commit 0bbc23853d
3 changed files with 4 additions and 3 deletions

View File

@@ -5,7 +5,7 @@ from selenium.webdriver.remote.webelement import WebElement
from selenium.webdriver.support.ui import WebDriverWait
from selenium.webdriver.support.select import Select
import datetime
from PyRIGS.regions import Modal
from PyRIGS.tests.regions import Modal
class Header(Region):
@@ -40,6 +40,7 @@ class ItemRow(Region):
def subtotal(self):
return self.find_element(*self._subtotal_locator).text
class ItemModal(Modal):
_header_selector = (By.TAG_NAME, 'h4')