Skip to content

Commit cc9e95e

Browse files
committed
rebase from qa
1 parent 21efb85 commit cc9e95e

File tree

3 files changed

+8
-3
lines changed

3 files changed

+8
-3
lines changed

e2e/fixtures/cities.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,8 @@
22
"cities": [
33
{
44
"_id": "123abc",
5-
"name": "London"
5+
"name": "London",
6+
"visibleIn": ["VOLUNTEER_FORM"]
67
}
78
]
89
}

e2e/integration/journey.test.js

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,9 @@
11
const mockServerURL = 'http://localhost:3001'
22

33
beforeEach(() => {
4-
cy.intercept('GET', `${mockServerURL}/cities`, { fixture: 'cities.json' })
4+
cy.intercept('GET', `${mockServerURL}/cities?visibleIn=VOLUNTEER_FORM`, {
5+
fixture: 'cities.json'
6+
})
57
cy.visit('/')
68
})
79

e2e/integration/withCode.test.js

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,9 @@
11
const mockServerURL = 'http://localhost:3001'
22

33
beforeEach(() => {
4-
cy.intercept('GET', `${mockServerURL}/cities`, { fixture: 'cities.json' })
4+
cy.intercept('GET', `${mockServerURL}/cities?visibleIn=VOLUNTEER_FORM`, {
5+
fixture: 'cities.json'
6+
})
57
})
68

79
it('shows success message', () => {

0 commit comments

Comments
 (0)