Skip to content

Commit 4fc4334

Browse files
Ashish.Kumar18Ashish.Kumar18
Ashish.Kumar18
authored and
Ashish.Kumar18
committed
MQE-2903: rapidClick doc added in actions.md
1 parent 58b0757 commit 4fc4334

File tree

1 file changed

+20
-1
lines changed

1 file changed

+20
-1
lines changed

docs/test/actions.md

Lines changed: 20 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -973,6 +973,25 @@ Attribute|Type|Use|Description
973973
<dragAndDrop selector1="#block1" selector2="#block2" x="50" y="50" stepKey="dragAndDrop"/>
974974
```
975975

976+
### rapidClick
977+
978+
See [rapidClick docs on codeception.com](http://codeception.com/docs/modules/WebDriver#rapidClick).
979+
980+
| Attribute | Type | Use | Description |
981+
|------------|--------|----------|-------------------------------------------------|
982+
| `selector` | string | optional | A selector for the HTML element to rapid click. |
983+
| `count` | string | required | Click count. |
984+
| `stepKey` | string | required | A unique identifier of the action. |
985+
| `before` | string | optional | `stepKey` of action that must be executed next. |
986+
| `after` | string | optional | `stepKey` of preceding action. |
987+
988+
#### Examples
989+
990+
```xml
991+
<!-- Rapid click the selected element as per given count number -->
992+
<rapidClick selector="#selector" count="50" stepKey="rapidClick"/>
993+
```
994+
976995
### executeJS
977996

978997
See [executeJS docs on codeception.com](http://codeception.com/docs/modules/WebDriver#executeJS).
@@ -1077,7 +1096,7 @@ This action can optionally contain one or more [requiredEntity](#requiredentity)
10771096
### getOTP
10781097

10791098
Generate a one-time password (OTP) based on a saved `secret` at path `magento/tfa/OTP_SHARED_SECRET` in a MFTF credential storage.
1080-
The one-time password (OTP) is returned and accessible through the stepkey.
1099+
The one-time password (OTP) is returned and accessible through the stepkey.
10811100

10821101
MFTF use TOTP from [Spomky-Labs/otphp](https://github.com/Spomky-Labs/otphp), if you want to learn more about this action.
10831102

0 commit comments

Comments
 (0)