GUBookSociety / uofg-book-society-website

A website created with Angular for the Glasgow University Book Society. (IN DEVELOPMENT)
1 stars 0 forks source link

Look into changing Angular environment for e2e Firebase testing #41

Closed liamlau closed 4 years ago

liamlau commented 4 years ago

An idea: instead of using the production database for e2e testing (which uses up our reads, writes and authentications), why not create a different, strictly test database?

From what I can see, it's possible to change the configuration using Angular environments, but I'm not too sure what this is yet. So, the second database would have the same structure as the real one, but we don't need to worry about testing too much.