hopperelec / DefinitionDash

https://definition-dash.vercel.app
Creative Commons Attribution Share Alike 4.0 International
1 stars 0 forks source link

Write end-to-end tests #4

Open hopperelec opened 3 months ago

hopperelec commented 3 months ago

I've avoided writing end-to-end tests because doing so would require some way for Playwright to automatically sign in and I wouldn't want to use an actual Google account for that. One way I could accomplish this would be to add an environment variable which disables the need to be signed in and allows the client to act as some sort of temporary or pseudo user. Of course, this would need to be disabled in production.