diff --git a/.gitignore b/.gitignore index b7cb775af..b6e561320 100644 --- a/.gitignore +++ b/.gitignore @@ -10,13 +10,10 @@ notes.md db*.sqlite3* dump -/cypress/videos -/cypress/screenshots - .DS_Store .excalidraw /scripts/output/* !/scripts/output/.gitkeep -/scripts/dicts/**/*.json \ No newline at end of file +/scripts/dicts/**/*.json diff --git a/README.md b/README.md index c9446086e..57e98c85b 100644 --- a/README.md +++ b/README.md @@ -13,11 +13,6 @@ There is a sequence of commands you need to run: 5. `npm run dev` to run the project in development mode. 6. Navigate to `http://localhost:5800/admin`. There press the seed button to fill the DB with test data. You can also impersonate any user (Sendou#0043 = admin). -And if you want to run the E2E tests: - -6. Make a copy of the `db.sqlite3` file created by migration and name it `db-cypress.sqlite3`. -7. `npm run dev:cypress` and `npm run cy:open` can be used to run the E2E tests. - ## Lohi TODO: instructions on how to develop Lohi locally @@ -64,8 +59,7 @@ sendou.ink/ │ ├── routes/ -- Routes see: https://remix.run/docs/en/v1/guides/routing │ ├── styles/ -- All .css files of the project for styling │ ├── utils/ -- Random helper functions used in many places -│ └── permissions.ts / -- What actions are allowed. Separated by frontend and backend as frontend has constraints based on what user sees. -├── cypress/ -- see: https://docs.cypress.io/guides/core-concepts/writing-and-organizing-tests#Folder-structure +│ └── permissions.ts / -- What actions are allowed. Separated by frontend and backend as frontend has constraints based on what user sees.writing-and-organizing-tests#Folder-structure ├── discord-bot/ -- Lohi Discord bot that works together with sendou.ink ├── migrations/ -- Database migrations ├── public/ -- Images, built assets etc. static files to be served as is diff --git a/app/components/BuildCard.tsx b/app/components/BuildCard.tsx index 310eca152..ded1d6a3e 100644 --- a/app/components/BuildCard.tsx +++ b/app/components/BuildCard.tsx @@ -67,7 +67,7 @@ export function BuildCard({ build, owner, canEdit = false }: BuildProps) { } = build; return ( -