Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Add a corresponding test for compound class names using by-class-name

  • Loading branch information...
commit 52f06cc934e31f962b33d5a36ee38e8016d2cd76 1 parent 3112ce7
@semperos semperos authored
Showing with 4 additions and 1 deletion.
  1. +4 −1 test/clj_webdriver/test/core.clj
View
5 test/clj_webdriver/test/core.clj
@@ -101,7 +101,10 @@
(is (= "home"
(text (find-element dr (by-class-name "menu-item")))))
(is (= "home"
- (text (find-element dr (by-css-selector "#footer a.menu-item"))))))
+ (text (find-element dr (by-css-selector "#footer a.menu-item")))))
+ (to dr test-base-url)
+ (is (= "first odd"
+ (attribute (find-element dr (by-class-name "first odd")) :class))))
(deftest find-it-should-support-basic-attr-val-map
(is (= "Moustache"
Please sign in to comment.
Something went wrong with that request. Please try again.