Skip to content

Commit

Permalink
Fix other URLs
Browse files Browse the repository at this point in the history
  • Loading branch information
louptheron committed Oct 22, 2024
1 parent 5adc91c commit 7719225
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 5 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/cicd.yml
Original file line number Diff line number Diff line change
Expand Up @@ -223,7 +223,7 @@ jobs:
install-command: npm ci
parallel: true
record: true
wait-on: "http://localhost:8880"
wait-on: "http://0.0.0.0:8880"
working-directory: ./frontend

e2e_multi_windows_test:
Expand Down
7 changes: 3 additions & 4 deletions frontend/config/cypress.config.ts
Original file line number Diff line number Diff line change
@@ -1,13 +1,12 @@
import { defineConfig } from 'cypress'
import {defineConfig} from 'cypress'
import initCypressMousePositionPlugin from 'cypress-mouse-position/plugin'
import { initPlugin } from 'cypress-plugin-snapshots/plugin'
import {initPlugin} from 'cypress-plugin-snapshots/plugin'

const IS_CI = Boolean(process.env.CI)
const DEFAULT_PORT = IS_CI ? 8880 : 3000

export default defineConfig({
e2e: {
baseUrl: `http://localhost:${DEFAULT_PORT}`,
baseUrl: `http://${IS_CI ? '0.0.0.0:8880' : 'localhost:3000'}`,
excludeSpecPattern: ['**/__snapshots__/*', '**/__image_snapshots__/*'],
setupNodeEvents(on, config) {
initCypressMousePositionPlugin(on)
Expand Down

0 comments on commit 7719225

Please sign in to comment.