 (ns osmium.core-test
-  (:import [clojure.test.check.generators Generator])
   (:require [clojure.test :refer :all]
             [clj-webdriver.taxi :as taxi]
             [osmium.core :as o]

      (eval! driver [:to "localhost:3005"])
      (let [actions (walk-n-steps! driver 10
                                   (fn [a]
                                     (println a)
                                     (doseq [user (user/all-users db)]
                                       (is (s/valid? ::user/user user)))))]
        (reset! replay {:actions actions :step 0}))
      (taxi/quit driver))
    (o/stop!)))

       (if-let [action (rand-nth (seq (find-actions d)))]
         (let [action' (expand-action d action)]
           (eval! d action')
           (if (= ::stop (f action'))
             (conj actions action')
             (recur (dec n) (conj actions action'))))
         actions)))))

;; ======================================================================
