vividus-framework / vividus

VIVIDUS is all in one test automation tool
https://docs.vividus.dev
Apache License 2.0
383 stars 85 forks source link

trim spaces in saucelabs.rest-url property #1027

Closed MrsMarta closed 4 years ago

MrsMarta commented 4 years ago

Need to process cases like"saucelabs.rest-url=https://eu-central-1.saucelabs.com/rest/v1 "to get explicit error. Now we get following error:


Error: unknown command "" for "sc"
2020-10-14 15:12:43,967 [ErrorGobbler] INFO  com.saucelabs.ci.sauceconnect.AbstractSauceTunnelManager - Error: unknown command "" for "sc"
Usage:
2020-10-14 15:12:43,968 [ErrorGobbler] INFO  com.saucelabs.ci.sauceconnect.AbstractSauceTunnelManager - Usage:
  sc [flags]
2020-10-14 15:12:43,968 [ErrorGobbler] INFO  com.saucelabs.ci.sauceconnect.AbstractSauceTunnelManager -   sc [flags]

2020-10-14 15:12:43,969 [ErrorGobbler] INFO  com.saucelabs.ci.sauceconnect.AbstractSauceTunnelManager - 
Flags:
2020-10-14 15:12:43,970 [ErrorGobbler] INFO  com.saucelabs.ci.sauceconnect.AbstractSauceTunnelManager - Flags:
  -k, --api-key string                Sauce Labs API Key.

Vividus version: 0.2.8 vividus-plugin-saucelabs: 0.2.8

valfirst commented 4 years ago

Fix in ci-sauce: https://github.com/saucelabs/ci-sauce/pull/74