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 automated UI testing #33

Open
marisademeglio opened this issue Dec 8, 2022 · 1 comment
Open

Add automated UI testing #33

marisademeglio opened this issue Dec 8, 2022 · 1 comment
Labels

Comments

@marisademeglio
Copy link
Member

As an electron project, the Pipeline UI could incorporate selenium for automated UI tests.

@marisademeglio
Copy link
Member Author

I started working on this but ran into issues connecting Chromedriver to our electron UI. I think it has something to do with how we create the UI windows, because it works for a generic electron app.

I also had an idea and started experimenting with programmatically convert existing xprocspec tests to automated UI tests: a parser would fetch the xprocspec tests from the Pipeline repo and convert them into a series of jobs (what script, what inputs, and expected outputs) which then get executed in the UI itself. Then it would check and see if the correct output was generated.

I would like to pick back up with this at some point; having a good automated test suite will save us headaches in the future. For now I'm leaving this comment here for future reference. I will push my WIP branch at some point too.

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

No branches or pull requests

1 participant