Skip to content

Commit b519b61

Browse files
committed
Increase e2e test browser timeout for OSX slowness. #30.
1 parent 6aecd9e commit b519b61

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/sitefoxtest/e2etests.cljs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@
1515

1616
(def host "localhost")
1717
(def base-url (str "http://" host ":8000"))
18+
(def browser-timeout 5000)
1819

1920
(def log (j/call-in js/console [:log :bind] js/console " ---> "))
2021
(def log-listeners (atom #{}))
@@ -57,7 +58,7 @@
5758
(defn get-browser []
5859
(p/let [browser (.launch pw/chromium
5960
#js {:headless (not (nil? (j/get env "CI")))
60-
:timeout 3000})
61+
:timeout browser-timeout})
6162
context (.newContext browser)
6263
page (.newPage context)]
6364
(.setDefaultTimeout page 3000)

0 commit comments

Comments
 (0)