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 question:
I am wondering how to do the test data mapping based on the environment? For example, in your spec book-with-fixture-and-api-isolated-auth.spec.ts I would like to have userData in a folder data/qa/user-data and also data/staging/user-data and load the test data for users based on the environment.
and then in the test I just use testData.loginData.username or whatever I have in those data. Different envs can have different data.
But this way I am loosing the intellisens that you have in your example with userData.
Do you have recommendations on how to achieve/do this better?
The text was updated successfully, but these errors were encountered:
🐞 Describe the question:
I am wondering how to do the test data mapping based on the environment? For example, in your spec book-with-fixture-and-api-isolated-auth.spec.ts I would like to have userData in a folder data/qa/user-data and also data/staging/user-data and load the test data for users based on the environment.
I have something like this:
and then in the test I just use
testData.loginData.username
or whatever I have in those data. Different envs can have different data.But this way I am loosing the intellisens that you have in your example with userData.
Do you have recommendations on how to achieve/do this better?
The text was updated successfully, but these errors were encountered: