Skip to content

TypeScript code snippet – How can you run your test in different environments?

I use serenity.config file.
I add all the enviroments there and than I take it
by using configReader method. It does run in
default environment if I don't specify and environment

I could use also configuration.properties file aswell
but it is longer code than serenity.config file
See also  Python code snippet - How to install venv ?

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.