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

End to end tests (incl. flashing a real USB device) #3889

Open
ab77 opened this issue Nov 27, 2022 · 2 comments
Open

End to end tests (incl. flashing a real USB device) #3889

ab77 opened this issue Nov 27, 2022 · 2 comments

Comments

@ab77
Copy link
Contributor

ab77 commented Nov 27, 2022

Currently the Spectron framework (Selenium/WebDriver for Electron) only performs a basic test window visibility test:
https://github.com/balena-io/etcher/blob/master/tests/spectron/runner.spec.ts

This test adds very little confidence as to operability/functionality of a release. The framework is also deprecated.

We need to implement a reasonable e2e test for Etcher using a supported framework, which tests an actual user journey through the product (i.e. flashing a USB drive with an image). We can instrument a self-hosted GitHub actions runner for this with access to physical USB device(s).

@lurch
Copy link
Contributor

lurch commented Nov 27, 2022

I guess https://github.com/balena-io/autohat-board could also be used to automatically simulate inserting / removing a USB device from a computer? 🤔

@mcraa
Copy link
Contributor

mcraa commented Jan 2, 2023

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

No branches or pull requests

3 participants