wire cypress for frontend
This commit is contained in:
parent
4cfe2bd4a5
commit
821ff72b00
4 changed files with 2651 additions and 3 deletions
16
frontend/rabbi_gerzi/cypress.config.mjs
Normal file
16
frontend/rabbi_gerzi/cypress.config.mjs
Normal file
|
|
@ -0,0 +1,16 @@
|
|||
import { defineConfig } from 'cypress'
|
||||
import createBundler from '@bahmutov/cypress-esbuild-preprocessor'
|
||||
|
||||
export default defineConfig({
|
||||
e2e: {
|
||||
baseUrl: 'http://localhost:5173',
|
||||
specPattern: 'cypress/e2e/**/*.cy.ts',
|
||||
supportFile: 'cypress/support/e2e.ts',
|
||||
fixturesFolder: false,
|
||||
video: false,
|
||||
screenshotOnRunFailure: false,
|
||||
setupNodeEvents(onEvent) {
|
||||
onEvent('file:preprocessor', createBundler())
|
||||
},
|
||||
},
|
||||
})
|
||||
Loading…
Add table
Add a link
Reference in a new issue