Code Monkey home page Code Monkey logo

Comments (13)

wentwrong avatar wentwrong commented on August 29, 2024 1

@costag1982, no, the fix (#63) will not resolve the issue with macOS 11.00. It's presented in SauceLabs Platform Configurator, but the list of available browsers that TestCafe shows (by running 'testcafe -b saucelabs') doesn't include it currently. We need to look at it separately. I created an issue to track this: Support macOS Big Sur.

from testcafe-browser-provider-saucelabs.

Ogurecher avatar Ogurecher commented on August 29, 2024

Hello,

Thank you for your patience. We managed to reproduce the issue.
As for the error message, the message you shared is actually the response from saucelabs you were looking for.

from testcafe-browser-provider-saucelabs.

mciastek avatar mciastek commented on August 29, 2024

Hi @SebastianChece2389, I managed to reproduce your error. It looks like you used wrong platform name. Instead of macos catalina use macOS 10.15. Check it in platform configurator. Here's a similar configuration that maybe you're looking for:

{
  "browserName": "safari",
  "browserVersion": "latest",
  "platformName": "macOS 10.15",
  "sauce:options": {
    "screenResolution": "1600x1200",
  }
}

Oh, I noticed that it's related to this provider not supporting proper configuration options. Why #63 is not merged yet?

from testcafe-browser-provider-saucelabs.

Ogurecher avatar Ogurecher commented on August 29, 2024

@mciastek, Thank you for noticing this. #63 is not merged because tests for that pull request failed. We'll look into it.

from testcafe-browser-provider-saucelabs.

fash-dortadj-cko avatar fash-dortadj-cko commented on August 29, 2024

Hey @SebastianChece2389, did you manage to fix this issue? We're facing the exact problem as you described and none of the solutions I've tried seem to work so far. Other browsers seem to work fine apart Safari.

from testcafe-browser-provider-saucelabs.

fash-dortadj-cko avatar fash-dortadj-cko commented on August 29, 2024

I managed to resolve this by specifying a supported resolution in my run script as mentioned in the docs here:
like so:

env SAUCE_BUILD=\"Sauce Labs Build - $(date)\" SAUCE_SCREEN_RESOLUTION='1920x1440' SAUCE_API_HOST=eu-central-1.saucelabs.com node configs/saucelabs.configs.js

AND probably more importantly by testing all "available" saucelabs safari browsers and then realising that actually none of the Catalina ones are actually supported even though they're listed.

from testcafe-browser-provider-saucelabs.

arubtsov avatar arubtsov commented on August 29, 2024

@fash-dortadj-cko Thank you for sharing your workaround.

from testcafe-browser-provider-saucelabs.

costag1982 avatar costag1982 commented on August 29, 2024

Is this outstanding PR going to fix this issue?

#63

I really need to test on Catalina but it doesnt work for me also

from testcafe-browser-provider-saucelabs.

costag1982 avatar costag1982 commented on August 29, 2024

I have tried running these:

SAUCE_API_HOST=eu-central-1.saucelabs.com SAUCE_USERNAME=IWConsulting SAUCE_SCREEN_RESOLUTION=1920x1440 BROWSERS='saucelabs:Safari@latest:macOS Catalina' node index.mjs`

I get this back:

Error: [init({"tunnelIdentifier":1605088752819,"idleTimeout":1000,"browserName":"safari","version":"latest","platform":"macos catalina","screenResolution":"1920x1440"})] The environment you requested was unavailable.

I have also tried:

SAUCE_API_HOST=eu-central-1.saucelabs.com SAUCE_USERNAME=IWConsulting SAUCE_SCREEN_RESOLUTION=1920x1440 BROWSERS='saucelabs:Safari@latest:macOS 10.15' node index.mjs

and i get back this error:

Error: Unable to find the browser. "saucelabs:Safari@latest:macOS 10.15" is not a browser alias or path to an executable file.

from testcafe-browser-provider-saucelabs.

wentwrong avatar wentwrong commented on August 29, 2024

@costag1982, Yes, #63 is supposed to fix this problem, but it does not yet. I reproduced the error and tried to run tests on macOS 10.15 with different settings (browsers, screen resolutions, etc) as suggested above, but I wasn't able to resolve it - the same "The environment you requested was unavailable" error is thrown. We need more time to debug this issue.

from testcafe-browser-provider-saucelabs.

costag1982 avatar costag1982 commented on August 29, 2024

@wentwrong thanks, with Mac OS Big Sur available on saucelabs will resolving this issue also enable us to use latest Safari and OS that is supported in saucelabs?

Thanks

from testcafe-browser-provider-saucelabs.

danderbury avatar danderbury commented on August 29, 2024

Hi has anyone been able to run tests with catalina or BigSur?

from testcafe-browser-provider-saucelabs.

AndreyBelym avatar AndreyBelym commented on August 29, 2024

You can just omit the OS version part. In this case, Saucelabs will start the latest OS version automatically (right now it is Big Sur):

testcafe "saucelabs:safari" test.js

from testcafe-browser-provider-saucelabs.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.