Git Product home page Git Product logo

Comments (10)

web-padawan avatar web-padawan commented on August 16, 2024 4

Thank you, I tested and it works, my tests with iPhone Simulator are passing now 🙇‍♂️

from karma-sauce-launcher.

wswebcreation avatar wswebcreation commented on August 16, 2024 1

@web-padawan

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.

christian-bromann avatar christian-bromann commented on August 16, 2024

@web-padawan I recommend to use W3C valid capabilities. The error message suggests that your capabilities are invalid.

from karma-sauce-launcher.

web-padawan avatar web-padawan commented on August 16, 2024

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.

wswebcreation avatar wswebcreation commented on August 16, 2024

@web-padawan

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.

web-padawan avatar web-padawan commented on August 16, 2024

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.

christian-bromann avatar christian-bromann commented on August 16, 2024

@web-padawan can you provide a minimal reproducible example? I don't get any issues running these capabilities.

from karma-sauce-launcher.

web-padawan avatar web-padawan commented on August 16, 2024

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.

christian-bromann avatar christian-bromann commented on August 16, 2024

@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.

web-padawan avatar web-padawan commented on August 16, 2024

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)

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.