Skip to content

Instantly share code, notes, and snippets.

@pablopaul
pablopaul / deploy.rb
Last active February 5, 2019 19:19 — forked from cannikin/deploy.rb
Notify Sentry of a new release via Capistrano with Auth Token
# This task will notify Sentry via their API[1] that you have deployed
# a new release. It uses the release timestamp as the `version`
# (like 20151113182847) and the git ref as the optional `ref` value.
#
# This task requires several environment variables be set (or just
# hardcode the values in here if you like living on the edge):
#
# ENV['SENTRY_API_ENDPOINT'] : API endpoint, https://app.getsentry.com
# ENV['SENTRY_ORG'] : the organization for this app
# ENV['SENTRY_PROJECT'] : the project for this app
2019-07-30 08:09:33:814 - [HTTP] --> POST /wd/hub/session {"desiredCapabilities":{"platformName":"iOS","deviceName":"iPhone X","browserName":"safari","appium:automationName":"XCUITest","bstack:options":{"deviceName":"iPhone X","realMobile":true},"acceptSslCert":false,"detected_language":"webdriver/5.11.5","browser":"iphone","browserstack.useW3C":"true","real_mobile":"true","browser_name":"safari","device":"iphone","browserstack.use_w3c":"true","browserstack.debug":"false","browserstack.tunnelIdentifier":"","platform":"MAC","os_version":"","browserstack.appiumLogs":"true","version":"","mobile":{"browser":"mobile","version":"iPhone X-11.4"},"orig_os":"ios","64bit":false,"browserstack.video":"true","browserstack.video.disableWaterMark":"true","proxy_type":"node","realMobile":"true","udid":"10b4ddc2057adff028ec5a4eaa8e2fb6f7f331fb","appium_port":8080,"automationName":"XCUITest","safariInitialUrl":"http://mobile-internet-check.browserstack.com","webkitResponseTimeout":20000,"orientation":"PORTRAIT","deviceOrientat
npx wdio ./config/browserstack/wdio.ios.browser.conf.js
Execution of 1 spec files started at 2019-07-30T08:34:48.771Z
[0-0] RUNNING in safari - /tests/specs/browser.checkbox.spec.js
[0-0] Error in "undefined"
Error: Parameters were incorrect. We wanted {"required":["type","ms"]} and you sent ["implicit","pageLoad","script"]
[0-0] FAILED in safari - /tests/specs/browser.checkbox.spec.js
"spec" Reporter:
npx wdio ./config/browserstack/wdio.ios.browser.conf.js --log-level debug
Execution of 1 spec files started at 2019-07-30T08:44:59.090Z
2019-07-30T08:44:59.093Z DEBUG @wdio/utils:initialiseServices: initialise wdio service "appium"
2019-07-30T08:44:59.104Z INFO @wdio/cli:Launcher: Run onPrepare hook
2019-07-30T08:44:59.105Z DEBUG @wdio/appium-service: Will spawn Appium process: appium
2019-07-30T08:45:02.598Z ERROR @wdio/appium-service: Appium exited before timeout (exit code: 2)
[HTTP] Could not start REST http interface listener. The requested port may already be in use. Please make sure there is no other instance of this server running already.