- Added feature to config variable in site config.
- Re-arrange `config.yaml` fields as following example.
yaml
file config.yaml
site_config:
default: develop
develop:
urls:
web: http://dev.yourdomain.com
mobile: http://m-dev.yourdomain.com
variables:
var1: test
var2: 1234
production:
urls:
web: http://www.yourdomain.com
mobile: http://m.yourdomain.com
variables:
var1: test
var2: 5678
To use variables in feature steps, use syntax `${var_name}`, for example:
feature
When user enters 'hello ${var1} and ${var2}' to the [search_box]