Skip to content

Commit d8660d2

Browse files
removed wait steps from @qavajs/playwright (#84)
1 parent 8434b88 commit d8660d2

File tree

1 file changed

+0
-175
lines changed

1 file changed

+0
-175
lines changed

docs/StandaloneSolutions/playwright.md

-175
Original file line numberDiff line numberDiff line change
@@ -976,181 +976,6 @@ When I save bounding rect of 'Node' as 'boundingRect'
976976
Then I expect '$boundingRect.width' to equal '42'
977977
```
978978

979-
## Wait Steps
980-
981-
---
982-
### I wait until \{string} \{playwrightConditionWait} \{string}( )\{playwrightTimeout}
983-
984-
Wait for element condition
985-
986-
| param | type | description |
987-
|:----------:|:-----------------:|:-----------------------:|
988-
| alias | string | element |
989-
| validation | string | validation type |
990-
| timeout | number (optional) | timeout in milliseconds |
991-
992-
```gherkin
993-
When I wait until 'Header' to be visible
994-
When I wait until 'Loading' not to be present
995-
When I wait until 'Header' to be visible (timeout: 3000)
996-
```
997-
---
998-
### I wait until text of \{string} \{playwrightValueWait} \{string}( )\{playwrightTimeout}
999-
1000-
Wait for element text condition
1001-
1002-
| param | type | description |
1003-
|:-------:|:-----------------:|:-----------------------:|
1004-
| alias | string | element |
1005-
| wait | string | validation type |
1006-
| value | string | expected result |
1007-
| timeout | number (optional) | timeout in milliseconds |
1008-
1009-
```gherkin
1010-
When I wait until text of 'Header' to be equal 'Javascript'
1011-
When I wait until text of 'Header' not to be equal 'Python'
1012-
When I wait until text of 'Header' to be equal 'Javascript' (timeout: 3000)
1013-
```
1014-
---
1015-
### I wait until value of \{string} \{playwrightValueWait} \{string}( )\{playwrightTimeout}
1016-
1017-
Wait for element value condition
1018-
1019-
| param | type | description |
1020-
|:-------:|:-----------------:|:-----------------------:|
1021-
| alias | string | element |
1022-
| wait | string | validation type |
1023-
| value | string | expected result |
1024-
| timeout | number (optional) | timeout in milliseconds |
1025-
1026-
```gherkin
1027-
When I wait until value of 'Input' to be equal 'Javascript'
1028-
When I wait until value of 'Input' not to be equal 'Python'
1029-
When I wait until value of 'Input' to be equal 'Javascript' (timeout: 3000)
1030-
```
1031-
---
1032-
### I wait until number of elements in \{string} collection \{playwrightValueWait} \{string}( )\{playwrightTimeout}
1033-
1034-
Wait for collection length condition
1035-
1036-
| param | type | description |
1037-
|:-------:|:-----------------:|:-----------------------:|
1038-
| alias | string | collection |
1039-
| wait | string | validation type |
1040-
| value | string | expected result |
1041-
| timeout | number (optional) | timeout in milliseconds |
1042-
1043-
```gherkin
1044-
When I wait until number of elements in 'Search Results' collection to be equal '50'
1045-
When I wait until number of elements in 'Search Results' collection to be above '49'
1046-
When I wait until number of elements in 'Search Results' collection to be below '51'
1047-
When I wait until number of elements in 'Search Results' collection to be below '51' (timeout: 3000)
1048-
```
1049-
---
1050-
### I wait until \{string} property of \{string} \{playwrightValueWait} \{string}( )\{playwrightTimeout}
1051-
1052-
Wait for element property condition
1053-
1054-
| param | type | description |
1055-
|:--------:|:-----------------:|:-----------------------:|
1056-
| property | string | property |
1057-
| alias | string | element |
1058-
| wait | string | validation type |
1059-
| value | string | expected result |
1060-
| timeout | number (optional) | timeout in milliseconds |
1061-
1062-
```gherkin
1063-
When I wait until 'value' property of 'Search Input' to be equal 'Javascript'
1064-
When I wait until 'value' property of 'Search Input' to be equal 'Javascript' (timeout: 3000)
1065-
```
1066-
---
1067-
### I wait until \{string} attribute of \{string} \{playwrightValueWait} \{string}( )\{playwrightTimeout}
1068-
1069-
Wait for element property condition
1070-
1071-
| param | type | description |
1072-
|:---------:|:-----------------:|:-----------------------:|
1073-
| attribute | string | attribute |
1074-
| alias | string | element |
1075-
| wait | string | validation type |
1076-
| value | string | expected result |
1077-
| timeout | number (optional) | timeout in milliseconds |
1078-
1079-
```gherkin
1080-
When I wait until 'href' attribute of 'Home Link' to be equal '/javascript'
1081-
When I wait until 'href' attribute of 'Home Link' to be equal '/javascript' (timeout: 3000)
1082-
```
1083-
1084-
---
1085-
### I wait until current url \{playwrightValueWait} \{string}( )\{playwrightTimeout}
1086-
1087-
Wait for url condition
1088-
1089-
| param | type | description |
1090-
|:-------:|:-----------------:|:-----------------------:|
1091-
| wait | string | validation type |
1092-
| value | string | expected value to wait |
1093-
| timeout | number (optional) | timeout in milliseconds |
1094-
1095-
```gherkin
1096-
When I wait until current url to be equal 'https://qavajs.github.io/'
1097-
When I wait until current url not to contain 'cypress'
1098-
When I wait until current url to be equal 'https://qavajs.github.io/' (timeout: 3000)
1099-
```
1100-
1101-
---
1102-
### I wait until page title \{playwrightValueWait} \{string}( )\{playwrightTimeout}
1103-
1104-
Wait for title condition
1105-
1106-
| param | type | description |
1107-
|:-------:|:-----------------:|:-----------------------:|
1108-
| wait | string | validation type |
1109-
| value | string | expected value to wait |
1110-
| timeout | number (optional) | timeout in milliseconds |
1111-
1112-
```gherkin
1113-
When I wait until page title to be equal 'qavajs'
1114-
When I wait until page title not to contain 'cypress'
1115-
When I wait until page title to be equal 'qavajs' (timeout: 3000)
1116-
```
1117-
1118-
-------------------------
1119-
### I refresh page until \{string} \{playwrightConditionWait}( )\{wdioTimeout}
1120-
1121-
Refresh page until element matches condition
1122-
1123-
| param | type | description |
1124-
|:---------:|:-----------------:|:-----------------------:|
1125-
| alias | string | element alias |
1126-
| condition | string | condition to wait |
1127-
| timeout | number (optional) | timeout in milliseconds |
1128-
1129-
```gherkin
1130-
When I refresh page until 'Internal Server Error Box' to be visible
1131-
When I refresh page until 'Submit Button' to be enabled
1132-
When I refresh page until 'Place Order Button' to be clickable (timeout: 3000)
1133-
```
1134-
-------------------------
1135-
1136-
### I refresh page until text of \{string} \{playwrightValidation} \{string}( )\{playwrightTimeout}
1137-
1138-
Refresh page until element text matches condition
1139-
1140-
| param | type | description |
1141-
|:---------:|:-----------------:|:-----------------------:|
1142-
| alias | string | element alias |
1143-
| condition | string | condition to wait |
1144-
| expected | string | expected value |
1145-
| timeout | number (optional) | timeout in milliseconds |
1146-
1147-
```gherkin
1148-
When I refresh page until text of 'Order Status' to be equal 'Processing'
1149-
When I refresh page until text of 'Currency' not contain '$'
1150-
When I refresh page until text of 'My Salary' to match '/5\d{3,}/' (timeout: 3000)
1151-
```
1152-
-------------------------
1153-
1154979
## Execute Steps
1155980

1156981
---

0 commit comments

Comments
 (0)