Skip to content

Commit

Permalink
only run 01 tests for a quicker check
Browse files Browse the repository at this point in the history
  • Loading branch information
rustyjux committed Jan 28, 2025
1 parent 27a0997 commit ebb9217
Showing 1 changed file with 27 additions and 27 deletions.
54 changes: 27 additions & 27 deletions e2e/cypress.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,42 +4,42 @@ import cypress, { defineConfig } from 'cypress'
const baseUrl = 'http://oauth2proxy.localtest.me:4180'

export default defineConfig({
env: {
codeCoverage: {
url: `${baseUrl}/__coverage__`,
exclude: 'e2e/**/*.*',
},
},
// env: {
// codeCoverage: {
// url: `${baseUrl}/__coverage__`,
// exclude: 'e2e/**/*.*',
// },
// },
e2e: {
// We've imported your old cypress plugins here.
// You may want to clean this up later by importing these.
setupNodeEvents(on, config) {
require('dotenv').config()
require('@cypress/code-coverage/task')(on, config)
// require('@cypress/code-coverage/task')(on, config)

// // It's IMPORTANT to return the config object
// // with any changed environment variables
config.specPattern = [
'./cypress/tests/01-*/*.ts',
'./cypress/tests/02-*/*.ts',
'./cypress/tests/06-*/*.ts',
'./cypress/tests/07-*/*.ts',
'./cypress/tests/03-*/*.ts',
'./cypress/tests/04-*/*.ts',
// './cypress/tests/05-*/*.ts',
'./cypress/tests/08-*/*.ts',
'./cypress/tests/09-*/*.ts',
'./cypress/tests/10-*/*.ts',
'./cypress/tests/11-*/*.ts',
'./cypress/tests/12-*/*.ts',
'./cypress/tests/13-*/*.ts',
'./cypress/tests/14-*/*.ts',
'./cypress/tests/15-*/*.ts',
'./cypress/tests/16-*/*.ts',
'./cypress/tests/17-*/*.ts',
'./cypress/tests/18-*/*.ts',
'./cypress/tests/19-*/*.ts',
'./cypress/tests/20-*/*.ts',
// './cypress/tests/02-*/*.ts',
// './cypress/tests/06-*/*.ts',
// './cypress/tests/07-*/*.ts',
// './cypress/tests/03-*/*.ts',
// './cypress/tests/04-*/*.ts',
// // './cypress/tests/05-*/*.ts',
// './cypress/tests/08-*/*.ts',
// './cypress/tests/09-*/*.ts',
// './cypress/tests/10-*/*.ts',
// './cypress/tests/11-*/*.ts',
// './cypress/tests/12-*/*.ts',
// './cypress/tests/13-*/*.ts',
// './cypress/tests/14-*/*.ts',
// './cypress/tests/15-*/*.ts',
// './cypress/tests/16-*/*.ts',
// './cypress/tests/17-*/*.ts',
// './cypress/tests/18-*/*.ts',
// './cypress/tests/19-*/*.ts',
// './cypress/tests/20-*/*.ts',
]
return config
},
Expand All @@ -59,7 +59,7 @@ export default defineConfig({
},
chromeWebSecurity: false,
env: {
ASTRA_SCAN_ENABLED: true,
ASTRA_SCAN_ENABLED: false,
CLIENT_ID: 'aps-portal',
CLIENT_SECRET: '8e1a17ed-cb93-4806-ac32-e303d1c86018',
OIDC_ISSUER: 'http://keycloak.localtest.me:9081/auth/realms/master',
Expand Down

0 comments on commit ebb9217

Please sign in to comment.