Skip to content

Latest commit

 

History

History
28 lines (19 loc) · 1.37 KB

README.md

File metadata and controls

28 lines (19 loc) · 1.37 KB

Task 4

Except for unit tests you also have e2e tests for your application. Add them to CI whenever the app code is changed.

To run electron E2E tests in github actions you need to start virtual client with screen in Ubuntu. xvfb-run --auto-servernum --server-args="-screen 0 1280x960x24" -- npm run e2e

Definition of done

  • Whenever code is changed for desktop-app, e2e tests are run.
  • When any test fails, screenshots from the tests that failed, are saved as one zip archive with retention of 7 days
  • Optional: Url of the zip archive is displayed

Hints & help

Those hints will help you start

Here is an example solution for this task: