Skip to content
This repository has been archived by the owner on Nov 28, 2023. It is now read-only.

SauceLabs config not working or documentation incorrect #85

Open
muteor opened this issue Feb 7, 2014 · 0 comments
Open

SauceLabs config not working or documentation incorrect #85

muteor opened this issue Feb 7, 2014 · 0 comments
Labels
Milestone

Comments

@muteor
Copy link
Contributor

muteor commented Feb 7, 2014

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.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

No branches or pull requests

2 participants