Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cannot run tests on Saucelabs when configuring with Sierra or HighSierra #2513

Closed
amidongarrett opened this issue Jun 13, 2018 · 3 comments
Closed
Labels
STATE: Auto-locked An issue has been automatically locked by the Lock bot.

Comments

@amidongarrett
Copy link

amidongarrett commented Jun 13, 2018

Are you requesting a feature or reporting a bug?

Bug

What is the current behavior?

Cannot run test on Saucelabs tests with Sierra or HighSierra and any browser

What is the expected behavior?

Successfully start a test on Saucelabs with Sierra/High Sierra as the OS

How would you reproduce the current behavior (if this is a bug)?

When attempting to run the command:

testcafe "saucelabs:Chrome@57.0:macOS Sierra" test.js

I receive the error:

Error: [init({"name":"Testcafe tests","build":"123","tunnelIdentifier":1528924592581,"idleTimeout":1000,"browserName":"chrome","version":"57.0","platform":"macos sierra"})] The environment you requested was unavailable

When looking at the Saucelabs metadata of the failed test above, I see this:
screen shot 2018-06-13 at 2 27 37 pm

When creating this environment with manual tests the metadata shows this:
screen shot 2018-06-13 at 2 32 54 pm

It seems like all you need to change is the command from what was above to:

testcafe "saucelabs:Chrome@57.0:mac 10.12" test.js

and Saucelabs might be okay with it?

*Note: I attempted to run this command and received another error saying:
ERROR Unable to find the browser. "saucelabs:Chrome@57.0:mac 10.12" is not a browser alias or path to an executable file.

Sorry if this is a duplicate from testcafe-browser-provider-saucelabs, it doesn't look like anyone has been active in the repo for a few months and wanted to make sure it was seen 😃

Specify your

  • operating system: macOS High Sierra (10.13.4)
  • testcafe version: 0.20.3
  • node.js version: 10.4.0
@amidongarrett
Copy link
Author

Closed accidentally while trying to make another comment...

Sorry for all the edits/updates to this issue. I ran the test with multiple different setups to find out if it was the OS or the browser that was causing the issue. As result, when I was creating screenshots and pasting my errors, they did not align correctly.

@amidongarrett amidongarrett reopened this Jun 13, 2018
@miherlosev
Copy link
Collaborator

Sorry if this is a duplicate from testcafe-browser-provider-saucelabs, it doesn't look like anyone has been active in the repo for a few months and wanted to make sure it was seen

Yes, it's a duplicate of the DevExpress/testcafe-browser-provider-saucelabs#21.
I will close this issue.

@lock
Copy link

lock bot commented Mar 28, 2019

This thread has been automatically locked since it is closed and there has not been any recent activity. Please open a new issue for related bugs or feature requests. We recommend you ask TestCafe API, usage and configuration inquiries on StackOverflow.

@lock lock bot added the STATE: Auto-locked An issue has been automatically locked by the Lock bot. label Mar 28, 2019
@lock lock bot locked as resolved and limited conversation to collaborators Mar 28, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
STATE: Auto-locked An issue has been automatically locked by the Lock bot.
Projects
None yet
Development

No branches or pull requests

2 participants