This is more of a question than anything, but has anyone ever tried to use the Saucelabs pre run capability? It's supposed to allow a specified script to be run on the Sauce VM before a test is run. The way I am attempting to use it is by using Saucelabs Temporary Storage where I have put my bat file.
I've tried setting this up on my own but so far it doesn't seem to work. I just want to make sure its possible to set the pre run capability with Nightwatch.
My Nightwatch.json:
"production_WIN7_Chrome": {
"test_workers": {"enabled" : true, "workers" : 10},
"launch_url": "",
"prerun" : "sauce-storage:sauceprerun.bat",
"desiredCapabilities": {
"browserName": "chrome",
"platform" : "WIN7",
"javascriptEnabled": true,
"acceptSslCerts": true
}
},
Link to pre run documentation: