https://cypress.io logo
How to read json data in feature files
# i-need-help
r
Hi there I'm trying to read the user credentials from a json file in my feature file. JSON "Scenario: Success Sign In": { "email": "testuser@test.com", "password": "Test123" }, *Feature File * Background: Given A user is in the signin page Scenario: Success Sign in When A user enters the email "testuser@test.com", the password "Test123" and clicks on the signin button Then the user will signin successfully and the url will contain the home subdirectory Need help calling the email and password on the feature file
e