github.com/saucelabs/saucectl@v0.175.1/.sauce/xcuitest.yml (about)

     1  apiVersion: v1alpha
     2  kind: xcuitest
     3  sauce:
     4    region: us-west-1
     5    concurrency: 2
     6    retries: 2
     7    metadata:
     8      tags:
     9        - e2e
    10        - release team
    11        - other tag
    12      build: Release $CI_COMMIT_SHORT_SHA
    13  
    14  defaults:
    15    timeout: 5m
    16  
    17  xcuitest:
    18    app: ./tests/e2e/xcuitest/SauceLabs-Demo-App.XCUITest.ipa
    19    testApp: ./tests/e2e/xcuitest/SauceLabs-Demo-App-Runner.XCUITest.ipa
    20  
    21  suites:
    22    - name: saucy xcuitest - real
    23      testOptions:
    24        class:
    25          - MyDemoAppUITests.ProductListingPageTest
    26      devices:
    27        - name: "iPhone.*"
    28          options:
    29            carrierConnectivity: false
    30            deviceType: PHONE
    31            private: false
    32  
    33    - name: "saucy xcuitest - sims"
    34      timeout: 10m
    35      app: ./tests/e2e/xcuitest/SauceLabs-Demo-App.Simulator.XCUITest.zip
    36      testApp: ./tests/e2e/xcuitest/SauceLabs-Demo-App-Runner.Simulator.XCUITest.zip
    37      testOptions:
    38        class:
    39          - MyDemoAppUITests/ProductListingPageTest
    40      simulators:
    41        - name: "iPhone 11 Simulator"
    42          platformVersions:
    43            - "16.2"
    44  
    45  artifacts:
    46    download:
    47      when: always
    48      match:
    49        - junit.xml
    50        - xcuitest.log
    51      directory: ./artifacts/