Skip to content

Commit

Permalink
[#832] Integration tests - fix local issue where tests hang at startup
Browse files Browse the repository at this point in the history
  • Loading branch information
tinamthomas authored and 4upz committed Nov 9, 2022
1 parent 652cc58 commit 009b7f9
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
6 changes: 3 additions & 3 deletions packages/integration-tests/tests/app.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,12 +5,12 @@
import waitOn from 'wait-on'
import page from './page-model'

fixture`Cloud Carbon Footprint`.page`http://localhost:3000/`
fixture`Cloud Carbon Footprint`.page`http://127.0.0.1:3000/`
.before(async () => {
await waitOn({
resources: [
'http://localhost:3000/',
'http://localhost:4000/api/healthz',
'http://127.0.0.1:3000/',
'http://127.0.0.1:4000/api/healthz',
],
})
})
Expand Down
4 changes: 2 additions & 2 deletions packages/integration-tests/tests/recommendations.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -6,10 +6,10 @@ import waitOn from 'wait-on'
import page from './page-model'
const getLocation = ClientFunction(() => document.location.href)

fixture`Cloud Carbon Footprint Recommendations`.page`http://localhost:3000/`
fixture`Cloud Carbon Footprint Recommendations`.page`http://127.0.0.1:3000/`
.before(async () => {
await waitOn({
resources: ['http://localhost:3000/'],
resources: ['http://127.0.0.1:3000/'],
})
})
.beforeEach(async (t) => {
Expand Down

0 comments on commit 009b7f9

Please sign in to comment.