sirixdb / sirix-web-frontend

A web front-end for SirixDB based on Nuxt.js/Vue.js, D3.js and Typescript
https://sirix.io
17 stars 20 forks source link

Setup some CI/CD tests #22

Open JohannesLichtenberger opened 5 years ago

JohannesLichtenberger commented 5 years ago

Have to read about how to test the frontend stuff... besides Unit Tests for some stuff.

tashachin commented 4 years ago

I recommend using a webdriver. Selenium is a good one, and it works well with Python if you import selenium-python. @mosheduminer is setting up a Python library if I'm not mistaken.

I don't know your guys' dev environs, but it's easy to simply import selenium in a text editor / Sublime/VS Code and go from there: https://selenium-python.readthedocs.io/

JohannesLichtenberger commented 4 years ago

I'm more of a Java/Kotlin engineer, but Python may be okay, too, for sure :-) thanks

tashachin commented 4 years ago

I found a step-by-step guide for setting up Selenium in Java (Selenium has a lot of support) here.

It would add a dependency, however, as you'd need to install gecko driver for driving through Firefox and adjust a few lines of code. Selenium comes out of the box using Chrome and plays nice with Opera. Hope this helps :)