You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
When using a table to set the JSON body, faker values are not transformed.
To Reproduce
@Smoke@Json@GPath@ResponseMatchScenario: Test setting up JSON as table with generation (FT3)Given I am a JSON API consumer
And I am executing test "BSJ2"When I request GET "/mirror"And I set the JSON body from values
| users[0].id | 1 | | users[0].name | {{faker::name.firstName,en-US::n}} | | users[0].favorites | 1,2,3 | | users[0].active | true | | users[1].id | 2 | | users[1].name | Bob | | users[1].favorites | 4,7,9 | | users[1].active | false |Then I should get a status code of 200
And the response value of "users[0].name" should equal "{{cache::n}}"
In the above, users[0].name is still {{faker::name.firstName,en-US::n}}
Expected behavior
users[0].name should be replaced by a value generated from faker object
The text was updated successfully, but these errors were encountered:
Describe the bug
When using a table to set the JSON body, faker values are not transformed.
To Reproduce
In the above,
users[0].name
is still{{faker::name.firstName,en-US::n}}
Expected behavior
users[0].name should be replaced by a value generated from faker object
The text was updated successfully, but these errors were encountered: