- Make sure you are running ruby 3.1.2
- Download the right version of chromedriver to your local and move it to a path included in your system PATH environment variable (or add its path to $PATH)
- run
gem install bundler
- run
bundler install
Run bundle exec cucumber -p regression
to run the tests with the regression profile (check other profiles in config/cucumber.yml
)
Param | Options | Default |
---|---|---|
env | staging | production | staging |
browser | chrome | firefox | safari | edge | chrome |
platform | local | bs | local |
Note: If you want to run the tests against Browserstack you should get the following values from your browserstack account and run:
export BS_LOCAL_FOLDER_URL=<yourBSLocalFolderUrl>
export BS_ACCESS_KEY=<yourBSAccessKey>