Skip to content
This repository has been archived by the owner on Nov 9, 2017. It is now read-only.

Commit

Permalink
Adjust tests to account for new find-table-cell signature
Browse files Browse the repository at this point in the history
  • Loading branch information
semperos committed Feb 15, 2012
1 parent 8ec9eb8 commit f9348c5
Showing 1 changed file with 12 additions and 4 deletions.
16 changes: 12 additions & 4 deletions test/clj_webdriver/test/common.clj
Expand Up @@ -214,13 +214,21 @@
(defn find-table-cell-should-find-cell-with-coords
[driver]
(is (= "th"
(.toLowerCase (tag (find-table-cell driver {:id "pages-table"} [0 0])))))
(.toLowerCase (tag (find-table-cell driver
(find-element driver {:id "pages-table"})
[0 0])))))
(is (= "th"
(.toLowerCase (tag (find-table-cell driver {:id "pages-table"} [0 1])))))
(.toLowerCase (tag (find-table-cell driver
(find-element driver {:id "pages-table"})
[0 1])))))
(is (= "td"
(.toLowerCase (tag (find-table-cell driver {:id "pages-table"} [1 0])))))
(.toLowerCase (tag (find-table-cell driver
(find-element driver {:id "pages-table"})
[1 0])))))
(is (= "td"
(.toLowerCase (tag (find-table-cell driver {:id "pages-table"} [1 1]))))))
(.toLowerCase (tag (find-table-cell driver
(find-element driver {:id "pages-table"})
[1 1]))))))

(defn find-table-row-should-find-all-cells-for-row
[driver]
Expand Down

0 comments on commit f9348c5

Please sign in to comment.