tidepool-org / uploader

An Electron app for uploading diabetes device data to Tidepool's backend
BSD 2-Clause "Simplified" License
119 stars 86 forks source link

feature: playwright e2e tests form electron application #1644

Open vojtech-cerveny opened 4 months ago

vojtech-cerveny commented 4 months ago

Same as #1643 but for in-browser-merged branch.

How to test: Add these variables (qa2 personal account) into .env

E2E_USER_EMAIL=
E2E_USER_PASSWORD=

It is draft, please let me know what do you think about my changes.

vojtech-cerveny commented 4 months ago

Currently I am trying to setup circleCI and I am not sure where can be a problem - it seems, that Electron doesn't have access to internet. But I tried to curl to google before running tests and it returns status code 200.

Check video from test. It stucks on this screen:

image

1f81c21831e5194fb3eadd406437e929.webm

CircleCI build