14bcc960b4
- Created 8 core shared components: Card, PageLayout, PageTabs, DayTabs, CalendarInput, TimeSelector, CityAutocomplete, SearchHistory, PageLoader, PageEmptyList - Fixed SCSS circular dependency: removed self-imports in components/modules-components/index.scss and modules-pages/index.scss - Updated page exports to use feature-based implementations - Added City interface to CityAutocomplete with mock city data - App now loads at localhost:3001 without SCSS errors
23 lines
554 B
TypeScript
23 lines
554 B
TypeScript
import { defineConfig } from 'cypress'
|
|
|
|
export default defineConfig({
|
|
e2e: {
|
|
baseUrl: 'http://127.0.0.1:3003/components',
|
|
supportFile: 'cypress/support/index.ts',
|
|
specPattern: ['cypress/integration/**/*.cy.ts', 'cypress/integration/**/*.spec.ts'],
|
|
viewportWidth: 1440,
|
|
viewportHeight: 900,
|
|
video: false,
|
|
screenshotOnRunFailure: true,
|
|
requestTimeout: 10000,
|
|
responseTimeout: 10000,
|
|
defaultCommandTimeout: 10000,
|
|
},
|
|
component: {
|
|
devServer: {
|
|
framework: 'react',
|
|
bundler: 'vite',
|
|
},
|
|
},
|
|
})
|