Commit Graph

28 Commits

Author SHA1 Message Date
Kalle
3e6b5e6f9b Cypress 10 with fixed tests 2022-06-22 23:03:32 +03:00
Kalle
c4af9bfd95 Add test to adding new suggestion 2022-06-04 13:10:00 +03:00
Kalle
3d4f9af928 Delete comment test 2022-05-29 11:04:27 +03:00
Kalle
92db2f8976 Cypress test with new mock auth 2022-05-24 19:42:26 +03:00
Kalle
7d73a0478c Cypress with user page test 2022-05-17 19:50:05 +03:00
Kalle
185295d54e
User page initial with SQLite3 (#822)
* Clean away prisma migrations

* Way to migrate WIP

* SQLite3 seeding script initial

* Fetch tournament data in loader

* CheckinActions new loader data model

* Virtual banner text color columns

* Logged in user

* Count teams

* ownTeam

* Map pool tab fully working

* Teams tab

* Fix timestamp default

* Register page

* Manage team page

* Camel case checkedInTimestamp

* Clean slate

* Add .nvmrc

* Add favicon

* Package lock file version 2

* Update tsconfig

* Add Tailwind

* Add StrictMode

* Add background color

* Auth without DB

* Revert "Add Tailwind"

This reverts commit 204713c602.

* Auth with DB

* Switch back to tilde absolute import

* Import layout

* Camel case for database columns

* Move auth routes to folder

* User popover links working

* Import linters

* User page initial

* User edit page with country

* Script to delete db files before migration in dev

* Remove "youtubeName" column

* Correct avatar size on desktop

* Fix SubNav not spanning the whole page

* Remove duplicate files

* Update README
2022-05-16 17:52:54 +03:00
Kalle
695894b1de Fix Cypress tests 2022-04-15 19:29:21 +03:00
Kalle
da02de9625 Fix type errors 2022-03-24 17:10:10 +02:00
Kalle
c693fe349e Chat for looking/match pages Closes #753 2022-03-20 14:12:20 +02:00
Kalle
b169a5e72b Admin can delete match 2022-03-12 14:43:23 +02:00
Kalle (Sendou)
c8377f5a98 Change zod schemas location 2022-01-16 21:59:33 +02:00
Kalle (Sendou)
53bbe13c41 Fix more ESLint complaints 2022-01-06 11:06:13 +02:00
Kalle (Sendou)
1ea4ff72fd Fix ESLint complaints 2022-01-05 23:38:59 +02:00
Kalle (Sendou)
1847f02aba Manage roster E2E tests initial (not working) 2021-12-26 21:02:15 +02:00
Kalle (Sendou)
60e9e16bcd Seed via HTTP call 2021-11-30 23:33:21 +02:00
Kalle (Sendou)
163d72d2e4 Update seed not to use faker 2021-11-30 23:00:33 +02:00
Kalle (Sendou)
eb3701edda E2E test tweaks (still not working though) 2021-11-30 01:20:24 +02:00
Kalle (Sendou)
dae0ed137b Cypress test with auth initial 2021-11-29 22:07:48 +02:00
Kalle (Sendou)
3a89be47d5 Add navigation tests 2021-11-22 19:28:52 +02:00
Kalle (Sendou)
334e3b3840 Setup Cypress 2021-11-22 18:07:11 +02:00
Kalle (Sendou)
2ccbfdf4e6 Delete Cypress for now 2021-06-16 21:13:42 +03:00
Ryan Laughlin
15ff99bc9e
Start to fix tests + add more factories (#334)
* 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>
2021-04-01 23:32:19 +03:00
Ryan Laughlin
bf30c025f8
Use a factory to create seed data (#315)
* 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
2021-03-31 12:01:16 +03:00
Kalle
4d2908b9a8 can add suggestion comment + tests 2021-02-25 15:40:39 +02:00
Kalle
b26b0bca50 cypress mock login 2021-02-25 13:28:58 +02:00
Kalle
a30dcc394f cypress initial 2021-02-18 10:12:50 +02:00
Kalle (Sendou)
9d6f5731f9 remove unused 2021-01-30 12:38:46 +02:00
Kalle (Sendou)
160d5f0108 initial cypress tests 2020-10-17 20:45:02 +03:00