graphql-engine/frontend/apps/console-ee-e2e/cypress.config.ts
Stefano Magni 2516a6a028 frontend: Create a Cypress project for the EE Console
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/7825
GitOrigin-RevId: 74e6009ae4fd3915c3c705194c8221dada4e21a6
2023-02-07 16:16:20 +00:00

25 lines
481 B
TypeScript

import { defineConfig } from 'cypress';
import { nxE2EPreset } from '@nrwl/cypress/plugins/cypress-preset';
const nxConfig = nxE2EPreset(__dirname);
export default defineConfig({
viewportWidth: 1440,
viewportHeight: 900,
retries: {
openMode: 0,
// Allows for one automatic retry per test
// see: https://docs.cypress.io/guides/guides/test-retries#How-It-Works
runMode: 1,
},
projectId: '672jmv',
e2e: {
...nxConfig,
video: false,
},
});