Skip to content

Commit

Permalink
tests: Allow running cypress on different instance
Browse files Browse the repository at this point in the history
Signed-off-by: Julius Knorr <[email protected]>
  • Loading branch information
juliusknorr committed Jan 7, 2025
1 parent 70956fe commit 56ea68e
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions cypress.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -64,6 +64,10 @@ export default defineConfig({
}
})

if (process.env.CYPRESS_baseUrl) {
return config
}

// Remove container after run
on('after:run', () => {
if (!process.env.CI) {
Expand Down

0 comments on commit 56ea68e

Please sign in to comment.