SauceLabs credentials must be provided via commons.saucelabs.url in webdriver.properties file.
Building on GitHub runs tests directly on configured Web browser (currently, local)
How to make it better
SauceLabs credentials must be provided via GitHub Encrypted Secrets, then somehow, perhaps via OS environment variables, emebedded in required Java properties.
Override existing profile, or define a new one, to make it run tests on SauceLabs
While building, the tests should run on local Web browser as now, and on SauceLabs
on-pull-request.yml -- generate-automation-project job runs the generated project which uses the local provider, hence will change the verify-for-jdk8 job to make it run on SauceLabs's Selenium.
Current State
commons.saucelabs.url
inwebdriver.properties
file.How to make it better