feat: Add basic cypress testing

Part-of: <https://dev.funkwhale.audio/funkwhale/funkwhale/-/merge_requests/1795>
This commit is contained in:
Georg Krause 2022-05-12 16:53:43 +02:00 committed by Kasper Seweryn
commit 9aeefca728
16 changed files with 1555 additions and 664 deletions

13
front/cypress.config.ts Normal file
View file

@ -0,0 +1,13 @@
import { defineConfig } from 'cypress'
export default defineConfig({
chromeWebSecurity: false,
e2e: {
// We've imported your old cypress plugins here.
// You may want to clean this up later by importing these.
setupNodeEvents(on, config) {
return require('./cypress/plugins/index.js')(on, config)
},
baseUrl: 'https://demo.funkwhale.audio',
},
})