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鈥檒l occasionally send you account related emails.

Already on GitHub? Sign in to your account

[馃摉 Docs]: Add Gitlab CI example #13

Open
thomascaillier opened this issue Mar 12, 2024 · 1 comment
Open

[馃摉 Docs]: Add Gitlab CI example #13

thomascaillier opened this issue Mar 12, 2024 · 1 comment

Comments

@thomascaillier
Copy link

Hello,

Since the code tested for component testing is served through local server (ViteJS in most cases), the pipeline is more tricky than other cases : we can't use a deployed Selenium Grid, if we want to use a Gitlab service there has to be a two-way network access between service and job... (i'm actually stuck in how i can do it)

So i thought it could be very useful to have a documentation and/or an example of how running component tests in Gitlab CI, what do you think ?

@christian-bromann
Copy link
Member

@thomascaillier the problem of component testing is independent from its location. Component tests are in a sense like unit tests and it doesn't matter where you run them, they should work fine locally or in CI. The same applies here. You should be able to run component tests with WebdriverIO in Gitlab since WebdriverIO uses Vite to load the assets wherever the test is executed.

If you have any concrete issues running component tests on Gitlab please provide more information.

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

No branches or pull requests

2 participants