Files
tm_panel/cypress.config.ts
AmirReza Jamali bb1af8b31c feat(package): add Cypress for end-to-end testing and enhance scripts
- Added Cypress as a dependency for end-to-end testing.
- Introduced new npm scripts for running Cypress tests and starting the development server for testing.
- Updated package-lock.json to reflect the new dependencies and their versions.
2026-04-21 15:59:20 +03:30

12 lines
291 B
TypeScript

import { defineConfig } from "cypress";
export default defineConfig({
e2e: {
baseUrl: process.env.CYPRESS_BASE_URL || "http://localhost:3000",
supportFile: "cypress/support/e2e.ts",
specPattern: "cypress/e2e/**/*.cy.ts",
},
viewportWidth: 1440,
viewportHeight: 900,
});