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

automatic and interactive creation of new automation starter projects #242

Open
adrian-herscu opened this issue Apr 21, 2024 · 6 comments
Open
Assignees
Labels
enhancement New feature or request

Comments

@adrian-herscu
Copy link
Collaborator

adrian-herscu commented Apr 21, 2024

Current State
Currenly, creating an automation project comprises several manual steps:

  1. running the qa-testing-archetype maven archetype as desacribed in https://qa-automation-starter.aherscu.dev/qa-testing-parent/qa-testing-archetype/index.html
  2. initiating a git repository for the generated project directory
  3. publishing it into a remote github repository

How to make it better
Provide a Create New Project somewhere on the landing page to run above steps while prompting the user for groupId, artifactId and version. The newly generated repository should initiate a preconfigured codespace environment with all project's required features for VSCode and for running the automation examples, e.g. Selenium, Appium, RabbitMQ, etc.

@adrian-herscu adrian-herscu added the enhancement New feature or request label Apr 21, 2024
@adrian-herscu adrian-herscu self-assigned this Apr 21, 2024
@adrian-herscu
Copy link
Collaborator Author

adrian-herscu commented Apr 29, 2024

Selenium tests cannot run locally on a Codespaces instance because it does not support installation of Googe Chrome
https://code.visualstudio.com/docs/remote/codespaces

Anyway, it would be useless, because developing such tests requires openning DevTools and experimenting with XPath expressions and seeing how a test runs, or doesn't, is also important.

Still, it is possible to run Selenium tests from Codespaces in remote mode, e.g. against a SauceLabs account, or have a Grid running on local machine exposed via TailScale (or some other VPN -- see https://docs.github.com/en/codespaces/developing-in-a-codespace/connecting-to-a-private-network)

@adrian-herscu
Copy link
Collaborator Author

@adrian-herscu
Copy link
Collaborator Author

Openning a Codespace in Jetbrains Gateway fails:
github/codespaces-jetbrains-feedback#118

@adrian-herscu
Copy link
Collaborator Author

For faster docker builds -- https://www.docker.com/products/build-cloud/

and apply for a license here: https://www.docker.com/community/open-source/application/

@adrian-herscu
Copy link
Collaborator Author

depends on #246

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

No branches or pull requests

1 participant