aboutsummaryrefslogtreecommitdiff
path: root/webtests/show_trait_js_test.py
diff options
context:
space:
mode:
authorZachary Sloan2013-08-22 16:54:13 -0500
committerZachary Sloan2013-08-22 16:54:13 -0500
commitb34e262f0371952fdec850483c0929d4f0a858d1 (patch)
tree6c1d04ddc6d92999b86e4ad3374f98ad222bd95f /webtests/show_trait_js_test.py
parent2db8468a8e3e802588d97bdeb64b5b638d634bb6 (diff)
downloadgenenetwork2-b34e262f0371952fdec850483c0929d4f0a858d1.tar.gz
Fixed import in show_trait_js_test.py
Added a function to browser_run.py that gets an element's style
Diffstat (limited to 'webtests/show_trait_js_test.py')
-rw-r--r--webtests/show_trait_js_test.py6
1 files changed, 4 insertions, 2 deletions
diff --git a/webtests/show_trait_js_test.py b/webtests/show_trait_js_test.py
index 5e8b72bf..7a98af6a 100644
--- a/webtests/show_trait_js_test.py
+++ b/webtests/show_trait_js_test.py
@@ -29,12 +29,14 @@ 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_style('''//*[@id="sectionbody3"]''')
+style: "display: none;"
"""
from __future__ import absolute_import, division, print_function
-from browser_test import *
+from browser_run import *
testmod()