SauceLabs config not working or documentation incorrect
muteor opened this issue · 0 comments
muteor commented
On the SauceLabs documentation page (http://datasift.github.io/storyplayer/devices/saucelabs.html) it shows the config required for using saucelabs is:
{
"environments": {
"defaults": {
"saucelabs": {
"username": "<saucelabs-username>",
"accesskey": "<saucelabs-accesskey>"
}
}
}
}
However doing this results in exception in DataSift\Stone\ObjectLib\BaseObject
for No such property: saucelabs on instance of class
.
Tracing it back the storyTeller object inits the device from the $staticConfig
and seems to make no attempt to merge in the saucelabs section in. As a workaround this does work:
"devices": {
"sl_ie9_win7": {
"saucelabs": {
"username": "<saucelabs-username>",
"accesskey": "<saucelabs-accesskey>"
}
}
}
But I am having to repeat the config per device this way.