DevExpress / testcafe-browser-provider-saucelabs

This is the Sauce Labs browser provider plugin for TestCafe.
https://devexpress.github.io/testcafe/
MIT License
32 stars 41 forks source link

Unable to set timeZone on TestCafe SauceLabs tests. #66

Closed haneyman closed 3 years ago

haneyman commented 3 years ago

We are using testcafe and set SAUCE_CONFIG_PATH to a json file containing:

{ "timeZone": "Los_Angeles" }

When we run the test on saucelabs it does not reflect that timezone, what could be wrong?

-Mark

wentwrong commented 3 years ago

Please try setting the SAUCE_CAPABILITIES_OVERRIDES_PATH environment variable to config.json. Content of this file should be something like this:

{
    "timeZone": "Los_Angeles"
}

After that, refer to the SauceLabs test result page on the Metadata tab. There you will see that timeZone is set to Los_Angeles, just as expected (take a look at my test run).