blah | ||
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
// Lists of countries with ISO 3166 codes, presented in various formats. | |
// Last Updated: July 30, 2020 | |
// If you're using PHP, I suggest checking out: | |
// https://github.com/thephpleague/iso3166 | |
// or Laravel: https://github.com/squirephp/squire | |
// | |
// JS developers can check out: | |
// https://www.npmjs.com/package/iso3166-2-db | |
// |
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
import React, {PropTypes} from 'react'; | |
export const Tab = (props) => { | |
return ( | |
<li className="tab"> | |
<a className={`tab-link ${props.linkClassName} ${props.isActive ? 'active' : ''}`} | |
onClick={(event) => { | |
event.preventDefault(); | |
props.onClick(props.tabIndex); | |
}}> |
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
{ | |
"capabilities": | |
[ | |
{ | |
"deviceName": "iPhone 6 Plus", | |
"platformVersion": "12.4.4”, | |
"maxInstances": 1, | |
"platformName": "iOS", | |
"browserName": "Safari" | |
} |
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
[debug] [Appium] Appium successfully registered with the grid on http://192.168.1.1:4444 | |
[debug] [Appium] Grid registration error: Cannot find proxy with ID =http://0.0.0.0:4722 in the registry. | |
[debug] [Appium] Appium successfully registered with the grid on http://192.168.1.1:4444 | |
[debug] [Appium] Grid registration error: Cannot find proxy with ID =http://0.0.0.0:4722 in the registry. | |
[debug] [Appium] Appium successfully registered with the grid on http://192.168.1.1:4444 |
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
[Appium] Welcome to Appium v1.9.1 | |
[Appium] Appium REST http interface listener started on 0.0.0.0:4723 | |
[HTTP] --> GET /wd/hub/sessions | |
[HTTP] {} | |
[GENERIC] Calling AppiumDriver.getSessions() with args: [] | |
[GENERIC] Responding to client with driver.getSessions() result: [] | |
[HTTP] <-- GET /wd/hub/sessions 200 6 ms - 40 | |
[HTTP] | |
[HTTP] --> POST /wd/hub/session | |
[HTTP] {"desiredCapabilities":{"automationName":"XCuiTest","bundleId":"com.homage.carepro","deviceName":"iPhone","forceMjsonwp":true,"noReset":true,"platformName":"IOS","platformVersion":"12.1.2","udid":"UUID","xcodeOrgId":"XXXX","xcodeSigningId":"iPhone Developer","newCommandTimeout":0,"connectHardwareKeyboard":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
[Appium] Welcome to Appium v1.10.0 | |
[Appium] Appium REST http interface listener started on 0.0.0.0:4723 | |
2018-12-23 23:12:44.413 Appium[12331:199297] *** WARNING: Textured window <AtomNSWindow: 0x7fbd14e63420> is getting an implicitly transparent titlebar. This will break when linking against newer SDKs. Use NSWindow's -titlebarAppearsTransparent=YES instead. | |
[HTTP] --> GET /wd/hub/sessions | |
[HTTP] {} | |
[debug] [GENERIC] Calling AppiumDriver.getSessions() with args: [] | |
[debug] [GENERIC] Responding to client with driver.getSessions() result: [] | |
[HTTP] <-- GET /wd/hub/sessions 200 7 ms - 40 | |
[HTTP] | |
[23:12:57:0108] [info] Retrieving session for window with id: 2 |
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
The server is waiting for all connections to close | |
[Appium] Welcome to Appium v1.10.0 | |
[Appium] Appium REST http interface listener started on 0.0.0.0:4723 | |
[HTTP] --> GET /wd/hub/sessions | |
[HTTP] {} | |
[GENERIC] Calling AppiumDriver.getSessions() with args: [] | |
[GENERIC] Responding to client with driver.getSessions() result: [] | |
[HTTP] <-- GET /wd/hub/sessions 200 6 ms - 40 |
##Chai Expect
##Language Chains
- to
- be
- been
- is
- that
- and
- have
using mocha/chai/sinon for node.js unit-tests? check out my utility: mocha-stirrer to easily reuse test components and mock require dependencies