celerity

Has anyone figured out a way to run the same cucumber scenario on multiple browsers/web drivers?

萝らか妹 提交于 2019-12-20 10:41:44
问题 I'm using cucumber + capybara for some web automation testing. I'd love to be able to wire up my own tag (something like @all_browsers before the scenario) and have it run against a list of web drivers I set (celerity, selenium on firefox, ie and chrome). I don't want to have to write the scenario 4 different times with 4 different tags out front. I've looked into trying to do this with a new driver I register via: Capybara.register_driver :all_browsers do |app| # What would even work in here