feat: add cypress

This commit is contained in:
Simon Emanuelsson
2024-02-29 10:35:40 +01:00
parent 57d7ab3092
commit b130ce11c6
16 changed files with 4645 additions and 17 deletions

18
cypress.config.ts Normal file
View File

@@ -0,0 +1,18 @@
import { defineConfig } from "cypress"
import { config } from "dotenv"
config({ path: "./.env.local" })
export default defineConfig({
e2e: {
baseUrl: process.env.CYPRESS_BASE_URL,
setupNodeEvents(on, config) {},
},
component: {
devServer: {
bundler: "webpack",
framework: "next",
},
},
})