-
Notifications
You must be signed in to change notification settings - Fork 21
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
1f563c0
commit ba2ad0c
Showing
12 changed files
with
318 additions
and
47 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
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
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
15 changes: 15 additions & 0 deletions
15
integration-test/test-pages/broker-protection/actions/click-multiple.json
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 |
---|---|---|
@@ -0,0 +1,15 @@ | ||
{ | ||
"state": { | ||
"action": { | ||
"actionType": "click", | ||
"id": "1", | ||
"elements": [ | ||
{ | ||
"type": "button", | ||
"selector": ".view-more", | ||
"multiple": true | ||
} | ||
] | ||
} | ||
} | ||
} |
52 changes: 52 additions & 0 deletions
52
integration-test/test-pages/broker-protection/actions/results-not-found-invalid.json
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 |
---|---|---|
@@ -0,0 +1,52 @@ | ||
{ | ||
"state": { | ||
"action": { | ||
"actionType": "extract", | ||
"selector": ".search-item-invalid", | ||
"noResultsSelector": ".none", | ||
"retry": { | ||
"environment": "web", | ||
"interval": { "ms": 1000 }, | ||
"maxAttempts": 1 | ||
}, | ||
"profile": { | ||
"name": { | ||
"selector": "h4" | ||
}, | ||
"alternativeNamesList": { | ||
"selector": ".//div[@class='col-sm-24 col-md-16 name']//li", | ||
"findElements": true | ||
}, | ||
"age": { | ||
"selector": ".age" | ||
}, | ||
"addressCityStateList": { | ||
"selector": ".//div[@class='col-sm-24 col-md-8 location']//li", | ||
"findElements": true | ||
}, | ||
"relativesList": { | ||
"selector": ".//div[@class='col-sm-24 col-md-8 relatives']//li", | ||
"beforeText": "," | ||
}, | ||
"profileUrl": { | ||
"selector": "a" | ||
} | ||
} | ||
}, | ||
"data": { | ||
"userProfile": { | ||
"firstName": "John", | ||
"lastName": "Smith", | ||
"age": "37", | ||
"addresses": [ | ||
{ | ||
"addressLine1": "123 Fake St", | ||
"city": "Chicago", | ||
"state": "IL", | ||
"zip": "60602" | ||
} | ||
] | ||
} | ||
} | ||
} | ||
} |
45 changes: 45 additions & 0 deletions
45
integration-test/test-pages/broker-protection/actions/results-not-found-valid.json
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 |
---|---|---|
@@ -0,0 +1,45 @@ | ||
{ | ||
"state": { | ||
"action": { | ||
"actionType": "extract", | ||
"id": "efa321f2-f214-411f-a87b-bc42feff7931", | ||
"selector": "[class^='ResultsTable__Record-sc']", | ||
"noResultsSelector": "[class^=ResultNotFound__NoResults]", | ||
"profile": { | ||
"name": { | ||
"selector": "[class^='ResultsTable__Name-sc']" | ||
}, | ||
"age": { | ||
"selector": "[class^='ResultsTable__Age-sc']" | ||
}, | ||
"addressCityState": { | ||
"selector": ".MuiGrid-item:nth-child(3) [class^='ResultsTable__AddressAndLocation-sc']", | ||
"findElements": true | ||
}, | ||
"relativesList": { | ||
"selector": ".MuiGrid-item:nth-child(4) [class^='ResultsTable__AddressAndLocation-sc']", | ||
"findElements": true | ||
}, | ||
"profileUrl": { | ||
"identifierType": "hash" | ||
} | ||
} | ||
}, | ||
"data": { | ||
"userProfile": { | ||
"firstName": "John", | ||
"lastName": "Smith", | ||
"age": "37", | ||
"addresses": [ | ||
{ | ||
"addressLine1": "123 Fake St", | ||
"city": "Chicago", | ||
"state": "IL", | ||
"zip": "60602" | ||
} | ||
] | ||
} | ||
} | ||
} | ||
} | ||
|
Oops, something went wrong.