saucelabs / saucectl

A command line interface for the Sauce Labs platform.
Apache License 2.0
42 stars 16 forks source link

Testcafe: iOS simulators are not working #361

Closed wswebcreation closed 3 years ago

wswebcreation commented 3 years ago

Current behavior

Using SauceCTL + Testcafe + iOS sims fails, it starts a safari browser on OSX, see this execution

Desired behavior

Testcafe should run on iOS sims

Config to reproduce

apiVersion: v1alpha
kind: testcafe

# Sauce Labs specific information
sauce:
  region: eu-central-1 # or us-west-1
  concurrency: 10 # Controls how many suites are executed at the same time.
  metadata:
    name: TestCafe on iOS Simulators with SauceCTL
    tags:
      - testcafe
      - ios simulators
    build: "TestCafe: iOS Simulator test set - $DATE"

# Testcafe specific info
testcafe:
  version: 1.14.2
# Controls what files are available in the context of a test run (unless explicitly excluded by .sauceignore).
rootDir: ./

# Tests
suites:
  - name: "Testcafe - iOS Tests - Safari"
    browserName: "safari"
    src:
      # test files glob
      - "**/login.*"
    simulators:
      - name: iPhone 12 Simulator
        platformName: iOS
        platformVersions:
          - "14.3"
      - name: iPad mini (5th generation) Simulator
        platformName: iOS
        platformVersions:
          - "14.3"

# Controls what artifacts to fetch when the suite on Sauce Cloud has finished.
artifacts:
  download:
    directory: ./artifacts
    match:
      - '*'
    when: always

Versions

0.52.2

mattpyle commented 3 years ago

Internal Jira ticket: https://saucedev.atlassian.net/browse/DEVX-1080

mattpyle commented 3 years ago

This has now been resolved :) Thanks for raising it.