Compare commits
No commits in common. "b91c04774d6cee23c77e91313853389a5dc72d3d" and "c7e9b7e0b636963a3ed138383286b2a562a4aeb4" have entirely different histories.
b91c04774d
...
c7e9b7e0b6
@ -11,7 +11,6 @@ from selenium.webdriver.common.by import By
|
|||||||
from selenium.webdriver.support import expected_conditions as EC
|
from selenium.webdriver.support import expected_conditions as EC
|
||||||
from selenium.webdriver.support.ui import WebDriverWait
|
from selenium.webdriver.support.ui import WebDriverWait
|
||||||
|
|
||||||
from typing import Tuple, List
|
|
||||||
|
|
||||||
class BaseTester:
|
class BaseTester:
|
||||||
"""
|
"""
|
||||||
@ -118,7 +117,7 @@ class BaseTester:
|
|||||||
def _test(self, *args):
|
def _test(self, *args):
|
||||||
"""Placeholder to be overwritten by overloading classes"""
|
"""Placeholder to be overwritten by overloading classes"""
|
||||||
|
|
||||||
def _test_all(self, test_strings: Tuple[str, str, str]):
|
def _test_all(self, test_strings: tuple[str, str, str]):
|
||||||
"""Loops testing over the given terms"""
|
"""Loops testing over the given terms"""
|
||||||
try:
|
try:
|
||||||
self.login()
|
self.login()
|
||||||
@ -152,7 +151,7 @@ class SearchExportTester(BaseTester):
|
|||||||
self.contact_selectall_id = "CIVICRM_QFID_ts_all_4"
|
self.contact_selectall_id = "CIVICRM_QFID_ts_all_4"
|
||||||
self.contact_dropdown_id = "select2-chosen-4"
|
self.contact_dropdown_id = "select2-chosen-4"
|
||||||
|
|
||||||
def _get_export_id(self) -> List[str]:
|
def _get_export_id(self) -> list[str]:
|
||||||
"""Parses url to get the param used to ID what search we are currently doing"""
|
"""Parses url to get the param used to ID what search we are currently doing"""
|
||||||
export_page_url = self.browser.current_url
|
export_page_url = self.browser.current_url
|
||||||
parsed = urlparse.urlparse(export_page_url)
|
parsed = urlparse.urlparse(export_page_url)
|
||||||
|
Loading…
Reference in New Issue
Block a user