a544a4d69366f2959772f89ecd0fb1acc6172171 gperez2 Tue Sep 3 08:19:19 2024 -0700 Adding HAL example to selenium qaTestScript, No RM diff --git src/utils/qa/qaTestScript.py src/utils/qa/qaTestScript.py index 52e841e..72b8be0 100755 --- src/utils/qa/qaTestScript.py +++ src/utils/qa/qaTestScript.py @@ -565,30 +565,35 @@ cartReset() driver.get(machine + "/cgi-bin/hgTracks?db=hg19&measureTiming=1&hubUrl=https://genecats.gi.ucsc.edu/qa/hubTesting/exampleHubManyMulit/hub.txt") driver.get(machine + "/cgi-bin/hgTracks") driver.find_element_by_id("positionInput").clear() driver.find_element_by_id("positionInput").send_keys("chr10:69,644,427-69,678,147") driver.find_element_by_id("goButton").click() time.sleep(3) # Tests track hub annotation if it is on the RR if 'hub_5137468' in driver.page_source: driver.find_element_by_xpath("//td[@id='td_data_hub_5137468_multiWig4']/div[2]/map/area").click() elif 'hub_24302' in driver.page_source: driver.find_element_by_xpath("//td[@id='td_data_hub_24302_multiWig4']/div[2]/map/area").click() else: driver.find_element_by_xpath("//td[@id='td_data_hub_37972_multiWig4']/div[2]/map/area").click() +# Tests hub with HAL tracks +cartReset() +driver.get(machine + "/cgi-bin/hgTracks?hubUrl=https://genecats.gi.ucsc.edu/qa/hubTesting/CICHLID2023/myHub/hub.txt&genome=hub_68124_Anc0&position=lastDbPos") +driver.get(machine + "/cgi-bin/hgTracks") +driver.find_element_by_id("positionInput").clear() # Tests hgBlat All and Monk Seal/Human MYLK Protein cartReset() driver.get(machine + "/cgi-bin/hgGateway?db=hg19") a = ActionChains(driver) #identify element m = driver.find_element_by_id("tools3") #hover over element a.move_to_element(m).perform() #identify sub menu element n = driver.find_element_by_id("blatMenuLink") # hover over element and click a.move_to_element(n).click().perform() driver.find_element_by_id("searchAllText").click() driver.find_element_by_name("userSeq").clear()