UNPKG

kiali-ui

Version:

React UI for [Kiali](https://github.com/kiali/kiali).

25 lines (22 loc) 736 B
import { defineConfig } from 'cypress'; import { getAuthStrategy } from './cypress/plugins/setup'; export default defineConfig({ fixturesFolder: 'cypress/fixtures', env: { timeout: 10000, threshold: 100000 }, e2e: { baseUrl: 'http://localhost:3000', async setupNodeEvents(on, config) { config.env.cookie = false; // This name is non-standard and might change based on your environment hence the separate // env variable. config.env.AUTH_PROVIDER = config.env.AUTH_PROVIDER || 'my_htpasswd_provider'; config.env.AUTH_STRATEGY = await getAuthStrategy(config.baseUrl!); return config; }, specPattern: '**/*.spec.ts', supportFile: 'cypress/support/index.ts' } });