                  (wait-for-title "Edit draft | Objective[8]")                 
                  (screenshot "12_edit_draft_empty")
                  
-                 (wd/input-text "#clj-edit-draft-content" "Functional test draft title\n===\nSome content")
+                 (wd/input-text "#clj-edit-draft-content" SOME_MARKDOWN)
                  (wd/click "button[value='preview']")
                  (wait-for-title "Edit draft | Objective[8]")
                  (screenshot "13_preview_draft")

            [clj-webdriver.taxi :as wd]
            [clj-webdriver.core :as wc]
            [clojure.java.io :as io]
            [objective8.core :as core]
            [objective8.integration-helpers :as integration-helpers]
            [dev-helpers.stub-twitter :refer [stub-twitter-auth-config]]))

              file-seq
              (filter #(re-matches #".*\.png$" (.getName %)))
              (map io/delete-file))))

(def SOME_MARKDOWN  "A heading\n===\nSome content")
(def SOME_HTML (hc/html (eh/to-hiccup (ec/mp SOME_MARKDOWN))))

(facts "About user journeys" :functional
       (against-background 
