You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Aug 7, 2021. It is now read-only.
Copy file name to clipboardExpand all lines: CONTRIBUTING.md
+17-7
Original file line number
Diff line number
Diff line change
@@ -47,20 +47,30 @@ You are good to go! You're strongly encouraged to follow the official NativeScri
47
47
48
48
## Testing locally
49
49
50
-
There are three apps in the repository, located in the `/demo` directory.
51
-
1. Create a new NativeScript project with NativeScript CLI:
50
+
There are three apps in the repository, located in the `/demo` directory. After cloning the repository, you can run the automated tests for each of them with the following steps:
51
+
52
+
1. Navigate to one of the apps.
52
53
``` bash
53
-
tns create testapp # pass --ng/--tsc for Angular/TypeScript app
54
+
cd nativescript-dev-webpack/demo/AngularApp
54
55
```
55
56
56
-
2. Install your local copy of the plugin.
57
+
2. Install dependencies. This also installs your local copy of the nativescript-dev-webpack plugin.
3. Make sure to force-update the project's configuration files if it's already using Webpack.
62
+
3. Install appium globally.
63
+
``` bash
64
+
npm install -g appium
65
+
```
66
+
67
+
4. Create an emulator or connect a physical Android/iOS device.
68
+
69
+
5. Follow the instructions in the [nativescript-dev-appium](https://github.com/nativescript/nativescript-dev-appium#custom-appium-capabilities) plugin to add an appium capability for your device inside `./e2e/config/appium.capabilities.json`.
70
+
71
+
6. Run the automated tests. The value of the `runType` argument should match the name of the capability that you just added.
0 commit comments