Skip to content

Commit 26d4f11

Browse files
Alexander VakrilovSvetoslavTsenov
Alexander Vakrilov
authored andcommitted
docs: fix typos (#221)
1 parent b2b75f5 commit 26d4f11

File tree

3 files changed

+16
-16
lines changed

3 files changed

+16
-16
lines changed

CHANGELOG.md

+8-8
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66

77
* args ([#163](https://github.com/NativeScript/nativescript-dev-appium/issues/163)) ([db33521](https://github.com/NativeScript/nativescript-dev-appium/commit/db33521))
88
* find element by automation name ([#206](https://github.com/NativeScript/nativescript-dev-appium/issues/206)) ([df9e6ed](https://github.com/NativeScript/nativescript-dev-appium/commit/df9e6ed))
9-
* skip propmting on post install when the console is not interactive ([1042328](https://github.com/NativeScript/nativescript-dev-appium/commit/1042328))
9+
* skip prompting on post install when the console is not interactive ([1042328](https://github.com/NativeScript/nativescript-dev-appium/commit/1042328))
1010
* **uielement:** isSelected and isChecked ([#203](https://github.com/NativeScript/nativescript-dev-appium/issues/203)) ([4e3e290](https://github.com/NativeScript/nativescript-dev-appium/commit/4e3e290))
1111
* check if storage is 'undefined' ([#99](https://github.com/NativeScript/nativescript-dev-appium/issues/99)) ([e2ca7cf](https://github.com/NativeScript/nativescript-dev-appium/commit/e2ca7cf))
1212

@@ -93,11 +93,11 @@ $ npm run e2e android or ios
9393
# [4.0.1]() (2018-07-20)
9494

9595
### Features
96-
* **UIElement:** intorduce wd property
97-
* **AppiumDriver:** intorduce touchAction()
98-
* **ElementHelper:** intorduce getXPathByTextAtributes() - returns element/s specific type or '//*' that meets all atrbutes for ios ["label", "value", "hint"] and for android ["content-desc", "resource-id", "text"]
96+
* **UIElement:** introduce wd property
97+
* **AppiumDriver:** introduce touchAction()
98+
* **ElementHelper:** introduce getXPathByTextAtributes() - returns element/s specific type or '//*' that meets all attributes for ios ["label", "value", "hint"] and for android ["content-desc", "resource-id", "text"]
9999
* --attachToDebug option requires only --port option
100-
* --sessionId options requires only --port oprtion
100+
* --sessionId options requires only --port option
101101

102102

103103
<a name="4.0.0"></a>
@@ -141,7 +141,7 @@ For all api levels lower than api23 default automator is still 'Appium'
141141
142142
### Bug Fixes
143143
144-
* **device-controller:** unintsall app ([#114](https://github.com/NativeScript/nativescript-dev-appium/issues/114)) ([53e615d](https://github.com/NativeScript/nativescript-dev-appium/commit/53e615d))
144+
* **device-controller:** uninstall app ([#114](https://github.com/NativeScript/nativescript-dev-appium/issues/114)) ([53e615d](https://github.com/NativeScript/nativescript-dev-appium/commit/53e615d))
145145
* **package.json:** Move TypeScript types dependencies to devDependencies ([#101](https://github.com/NativeScript/nativescript-dev-appium/issues/101)) ([5cc8dd3](https://github.com/NativeScript/nativescript-dev-appium/commit/5cc8dd3))
146146
* **postinstall:** install [@types](https://github.com/types) to project's devDependencies ([#103](https://github.com/NativeScript/nativescript-dev-appium/issues/103)) ([637d153](https://github.com/NativeScript/nativescript-dev-appium/commit/637d153))
147147
* resolve application path. Already compatible with [email protected] ([#97](https://github.com/NativeScript/nativescript-dev-appium/issues/97)) ([51446b1](https://github.com/NativeScript/nativescript-dev-appium/commit/51446b1))
@@ -154,7 +154,7 @@ For all api levels lower than api23 default automator is still 'Appium'
154154
* **AppiumDriver:** add findElementByAccessibilityIdIfExists ([#110](https://github.com/NativeScript/nativescript-dev-appium/issues/110)) ([38ec681](https://github.com/NativeScript/nativescript-dev-appium/commit/38ec681))
155155
* **AppiumDriver:** tap on point
156156
* resolve automatically application package(android), activity(android) and bundleId(iOS) ([#109](https://github.com/NativeScript/nativescript-dev-appium/issues/109)) ([7497cd0](https://github.com/NativeScript/nativescript-dev-appium/commit/7497cd0))
157-
* devMode option to skip instalation of application
157+
* devMode option to skip installation of application
158158
* findElementByAccessibilityIdIfExists
159159
* expose get reportsPath/ storageByDeviceName/ storageByPlatform
160160
* **android:** resolve automatically application start activity.
@@ -255,7 +255,7 @@ After:
255255
256256
# 0.1.0 (2016-12-20)
257257
- Introduce `--verbose` option for troubleshooting.
258-
- Simplify `package.json` scripts. Upgraders should delete any older `nativescript-dev-appium` scripts from the `package.json` file before installing 0.1.x.
258+
- Simplify `package.json` scripts. Upgrades should delete any older `nativescript-dev-appium` scripts from the `package.json` file before installing 0.1.x.
259259
260260
# 0.0.19 (2016-08-02)
261261

README.md

+7-7
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ A package to help with writing and executing e2e [Appium](http://appium.io) test
3838
1. Image comparison of: screen, rectangle; block out areas to ignore
3939
1. [WIP] Ability to verify animations/transitions through video/images; please refer to [frame-comparer](https://github.com/SvetoslavTsenov/frame-comparer)
4040

41-
## Requirеments
41+
## Requirements
4242

4343
The `nativescript-dev-appium` plugin requires:
4444
* latest version of [Appium](https://github.com/appium/appium/releases)
@@ -218,7 +218,7 @@ my-plugin
218218
```
219219
Thus, the same configuration can be used by both apps without duplication of files.
220220

221-
If you wish to use another location of the capapabilities file instead default ones, you can specify it with `--appiumCapsLocation` option. Remember that the path provided has to be relative to the root directory.
221+
If you wish to use another location of the capabilities file instead default ones, you can specify it with `--appiumCapsLocation` option. Remember that the path provided has to be relative to the root directory.
222222

223223
Notice that once custom capabilities are provided you will be able to pick any of them using the `--runType` option (e.g. `--runType android25`). See sample content of `appium.capabilities.json` file below. For more details regarding the Appium Capabilities read [Appium documentation about Desired Capabilities](https://appium.io/docs/en/writing-running-appium/caps/):
224224

@@ -257,22 +257,22 @@ As you can see, the `app` property can be left an empty string which will force
257257

258258
**It is important to build your app in advance as explained in [Usage](#usage) section, because the runner expects to provide app package to it or such to exists in the search location.**
259259

260-
**For faster testsing when working on an app with livesync it would be better to use --devMode option or start a new session using --startSession option and run tests using --attachToDebug option and specify appium --port. Or simply start session with appium desktop application**
260+
**For faster testing when working on an app with livesync it would be better to use --devMode option or start a new session using --startSession option and run tests using --attachToDebug option and specify appium --port. Or simply start session with appium desktop application**
261261

262262
## Options
263263

264264
|Option| Description | Value |
265265
|---|---|---|
266266
|runType| Select the capabilities from your config file `appium.capabilities.json`| Consider using `android`, `device`, `sim` strings as part of your `runType` option if you haven't provided `app` capability. Thus, the runner will look for app package in the right location for the current run. <br/> e.g. --runType ios-device10iPhone6|
267267
|appPath| Provide location of the app package to be tested. This will overwrite all provided capabilities for app| Possible values are:<br/> - app build package name (in case `--sauceLab` option is set it will prepend `sauce-storage:` in front of the app name so app has to be [uploaded to Sauce Labs](https://wiki.saucelabs.com/display/DOCS/Uploading+Mobile+Applications+to+Sauce+Storage+for+Testing) before execution starts)<br/> - path e.g. `platforms/android/build/outputs/apk/demo.apk`.<br/> Example: --appPath demo-debug.apk|
268-
| devMode | `devMode` capabilities. Skipping application instalation and will automatically reuse device. | e.g. --devMode |
268+
| devMode | `devMode` capabilities. Skipping application installation and will automatically reuse device. | e.g. --devMode |
269269
|sauceLab| Enable tests execution in [Sauce Labs](https://saucelabs.com/). As a prerequisite you will have to define `SAUCE_USER` and `SAUCE_KEY` as [environment variable](https://wiki.saucelabs.com/display/DOCS/Best+Practice%3A+Use+Environment+Variables+for+Authentication+Credentials)| e.g. --sauceLab|
270270
|appiumCapsLocation| Change the location where `appium.capabilities.json` config file can be. It should be relative to the root directory | e.g. --appiumCapsLocation /e2e-tests|
271271
|port| Appium server port|
272272
|storage| Specify remote image storage |
273273
|ignoreDeviceController| Setting this option you will use default appium device controller which is recommended when tests are executed on cloud based solutions |
274-
|sessionId| In oreder to attach to already started session|Option --port is mendatory in this case. It will automatically set --devMode to true. Provides ability nativescript-dev-appium to be used with [appium desktop client](https://github.com/appium/appium-desktop/releases)|
275-
|attachToDebug| Same as sessionId but no need to porvide session id.|Option --port is mendatory in this case. It will automatically resolve --sessionId. Provides ability nativescript-dev-appium to be used with [appium desktop client](https://github.com/appium/appium-desktop/releases)|
274+
|sessionId| In order to attach to already started session|Option --port is mandatory in this case. It will automatically set --devMode to true. Provides ability nativescript-dev-appium to be used with [appium desktop client](https://github.com/appium/appium-desktop/releases)|
275+
|attachToDebug| Same as sessionId but no need to provide session id.|Option --port is mandatory in this case. It will automatically resolve --sessionId. Provides ability nativescript-dev-appium to be used with [appium desktop client](https://github.com/appium/appium-desktop/releases)|
276276
|startSession|Start new appium server and initialize appium driver.|
277277
|cleanApp| Remove application from device on server quit.|
278278

@@ -322,7 +322,7 @@ $ npm run e2e -- --runType android25 --verbose
322322

323323
1. Missing installed appium
324324
2. Misleading appPath or capabilities location. Please make sure that the path to the app or capabilities location is correct.
325-
3. Misleading detials for device specified in appium config
325+
3. Misleading details for device specified in appium config
326326

327327
## Contribute
328328
We love PRs! Check out the [contributing guidelines](CONTRIBUTING.md). If you want to contribute, but you are not sure where to start - look for [issues labeled `help wanted`](https://github.com/NativeScript/nativescript-dev-appium/issues?q=is%3Aopen+is%3Aissue+label%3A%22help+wanted%22).

postinstall.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -233,7 +233,7 @@ const run = async () => {
233233

234234
const skipPostInstallOnPluginRoot = basename(appRootPath) === "nativescript-dev-appium"
235235
if ((!hasSetProjectTypeAndTestingFrameworkAsEnvSet && isDevAppiumAlreadyInstalled) || skipPostInstallOnPluginRoot) {
236-
console.log("Skip instalation!!!!")
236+
console.log("Skip installation!!!!")
237237
return false;
238238
}
239239

0 commit comments

Comments
 (0)