mrbrianevans / social-media-export-analyser

Analyse GDPR exports of your data from big social media companies
https://social-media-export-analyser-mrybc.ondigitalocean.app/
MIT License
1 stars 0 forks source link

Setup functional tests for the frontend client #48

Closed mrbrianevans closed 2 years ago

mrbrianevans commented 2 years ago

Use playwrite to perform automated browser testing of the Svelte client

mrbrianevans commented 2 years ago

Browser testing is setup with playwright, and is run by travis ci on every commit.

Tests can be written in lib-testing/broswer-tests/ ending in .spec.ts.

Two example tests have been written which test the dark mode theme and the online/offline indicator.