mirror of
https://github.com/hasura/graphql-engine.git
synced 2024-12-15 01:12:56 +03:00
e8cb480b13
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/5386 GitOrigin-RevId: 5458dadc7a23f82a1b344fcd19d8c431d6bd8c78
33 lines
783 B
TypeScript
33 lines
783 B
TypeScript
import { defineConfig } from 'cypress';
|
|
|
|
import * as customTasks from './cypress/support/tasks';
|
|
|
|
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',
|
|
e2e: {
|
|
// We've imported your old cypress plugins here.
|
|
// You may want to clean this up later by importing these.
|
|
setupNodeEvents(on, config) {
|
|
on('task', {
|
|
...customTasks,
|
|
});
|
|
|
|
return config;
|
|
},
|
|
baseUrl: 'http://localhost:3000',
|
|
specPattern: [
|
|
'cypress/e2e/**/*test.{js,jsx,ts,tsx}',
|
|
'cypress/support/**/*unit.test.{js,ts}',
|
|
],
|
|
},
|
|
});
|