forked from codeceptjs/CodeceptJS
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Appium test fixes * debug failed appium tests * fixed appium tests * fixed appium tests * fixed appium tests * updated appium version * fixed failed appium tests - FINALLY * removed .only
- Loading branch information
1 parent
cf39eeb
commit f70b87e
Showing
3 changed files
with
72 additions
and
146 deletions.
There are no files selected for viewing
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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -206,7 +206,7 @@ Field is located by name, label, CSS, or XPath. | |
// by label | ||
I.fillField('Email', '[email protected]'); | ||
// by name | ||
I.fillField('password', '123456'); | ||
I.fillField('password', secret('123456')); | ||
// by CSS | ||
I.fillField('form#login input[name=username]', 'John'); | ||
// or by strict locator | ||
|
@@ -376,25 +376,7 @@ I.performswipe(100,200); | |
#### Parameters | ||
|
||
- `from` | ||
- `to` | ||
|
||
Appium: support Android and iOS | ||
|
||
### performTouchAction | ||
|
||
Perform a certain touch action on the screen such as swipeDown, swipeUp, swipeLeft, swipeRight. | ||
|
||
```js | ||
I.swipeDown('swipeDown'); // perform swipe down on the screen | ||
I.swipeDown('swipeUp'); // perform swipe up on the screen | ||
I.swipeDown('swipeLeft'); // perform swipe left on the screen | ||
I.swipeDown('swipeRight'); // perform swipe right on the screen | ||
``` | ||
|
||
#### Parameters | ||
|
||
- `action` | ||
- `percentage` (optional), from 0 - 1, 1 by defaultAppium: support Android and iOS | ||
- `to` Appium: support Android and iOS | ||
|
||
### pullFile | ||
|
||
|
@@ -704,6 +686,19 @@ I.sendDeviceKeyEvent(3); | |
|
||
- `keyValue` Device specific key valueAppium: support only Android | ||
|
||
### sendKey | ||
|
||
Send a sequence of key strokes to an element | ||
|
||
```js | ||
I.sendKey('~email of the customer', '1');; | ||
``` | ||
|
||
#### Parameters | ||
|
||
- `locator` element to send a sequence of key strokes | ||
- `keys` a sequence of key strokes to send to an element | ||
|
||
### setImmediateValue | ||
|
||
Set immediate value in 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
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