aboutsummaryrefslogtreecommitdiff
path: root/webtests/show_trait_js_test.py
diff options
context:
space:
mode:
authorAlexander Kabui2021-05-10 08:46:44 +0300
committerGitHub2021-05-10 08:46:44 +0300
commitf7eeb913af479358583844164400dc8489a87d8f (patch)
tree5deb035007120eff4d691c270c2ec2937622b852 /webtests/show_trait_js_test.py
parent0b723720f7b1b9802b2f5453b747c7e48b693817 (diff)
parent1afece5464520700901cbde19599ac45222ea58f (diff)
downloadgenenetwork2-f7eeb913af479358583844164400dc8489a87d8f.tar.gz
Merge branch 'testing' into feature/integrate-correlation-api
Diffstat (limited to 'webtests/show_trait_js_test.py')
-rw-r--r--webtests/show_trait_js_test.py40
1 files changed, 0 insertions, 40 deletions
diff --git a/webtests/show_trait_js_test.py b/webtests/show_trait_js_test.py
deleted file mode 100644
index 34ffd3b7..00000000
--- a/webtests/show_trait_js_test.py
+++ /dev/null
@@ -1,40 +0,0 @@
-"""
-Test if JS is working on the show trait page
-
->>> test.get("alexandria.uthsc.edu:89")
-title: GeneNetwork
-
-Choose the species
->>> test.click_option('''//*[@id="species"]''', 'Human')
-
-Choose the group
->>> test.click_option('''//*[@id="cross"]''', 'Human Brain Transcriptome (Yale/Kavli)')
-
-Choose the type
->>> test.click_option('''//*[@id="tissue"]''', 'Orbital Prefrontal Cortex mRNA')
-
-Enter the Get Any
->>> test.enter_text('''//*[@id="tfor"]''', 'shh')
-text: shh
-
-Search
->>> test.click('//*[@id="btsearch"]')
-clicked: Search
-
-Choose the first result
->>> test.click('''//*[@id="KIN_YSM_OFC_0711::3081205"]/td[2]/a''')
-clicked: 3081205
-
-A new window is created, so we switch to it
->>> test.switch_window()
-title: KIN/YSM Human OFC Affy Hu-Exon 1.0 ST (Jul11) Quantile : 3081205: Display Trait
-
-Check that the Calculate Correlations tab is closed (if javascript isn't working, it will be open)
->>> test.get_element_style('''//*[@id="sectionbody3"]''')
-style: display: none;
-
-"""
-
-from browser_run import *
-
-testmod()