* Start the server before Cypress starts running
* GitHub Actions: write sample patrons.json file
* Add Postgres
* Run npm prep commands
* Install Node and dependencies
* Add prettier check to CI
* Omit patrons.json from prettier
* Save Cypress output
* Save Cypress output
* Fix artifact path
* Try loading .json instead of .js, in case that helps
* new select for multiple modes
* add custom order generation
* remove log + better select position
* little optimization
* import fix
* add icons for modes in select
* pretty
* rename variable
* import replace
* arrow function
* render only if selected
* Update pages/maps.tsx
Co-authored-by: Kalle <38327916+Sendouc@users.noreply.github.com>
Co-authored-by: Kalle <38327916+Sendouc@users.noreply.github.com>
* Stop using npm run migrate:reset in tests
* Begin moving other existing fixtures to factories
* Update cypress/support/index.ts
Co-authored-by: Kalle <38327916+Sendouc@users.noreply.github.com>
* Clean up usage of _.sample
* Rename files
* Remove incomplete building of associations
* Add missing references to calendarEvent
* Remove inaccurate seeds
* Add explicit lodash devDependency
Co-authored-by: Kalle <38327916+Sendouc@users.noreply.github.com>
* Add step about requiring patrons.json file
* Update steps to get DB up and running
* Clarify Discord login setup instructions
* Clarify how to start/stop server for new developers
* Update README to remove unneeded .env.local var
Co-authored-by: Kalle <38327916+Sendouc@users.noreply.github.com>
* Add fishery for factory creation
* Refactor existing seed file
* Create a UserFactory to seed user data
* Make fishery a devDependency
* Prefer const over let
* Eliminate the dropAllData method
* Move factory files to prisma/factories
* Update UserFactory to return valid discordAvatar value