Comments (13)
@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.
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.
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.
@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.
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.
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.
@fash-dortadj-cko Thank you for sharing your workaround.
from testcafe-browser-provider-saucelabs.
Is this outstanding PR going to fix this issue?
I really need to test on Catalina but it doesnt work for me also
from testcafe-browser-provider-saucelabs.
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.
@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.
@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.
Hi has anyone been able to run tests with catalina or BigSur?
from testcafe-browser-provider-saucelabs.
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)
- Cannot switch between landscape and portrait mode using saucelabs device emulator or simulator HOT 3
- Imported Role instances not working as intended. HOT 3
- npm package gives ENOENT error in Linux platform with testcafe/testcafe docker image HOT 1
- testcafe sauce-connect launcher parallel execution HOT 1
- Chrome Latest + Mac 10.15 is not available in browserlist HOT 4
- ERROR Unable to establish one or more of the specified browser connections. This can be caused by network issues or remote device failure. HOT 12
- Sporadic saucelabs failures Error: [eval("")] Error response status: 17 JavaScriptError HOT 4
- Unable to read the saucelabs username and access token which are created in environment variables section manually HOT 2
- Unable to set timeZone on TestCafe SauceLabs tests. HOT 1
- Support Mac 11 (Big Sur) HOT 5
- TestCafe to SauceLabs Test Ratio and Configuration File Questions HOT 1
- Error: Failed to reach the Sauce Labs API. HOT 3
- Allow consumers of this package to pass in overrides for Sauce Connect Proxy HOT 2
- New release? HOT 1
- Error: Could not start Sauce Connect. Exit code 3221225595 signal: null HOT 2
- Plugin is not returning Saucelabs test build link of all concurrent sessions to Jenkins pipeline job HOT 1
- No way to use secure javascript APIs when running in saucelabs HOT 6
- Latest valid Sauce Labs browser, simulator and emulator versions are listed as not available HOT 12
- Tunnel never closes and test never stops running HOT 7
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from testcafe-browser-provider-saucelabs.