Skip to content

Instantly share code, notes, and snippets.

@karlwestin
Created September 11, 2014 15:52
Show Gist options
  • Save karlwestin/ebdabfb16887dcacec4d to your computer and use it in GitHub Desktop.
Save karlwestin/ebdabfb16887dcacec4d to your computer and use it in GitHub Desktop.
app.qa.core=> (run-test-command ["mobile-signup" "local-mobile-app" "web" "karl@readyforzero.com"])
INFO nREPL-worker-44 20140911 174719,922 app.qa.core ] Running tests: [:mobile-signup] from spec: mobile-signup
INFO nREPL-worker-44 20140911 174719,924 app.qa.core ] running tests [[:mobile-signup]]
INFO clojure-agent-send-off-pool-240 20140911 174719,925 app.qa.core ] STARTING: :mobile-signup {:browserName , :platformName Android, :platformVersion 4.4.2, :deviceName , :appium true, :app /Users/doncarlos/Development/RFZ-dev/mobile/phonegap/platforms/android/ant-build/ReadyForZero-debug.apk}
done w test (creating appium driver #clj_webdriver.remote.server.RemoteServer{:connection-params {:host localhost, :port 4723, :path-spec /wd/*, :existing true}, :webdriver-server nil} {:test mobile-signup, :browserName , :platformName Android, :platformVersion 4.4.2, :deviceName , :app /Users/doncarlos/Development/RFZ-dev/mobile/phonegap/platforms/android/ant-build/ReadyForZero-debug.apk}
sleeping a bit ....
got session: 170c4a4d-bae5-4c86-bf87-c02693cb1610
sleeping a bit more ...
calling #<client$get clj_http.client$get@3b873d> http://localhost:4723/wd/hub/session/170c4a4d-bae5-4c86-bf87-c02693cb1610/contexts with params {:as :json}
calling #<client$get clj_http.client$get@3b873d> http://localhost:4723/wd/hub/session/170c4a4d-bae5-4c86-bf87-c02693cb1610/contexts with params {:as :json}
calling #<client$post clj_http.client$post@73ec85bb> http://localhost:4723/wd/hub/session/170c4a4d-bae5-4c86-bf87-c02693cb1610/context with params {:body {"name":"WEBVIEW_com.readyforzero.mobile"}, :content-type :json}
INFO clojure-agent-send-off-pool-240 20140911 174738,836 app.qa.internal.core ] INITIALIZING MOBILE DRIVER WITH OPTIONS: {:test-id 170c4a4d-bae5-4c86-bf87-c02693cb1610, :base-url https://stage.readyforzero.net/, :local false}
INFO clojure-agent-send-off-pool-240 20140911 174738,837 app.qa.commands ] Waiting for [rfz-view='splash']
calling #<client$post clj_http.client$post@73ec85bb> http://localhost:4723/wd/hub/session/170c4a4d-bae5-4c86-bf87-c02693cb1610/element with params {:body {"using":"css selector","value":"[data-qa=\"splash-signup\"]"}, :content-type :json}
calling #<client$post clj_http.client$post@73ec85bb> http://localhost:4723/wd/hub/session/170c4a4d-bae5-4c86-bf87-c02693cb1610/touch/click with params {:body {"element":"0.3191381765063852-2"}, :content-type :json}
INFO clojure-agent-send-off-pool-240 20140911 174739,451 app.qa.commands ] Waiting for [rfz-view='signup']
INFO clojure-agent-send-off-pool-240 20140911 174749,081 app.qa.commands ] trying to click [data-qa="signup-submit"]
INFO clojure-agent-send-off-pool-240 20140911 174750,134 app.qa.commands ] clicked [data-qa="signup-submit"]
INFO clojure-agent-send-off-pool-240 20140911 174750,134 app.qa.commands ] Waiting for [rfz-view='welcome']
calling #<client$post clj_http.client$post@73ec85bb> http://localhost:4723/wd/hub/session/170c4a4d-bae5-4c86-bf87-c02693cb1610/element with params {:body {"using":"css selector","value":"[data-qa=\"welcome-add-btn\"]"}, :content-type :json}
calling #<client$post clj_http.client$post@73ec85bb> http://localhost:4723/wd/hub/session/170c4a4d-bae5-4c86-bf87-c02693cb1610/touch/click with params {:body {"element":"0.3191381765063852-8"}, :content-type :json}
INFO clojure-agent-send-off-pool-240 20140911 174757,782 app.qa.commands ] Waiting for [rfz-view='addAccount']
INFO clojure-agent-send-off-pool-240 20140911 174759,957 app.qa.commands ] Waiting for [data-qa="add-account-result-1503"]
calling #<client$post clj_http.client$post@73ec85bb> http://localhost:4723/wd/hub/session/170c4a4d-bae5-4c86-bf87-c02693cb1610/element with params {:body {"using":"css selector","value":"[data-qa=\"add-account-result-1503\"]"}, :content-type :json}
calling #<client$post clj_http.client$post@73ec85bb> http://localhost:4723/wd/hub/session/170c4a4d-bae5-4c86-bf87-c02693cb1610/touch/click with params {:body {"element":"0.3191381765063852-10"}, :content-type :json}
INFO clojure-agent-send-off-pool-240 20140911 174803,333 app.qa.commands ] Waiting for [rfz-view='siteLoginForm']
INFO clojure-agent-send-off-pool-240 20140911 174810,582 app.qa.commands ] trying to click [data-qa="site-login-form-submit"]
INFO clojure-agent-send-off-pool-240 20140911 174811,506 app.qa.commands ] clicked [data-qa="site-login-form-submit"]
INFO clojure-agent-send-off-pool-240 20140911 174811,506 app.qa.commands ] Waiting for [rfz-view='completeAccountDetails']
calling #<client$post clj_http.client$post@73ec85bb> http://localhost:4723/wd/hub/session/170c4a4d-bae5-4c86-bf87-c02693cb1610/element with params {:body {"using":"css selector","value":"[data-qa=\"complete-accounts-save\"]"}, :content-type :json}
calling #<client$post clj_http.client$post@73ec85bb> http://localhost:4723/wd/hub/session/170c4a4d-bae5-4c86-bf87-c02693cb1610/touch/click with params {:body {"element":"0.3191381765063852-17"}, :content-type :json}
INFO clojure-agent-send-off-pool-240 20140911 174824,733 app.qa.commands ] Waiting for [rfz-view='nextSteps']
calling #<client$post clj_http.client$post@73ec85bb> http://localhost:4723/wd/hub/session/170c4a4d-bae5-4c86-bf87-c02693cb1610/element with params {:body {"using":"css selector","value":"[data-qa=\"next-steps-plan\"]"}, :content-type :json}
calling #<client$post clj_http.client$post@73ec85bb> http://localhost:4723/wd/hub/session/170c4a4d-bae5-4c86-bf87-c02693cb1610/touch/click with params {:body {"element":"0.3191381765063852-19"}, :content-type :json}
INFO clojure-agent-send-off-pool-240 20140911 174828,891 app.qa.commands ] Waiting for [rfz-view='plan']
INFO clojure-agent-send-off-pool-240 20140911 174831,587 app.qa.commands ] Waiting for [data-qa="plan-amount"]
calling #<client$post clj_http.client$post@73ec85bb> http://localhost:4723/wd/hub/session/170c4a4d-bae5-4c86-bf87-c02693cb1610/element with params {:body {"using":"css selector","value":"[data-qa=\"plan-save\"]"}, :content-type :json}
calling #<client$post clj_http.client$post@73ec85bb> http://localhost:4723/wd/hub/session/170c4a4d-bae5-4c86-bf87-c02693cb1610/touch/click with params {:body {"element":"0.3191381765063852-22"}, :content-type :json}
INFO clojure-agent-send-off-pool-240 20140911 174832,930 app.qa.commands ] Waiting for [rfz-view='overview']
calling #<client$post clj_http.client$post@73ec85bb> http://localhost:4723/wd/hub/session/170c4a4d-bae5-4c86-bf87-c02693cb1610/element with params {:body {"using":"css selector","value":"[data-qa=\"navbar-show-menu\"]"}, :content-type :json}
INFO clojure-agent-send-off-pool-240 20140911 174836,016 app.qa.tests.mobile-app ] Finished signup for qa+_mock58350bdd0fae4907@readyforzero.com!
calling #<client$post clj_http.client$post@73ec85bb> http://localhost:4723/wd/hub/session/170c4a4d-bae5-4c86-bf87-c02693cb1610/touch/click with params {:body {"element":"0.3191381765063852-24"}, :content-type :json}
INFO clojure-agent-send-off-pool-240 20140911 174838,628 app.qa.commands ] Waiting for [data-qa="menu-logout"]
calling #<client$post clj_http.client$post@73ec85bb> http://localhost:4723/wd/hub/session/170c4a4d-bae5-4c86-bf87-c02693cb1610/element with params {:body {"using":"css selector","value":"[data-qa=\"menu-logout\"]"}, :content-type :json}
calling #<client$post clj_http.client$post@73ec85bb> http://localhost:4723/wd/hub/session/170c4a4d-bae5-4c86-bf87-c02693cb1610/touch/click with params {:body {"element":"0.3191381765063852-25"}, :content-type :json}
INFO clojure-agent-send-off-pool-240 20140911 174841,979 app.qa.commands ] Waiting for [rfz-view='splash']
calling #<client$post clj_http.client$post@73ec85bb> http://localhost:4723/wd/hub/session/170c4a4d-bae5-4c86-bf87-c02693cb1610/element with params {:body {"using":"css selector","value":"[data-qa=\"splash-login\"]"}, :content-type :json}
calling #<client$post clj_http.client$post@73ec85bb> http://localhost:4723/wd/hub/session/170c4a4d-bae5-4c86-bf87-c02693cb1610/touch/click with params {:body {"element":"0.3191381765063852-27"}, :content-type :json}
INFO clojure-agent-send-off-pool-240 20140911 174843,835 app.qa.commands ] Waiting for [rfz-view='login']
INFO clojure-agent-send-off-pool-240 20140911 174854,151 app.qa.commands ] trying to click [data-qa="login-submit"]
INFO clojure-agent-send-off-pool-240 20140911 174855,094 app.qa.commands ] clicked [data-qa="login-submit"]
INFO clojure-agent-send-off-pool-240 20140911 174855,094 app.qa.commands ] Waiting for [rfz-view='overview']
INFO clojure-agent-send-off-pool-240 20140911 174902,101 app.qa.tests.mobile-app ] logged in with qa+_mock58350bdd0fae4907@readyforzero.com!
INFO clojure-agent-send-off-pool-240 20140911 174902,101 app.qa.internal.core ] done with tests
WARN clojure-agent-send-off-pool-240 20140911 174902,101 app.qa.internal.core ] Checking expectation: {:expectation 0, :result-str 0, :result 0, :expectation-str 0}
INFO clojure-agent-send-off-pool-240 20140911 174902,102 app.qa.internal.core ] calling finally
WARN clojure-agent-send-off-pool-240 20140911 174905,112 app.qa.internal.core ] Test mobile-signup: [105186ms] passed
INFO clojure-agent-send-off-pool-240 20140911 174905,112 app.qa.core ] FINISHED: {:init-time 1410450439925, :passed true, :expectation-results [{:message Expected 0, got 0, comparing 0 => 0., :expectation 0, :result-str 0, :result :passed, :expectation-str 0}], :test-id 170c4a4d-bae5-4c86-bf87-c02693cb1610, :end-time 1410450545111, :config {:test mobile-signup, :browserName , :platformName Android, :platformVersion 4.4.2, :deviceName , :appium true, :app /Users/doncarlos/Development/RFZ-dev/mobile/phonegap/platforms/android/ant-build/ReadyForZero-debug.apk}, :name mobile-signup, :start-time 1410450439925} {:browserName , :platformName Android, :platformVersion 4.4.2, :deviceName , :appium true, :app /Users/doncarlos/Development/RFZ-dev/mobile/phonegap/platforms/android/ant-build/ReadyForZero-debug.apk}
INFO clojure-agent-send-off-pool-240 20140911 174905,112 app.qa.core ] UPLOADING TO SAUCE FOR: {:init-time 1410450439925, :passed true, :expectation-results [{:message Expected 0, got 0, comparing 0 => 0., :expectation 0, :result-str 0, :result :passed, :expectation-str 0}], :test-id 170c4a4d-bae5-4c86-bf87-c02693cb1610, :end-time 1410450545111, :config {:test mobile-signup, :browserName , :platformName Android, :platformVersion 4.4.2, :deviceName , :appium true, :app /Users/doncarlos/Development/RFZ-dev/mobile/phonegap/platforms/android/ant-build/ReadyForZero-debug.apk}, :name mobile-signup, :start-time 1410450439925} {:browserName , :platformName Android, :platformVersion 4.4.2, :deviceName , :appium true, :app /Users/doncarlos/Development/RFZ-dev/mobile/phonegap/platforms/android/ant-build/ReadyForZero-debug.apk}
INFO clojure-agent-send-off-pool-240 20140911 174905,112 app.qa.internal.sauce ] Logging to sauce: http://rfz-karl:ca8306d6-618b-4c0a-b4e2-debbb702ba52@saucelabs.com/rest/v1/rfz-karl/jobs/170c4a4d-bae5-4c86-bf87-c02693cb1610 with passed: true
DONE WITH MOBILE TEST
{:init-time 1410450439925, :passed true, :expectation-results [{:message Expected 0, got 0, comparing 0 => 0., :expectation 0, :result-str 0, :result :passed, :expectation-str 0}], :test-id 170c4a4d-bae5-4c86-bf87-c02693cb1610, :end-time 1410450545111, :config {:test mobile-signup, :browserName , :platformName Android, :platformVersion 4.4.2, :deviceName , :appium true, :app /Users/doncarlos/Development/RFZ-dev/mobile/phonegap/platforms/android/ant-build/ReadyForZero-debug.apk}, :name mobile-signup, :start-time 1410450439925})
INFO clojure-agent-send-off-pool-240 20140911 174906,092 app.qa.core ] FINISHED UPLOADING TO SAUCE FOR: {:init-time 1410450439925, :passed true, :expectation-results [{:message Expected 0, got 0, comparing 0 => 0., :expectation 0, :result-str 0, :result :passed, :expectation-str 0}], :test-id 170c4a4d-bae5-4c86-bf87-c02693cb1610, :end-time 1410450545111, :config {:test mobile-signup, :browserName , :platformName Android, :platformVersion 4.4.2, :deviceName , :appium true, :app /Users/doncarlos/Development/RFZ-dev/mobile/phonegap/platforms/android/ant-build/ReadyForZero-debug.apk}, :name mobile-signup, :start-time 1410450439925} {:browserName , :platformName Android, :platformVersion 4.4.2, :deviceName , :appium true, :app /Users/doncarlos/Development/RFZ-dev/mobile/phonegap/platforms/android/ant-build/ReadyForZero-debug.apk}
WARN nREPL-worker-44 20140911 174906,095 app.templating ] Registering partials...
INFO nREPL-worker-44 20140911 174906,099 app.util.io ] get-files on server/templates/partials -> resource #<URL file:/Users/doncarlos/Development/RFZ-dev/debtapp/app/resources/server/templates/partials>
INFO nREPL-worker-44 20140911 174906,120 app.config ] hostname:
WARN nREPL-worker-44 20140911 174906,121 app.templating ] Rendering email with hostname:
INFO nREPL-worker-44 20140911 174906,134 app.config ] hostname:
WARN nREPL-worker-44 20140911 174906,135 app.templating ] No user-id set for email: internal/engineering/qa_results
WARN nREPL-worker-44 20140911 174906,135 app.templating ] Registering partials...
INFO nREPL-worker-44 20140911 174906,136 app.util.io ] get-files on server/templates/partials -> resource #<URL file:/Users/doncarlos/Development/RFZ-dev/debtapp/app/resources/server/templates/partials>
INFO nREPL-worker-44 20140911 174906,144 app.config ] hostname:
WARN nREPL-worker-44 20140911 174906,144 app.templating ] Rendering email with hostname:
WARN nREPL-worker-44 20140911 174906,145 app.templating ] Template internal/engineering/qa_results_text doesn't exist, returning nil.
INFO nREPL-worker-44 20140911 174906,145 app.models.email ] Sending email to karl@readyforzero.com from engineering@readyforzero.com , [ qa results ].
nil
app.qa.core=>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment