Can this be done? I have a large test suite that tests both desktop and mobile versions of our website. Right now, in order to run the tests via mobile, we have to put this in the acceptance.suite.yml file:
phantomjs.page.settings.userAgent: 'Mozilla/5.0 (Linux; Android 4.4; Nexus 5 Build/_BuildID_) AppleWebKit/537.36 (KHTML, like Gecko) Version/4.0 Chrome/126.96.36.199 Mobile Safari/537.36'
To run the desktop tests, we must comment that line out of the acceptance suite.
Is there a way to automate this so it will either be used or not depending on the test?