1cfb3d8034
* feat: release new landing page * fix wallet dropdown integration tests * remove problematic/not useful tests Co-authored-by: Jordan Frankfurt <jordanwfrankfurt@gmail.com>
21 lines
613 B
TypeScript
21 lines
613 B
TypeScript
import { defineConfig } from 'cypress'
|
|
|
|
export default defineConfig({
|
|
projectId: 'yp82ef',
|
|
videoUploadOnPasses: false,
|
|
defaultCommandTimeout: 4000, // 2x average block time
|
|
chromeWebSecurity: false,
|
|
e2e: {
|
|
setupNodeEvents(on, config) {
|
|
return {
|
|
...config,
|
|
// Only enable Chrome.
|
|
// Electron (the default) has issues injecting window.ethereum before pageload, so it is not viable.
|
|
browsers: config.browsers.filter(({ name }) => name === 'chrome'),
|
|
}
|
|
},
|
|
baseUrl: 'http://localhost:3000',
|
|
specPattern: 'cypress/e2e/**/*.{js,jsx,ts,tsx}',
|
|
},
|
|
})
|