Right now I have a full suite of tests that run on Test that go through points A…Z
I now need to mirror these A…Z tests against our Test-Production server.
A majority of the feature/scenario tests only differ in that my Test suite uses ‘login_facility’ to access the appropriate sections, while my Test-Production will run ‘production_login_faclity’ like the below.
Capybara.app_host = 'https://website/authenticate’
fill_in ‘password’, with: 'password123’
What kind of approach can I take so I don’t duplicate my features, soley to preface them with production_login_facility ?