• Jérome Perrin's avatar
    software/jstestnode: unify access to selenium server · dc50c648
    Jérome Perrin authored
    This is a backward incompatible parameter change.
    
    for example to run on saucelabs, instead of:
      {
        "target": "iOS",
        "target-version": "11.3",
        "target-device": "iPhone Simulator",
        "target-browser": "Safari",
        "appium-server-auth": "username:auth-token",
        "test-suite" : "renderjs",
        "remote-access-url": "https://softinst1234.host.vifib.net"
      }
    we now use:
      {
        "target": "selenium-server",
        "desired-capabilities": {
          "platformName": "iOS",
          "browserName": "Safari",
          "platformVersion": "11.3",
          "deviceName": "iPhone Simulator"
        },
        "server-url": "https://username:auth-token@ondemand.saucelabs.com/wd/hub",
        "test-suite": "renderjs",
        "remote-access-url": "https://softinst106116.host.vifib.net"
      }
    
    To run locally empty parameters are still OK.
    dc50c648
software.cfg 3.21 KB