Skip to content

Commit 39060d1

Browse files
committed
Completed README with iOS notes.
1 parent d76a636 commit 39060d1

File tree

1 file changed

+23
-1
lines changed

1 file changed

+23
-1
lines changed

Diff for: README.md

+23-1
Original file line numberDiff line numberDiff line change
@@ -3,13 +3,22 @@ This project uses Appium to test Vue UI components, and also serves as a source
33
component screenshots at [nativescript-vue.org](https://nativescript-vue.org/).
44

55
## System requirements
6+
67
* Node 7.6 or higher (for async function support).
78
* The [Appium](http://appium.io/) client. Just download and install the latest [from GitHub](https://github.com/appium/appium-desktop/releases/latest) or execute the following command:
89

910
```bash
1011
npm install -g appium
1112
```
1213

14+
### iOS requirements
15+
16+
* Carthage:
17+
18+
```bash
19+
brew install carthage
20+
````
21+
1322
## Running the tests locally
1423

1524
Start Appium, which is
@@ -21,7 +30,7 @@ Otherwise you'll receive an error `127.0.0.1:4723` can't be reached.
2130

2231
### Android
2332

24-
Edit the `appium.capabilities.json` config file, in the `android23`, with your device/emulators parameters, probably only the `avd` or `deviceName` parameters would be enough.
33+
Edit the `appium.capabilities.json` config file, in the `android23` section, with your device/emulators parameters, probably only the `avd` or `deviceName` parameters would be enough.
2534

2635
Start the tests:
2736

@@ -33,7 +42,20 @@ npm run android.screenshots
3342

3443
### iOS
3544

45+
Edit the `appium.capabilities.json` config file, in the `ios-simulator103iPhone6` section, with your device/emulators parameters.
46+
47+
Build the iOS app
48+
3649
```bash
3750
npm run ios.build
51+
```
52+
53+
Start `XCode` and open the `platforms/ios/nativescriptvueuitests.xcodeproj` file.
54+
55+
Run the app on the emulator. This is needed in order to have the app installed.
56+
57+
Run the tests:
58+
59+
```bash
3860
npm run ios.screenshots
3961
```

0 commit comments

Comments
 (0)