Skip to content

Commit

Permalink
chore: remove other cypress references
Browse files Browse the repository at this point in the history
  • Loading branch information
jackbravo committed May 1, 2024
1 parent 2c2402c commit da56615
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 25 deletions.
8 changes: 0 additions & 8 deletions .eslintrc.js
Original file line number Diff line number Diff line change
Expand Up @@ -118,14 +118,6 @@ module.exports = {
},
},

// Cypress
{
files: ["cypress/**/*.ts"],
plugins: ["cypress"],
extends: ["plugin:cypress/recommended", "prettier"],
rules: { "@typescript-eslint/no-namespace": "off" },
},

// Node
{
files: [".eslintrc.js", "mocks/**/*.js"],
Expand Down
16 changes: 3 additions & 13 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,6 @@ coverage
/public/build
.env
Credentials.json
/cypress/screenshots
/cypress/videos
/prisma/data.db
/prisma/data.db-journal

Expand All @@ -15,16 +13,8 @@ Credentials.json
**/.DS_Store

# Playwright
/test-results/
/playwright-report/
/blob-report/
/playwright/.cache/
/test-results/
/playwright-report/
/blob-report/
/playwright/test-results/
/playwirght/playwright-report/
/playwright/blob-report/
/playwright/.cache/
/playwright/.auth
/test-results/
/playwright-report/
/blob-report/
/playwright/.cache/
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ Based on the [The Remix Indie Stack](https://remix.run/stacks).
- [GitHub Actions](https://github.com/features/actions) for deploy on merge to production and staging environments
- Auth0 Authentication with [cookie-based sessions](https://remix.run/docs/en/v1/api/remix#createcookiesessionstorage)
- Database ORM with [Prisma](https://prisma.io)
- End-to-end testing with [Cypress](https://cypress.io)
- End-to-end testing with [Playwright](https://playwright.dev)
- Local third party request mocking with [MSW](https://mswjs.io)
- Unit testing with [Vitest](https://vitest.dev) and [Testing Library](https://testing-library.com)
- Code formatting with [Prettier](https://prettier.io)
Expand Down
2 changes: 0 additions & 2 deletions tasks/create-user.ts
Original file line number Diff line number Diff line change
Expand Up @@ -46,8 +46,6 @@ async function createAndLogin(email: string, role = "USER") {
throw new Error("Cookie missing from createUserSession response");
}
const parsedCookie = parse(cookieValue);
// we log it like this so our cypress command can parse it out and set it as
// the cookie value.
console.log(parsedCookie.__session);
}

Expand Down
2 changes: 1 addition & 1 deletion tsconfig.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"exclude": ["./cypress", "./cypress.config.ts", "./sst.config.ts"],
"exclude": ["./sst.config.ts"],
"include": ["remix.env.d.ts", "**/*.ts", "**/*.tsx"],
"compilerOptions": {
"lib": ["DOM", "DOM.Iterable", "ES2020"],
Expand Down

0 comments on commit da56615

Please sign in to comment.