Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

add saucelabs configuration #168

Closed
adrian-herscu opened this issue Jul 28, 2023 · 2 comments · Fixed by #169
Closed

add saucelabs configuration #168

adrian-herscu opened this issue Jul 28, 2023 · 2 comments · Fixed by #169
Assignees
Labels
enhancement New feature or request

Comments

@adrian-herscu
Copy link
Collaborator

adrian-herscu commented Jul 28, 2023

Current State

  1. SauceLabs credentials must be provided via commons.saucelabs.url in webdriver.properties file.
  2. Building on GitHub runs tests directly on configured Web browser (currently, local)

How to make it better

  1. SauceLabs credentials must be provided via GitHub Encrypted Secrets, then somehow, perhaps via OS environment variables, emebedded in required Java properties.
  2. Override existing profile, or define a new one, to make it run tests on SauceLabs
  3. While building, the tests should run on local Web browser as now, and on SauceLabs
  4. Finally, a link with anonymous access to SauceLabs' test results should be published in the generated JGiven Report for each Selenium session -- example: https://app.saucelabs.com/tests/54f911ee72654715a86a2b559e8111ac?auth=6ca46ff32f9334f681892400a7af9655
@adrian-herscu
Copy link
Collaborator Author

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.

@adrian-herscu adrian-herscu linked a pull request Jul 29, 2023 that will close this issue
@adrian-herscu
Copy link
Collaborator Author

adrian-herscu commented Jul 30, 2023

see #170

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant