Before running the features for the first time, add required dependencies
npm install --save-dev @cucumber/cucumber
npm install shelljs
npm install sleep
Configure AWS profiles in ~/.aws/config
, for example
[default]
region = eu-west-2
[profile mod-root]
mfa_serial = arn:aws:iam::123456789991:mfa/george-f-admin
credential_process = aws-vault exec mod-root --json --prompt=osascript
[profile sprinkler-development]
source_profile=mod-root
role_arn=arn:aws:iam::123456789992:role/ModernisationPlatformAccess
mfa_serial=arn:aws:iam::123456789991:mfa/george-f-admin
role_session_name=george-f-admin
Run features
./node_modules/.bin/cucumber-js