Initial version of smartbooking generated by generator-jhipster@9.0.0-beta.0
This commit is contained in:
27
cypress.config.ts
Normal file
27
cypress.config.ts
Normal file
@@ -0,0 +1,27 @@
|
||||
import { defineConfig } from 'cypress';
|
||||
|
||||
export default defineConfig({
|
||||
video: false,
|
||||
fixturesFolder: 'src/test/javascript/cypress/fixtures',
|
||||
screenshotsFolder: 'build/cypress/screenshots',
|
||||
downloadsFolder: 'build/cypress/downloads',
|
||||
videosFolder: 'build/cypress/videos',
|
||||
chromeWebSecurity: true,
|
||||
viewportWidth: 1200,
|
||||
viewportHeight: 720,
|
||||
retries: 2,
|
||||
env: {
|
||||
authenticationUrl: '/api/authentication',
|
||||
},
|
||||
e2e: {
|
||||
// We've imported your old cypress plugins here.
|
||||
// You may want to clean this up later by importing these.
|
||||
async setupNodeEvents(on, config) {
|
||||
return (await import('./src/test/javascript/cypress/plugins/index')).default(on, config);
|
||||
},
|
||||
baseUrl: 'http://localhost:8080/',
|
||||
specPattern: 'src/test/javascript/cypress/e2e/**/*.cy.ts',
|
||||
supportFile: 'src/test/javascript/cypress/support/index.ts',
|
||||
experimentalRunAllSpecs: true,
|
||||
},
|
||||
});
|
||||
Reference in New Issue
Block a user