Comments (10)
Thank you, I tested and it works, my tests with iPhone Simulator are passing now 🙇♂️
from karma-sauce-launcher.
This is fixed in this release, can you check https://github.com/karma-runner/karma-sauce-launcher/releases/tag/v4.3.1
from karma-sauce-launcher.
@web-padawan I recommend to use W3C valid capabilities. The error message suggests that your capabilities are invalid.
from karma-sauce-launcher.
Thanks. I would appreciate an example of valid W3C capabilities for iPhone Simulators on SauceLabs.
So far I have tried the following combinations:
1. platformName
and platformVersion
'sl-ios-13': {
base: 'SauceLabs',
browserName: 'Safari',
platformName: 'iPhone X Simulator',
platformVersion: '13.0'
}
Result:
Error: Misconfigured -- Unsupported OS/browser/version/device combo: OS: 'iPhone X Simulator', Browser: 'safari', Version: 'latest', Device: 'unspecified'
2. platformName: 'iOS'
'sl-ios-13': {
base: 'SauceLabs',
browserName: 'Safari',
platformName: 'iOS',
platformVersion: '13.0'
}
Result:
There is no device that matches your criteria. DesiredCapabilities: {sauce:options={commandTimeout=600.0, customData={}, idleTimeout=600.0, maxDuration=5400.0, name=Lit Mixins Unit Tests - CI, public=public, recordScreenshots=false, recordVideo=false, tags=[], tunnelIdentifier=karma-sauce-1602527283}, browserName=Safari, platformName=iOS, platformVersion=13.0, browserVersion=latest, testobject_platform_name=iOS}
BTW, the docs here don't mention iOS Simulators: https://wiki.saucelabs.com/display/DOCS/W3C+Capabilities+Support
from karma-sauce-launcher.
Try this
{
browserName:'Safari',
deviceName:'iPhone X Simulator',
platformVersion:'13.0',
platformName:'iOS',
appiumVersion:'1.17.1',
deviceOrientation:'portrait',
}
This is also according to the platform configurator. W3C caps are not yet fully implemented for Sauce Emulators/Simulators
from karma-sauce-launcher.
Thanks, I have tried and got the same error:
Misconfigured -- Unsupported OS/browser/version/device combo: OS: 'iOS', Browser: 'safari', Version: 'latest', Device: 'unspecified'
One thing which confuses me is Device: 'unspecified'
part even though deviceName
is defined.
from karma-sauce-launcher.
@web-padawan can you provide a minimal reproducible example? I don't get any issues running these capabilities.
from karma-sauce-launcher.
Here is the example: https://github.com/vaadin/component-mixins/compare/karma-sauce-issue
Failing build for this config: https://travis-ci.org/github/vaadin/component-mixins/builds/735138095
from karma-sauce-launcher.
@web-padawan we have reported the issue to the internal teams at Sauce. In the meantime stay on v4.1.4
. I will keep you posted.
from karma-sauce-launcher.
Thank you for prompt feedback! 🙇
This issue is also relevant for @web/test-runner-saucelabs
which also uses W3C API: modernweb-dev/web#472 (comment)
from karma-sauce-launcher.
Related Issues (20)
- undefined SaucelabsReporter adapters causes single-run=false to fail HOT 1
- Error is thrown when trying to run the connector HOT 12
- Error when mixing browser launched on SauceLabs and others HOT 1
- Uncaught TypeError: Cannot read property 'deleteSession' of null HOT 2
- Internet Explorer times out with Karma 6.x HOT 3
- Error for Safari & Chrome 38 on karma 6.x HOT 14
- Pass custom command line flags HOT 5
- No test names are being set, `undefined` instead HOT 8
- Update webdriverio to v7 HOT 2
- failed serving request POST /wd/hub/session: Unauthorized HOT 2
- Unable to connect to Saucelabs
- Running examples fails to compile
- Sauce Connect v4.6.4 to be deprecated 31 Jan 2022 HOT 2
- Checking for the stored log never terminates if the network is down
- Test fails under Firefox GeckoDriver 0.31.0 HOT 4
- ERROR webdriver: unknown error: failed serving request POST /wd/hub/session: Unauthorized HOT 1
- Dependency updates?
- Appium 2 compatibility
- Error from SauceLabs after updating dependencies
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 karma-sauce-launcher.