We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5bc4fdb commit aeae113Copy full SHA for aeae113
test/clj_webdriver/test/taxi.clj
@@ -29,12 +29,17 @@
29
;; Back, forward ;;
30
(go)
31
(click (find-element {:tag :a, :text "example form"}))
32
- (Thread/sleep 500)
+ (Thread/sleep 500) ;; cross-browser race condition
33
(fact (current-url) => (str test-base-url "example-form"))
34
(back)
35
(fact (current-url) => test-base-url)
36
(forward)
37
38
+ (go "clojure")
39
+ (back 2)
40
+ (fact (current-url) => test-base-url)
41
+ (forward 2)
42
+ (fact (current-url) => (str test-base-url "clojure"))
43
44
;; To function (navigation) ;;
45
(to (str test-base-url "example-form"))
0 commit comments