Share store service for environment data, which is different for each specs file #14180
-
Hello :) Is it okey to use share store service and set the environment specific data for each tests (meaning I will have 200+ key/value records) and in the before hook for the specific test, retrieving the needed record by the key ? Thanks in advance :) |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 2 replies
-
@mihaela96 yes, you can use the |
Beta Was this translation helpful? Give feedback.
@mihaela96 yes, you can use the
@wdio/shared-store-service
to set the user input as part of theonPrepare
hook and read from the values through thebefore
hook. Let me know if you have any further questions.