Skip to content

Commit

Permalink
Merge pull request #556 from bartoval/cypress_for_e2e
Browse files Browse the repository at this point in the history
test: ✅ Use env variable to set url domain in cypress
  • Loading branch information
bartoval authored Jan 20, 2025
2 parents 3af317b + f89dd9d commit fe7d452
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cypress.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ import { defineConfig } from 'cypress';

export default defineConfig({
e2e: {
baseUrl: 'http://localhost:3000',
baseUrl: process.env.CYPRESS_BASE_URL || 'http://localhost:3000',
chromeWebSecurity: false,
defaultCommandTimeout: 8000,
screenshotOnRunFailure: false,
Expand Down

0 comments on commit fe7d452

Please sign in to comment.