This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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: |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Add the plugin to the CodeceptJS config | |
... | |
plugins: { | |
logPageSource: { | |
require: "./logPageSource", | |
enabled: true | |
} | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* | |
* Step 1 | |
*/ | |
npm install --save-dev jsdom | |
/* | |
* Step 2 (http://airbnb.io/enzyme/docs/guides/jsdom.html) | |
* | |
* test-browser-env.js |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# 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 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
sloc src/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
sudo npm install -g sloc |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
unsubscribe(); | |
// Nothing is logged | |
store.dispatch(insertCharacter('z')); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Logs 'x' | |
store.dispatch(insertCharacter('x')); | |
// Logs 'xy' | |
store.dispatch(insertCharacter('y')); | |
// `removeCharacter` is an action creator wrapping the `BACKSPACE` action | |
// Logs 'x' | |
store.dispatch(removeCharacter()); | |
// Logs '' | |
store.dispatch(removeCharacter()); |
NewerOlder