mirror of
https://github.com/hasura/graphql-engine.git
synced 2024-12-15 09:22:43 +03:00
26 lines
695 B
TypeScript
26 lines
695 B
TypeScript
|
import { defineConfig } from 'cypress';
|
||
|
|
||
|
export default defineConfig({
|
||
|
env: {
|
||
|
BASE_URL: 'http://localhost:3000',
|
||
|
TEST_MODE: 'parallel',
|
||
|
MIGRATE_URL: 'http://localhost:9693/apis/migrate',
|
||
|
},
|
||
|
viewportWidth: 1280,
|
||
|
viewportHeight: 720,
|
||
|
chromeWebSecurity: false,
|
||
|
video: false,
|
||
|
projectId: '5yiuic',
|
||
|
retries: 1,
|
||
|
numTestsKeptInMemory: 10,
|
||
|
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: 'http://localhost:3000',
|
||
|
specPattern: 'cypress/e2e/**/*test.{js,jsx,ts,tsx}',
|
||
|
},
|
||
|
});
|