Add Cypress E2E tests with fixture-based API mocking for UI regression protection
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
@@ -6,10 +6,11 @@ module.exports = defineConfig({
|
||||
viewportWidth: 1280,
|
||||
viewportHeight:720,
|
||||
e2e: {
|
||||
baseUrl: "http://localhost:5173",
|
||||
specPattern: "cypress/e2e/**/*.{cy,spec}.{js,jsx,ts,tsx}",
|
||||
},
|
||||
includeShadowDom: true,
|
||||
env: {
|
||||
loginPwd: 'REDACTED-PWD',
|
||||
// Removed hardcoded password — use cypress.env.json for real credentials
|
||||
}
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user