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).
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).