Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Comment out system-specific Taxi tests

We're still exercising the relevant functions in the API, so if something changes drastically and exceptions get thrown we'll know about it. But windows sizes for different browsers cannot be used reliably across platforms.
  • Loading branch information...
commit 2bd223f8ea34f5f84101f1e3157b48ea542696f6 1 parent be8e816
@semperos authored
View
10 test/clj_webdriver/test/taxi.clj
@@ -396,9 +396,10 @@
(let [origin (window-position)
new-position {:x 100 :y 245}]
(window-reposition new-position)
- (is (= (window-position) new-position))
+ ;; (is (= (window-position) new-position))
(window-reposition origin)
- (is (= (window-position) origin))))
+ ;; (is (= (window-position) origin))
+ ))
(deftest test-window-reposition-with-one-coordinate
(let [origin (window-position)
@@ -414,5 +415,6 @@
(deftest test-window-maximizing
(let [orig-size (window-size (window-resize {:width 300 :height 300}))
max-size (window-size (window-maximize))]
- (is (> (:width max-size) (:width orig-size)))
- (is (> (:height max-size) (:height orig-size)))))
+ ;; (is (> (:width max-size) (:width orig-size)))
+ ;; (is (> (:height max-size) (:height orig-size)))
+ ))
View
3  test/clj_webdriver/test/window.clj
@@ -4,6 +4,9 @@
[clj-webdriver.test.config :only [base-url]]
clj-webdriver.window))
+;; This part of the test suite is system-specific
+;; and probably will not pass on your machine.
+
(def driver (atom nil))
;; Fixtures
Please sign in to comment.
Something went wrong with that request. Please try again.