-
Notifications
You must be signed in to change notification settings - Fork 1
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
fix: geocoding sj #681
fix: geocoding sj #681
Changes from all commits
e5433bb
146deea
d7a21bc
be593f3
beed4d9
2538a9e
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -48,10 +48,10 @@ export const stagingSeed = async ( | |
data: jurisdictionFactory(jurisdictionName, [UserRoleEnum.admin]), | ||
}); | ||
// add additional jurisdictions | ||
const additionalJurisdiction = await prismaClient.jurisdictions.create({ | ||
const sanMateoJurisdiction = await prismaClient.jurisdictions.create({ | ||
data: jurisdictionFactory('San Mateo'), | ||
}); | ||
await prismaClient.jurisdictions.create({ | ||
const sanJoseJurisdiction = await prismaClient.jurisdictions.create({ | ||
data: jurisdictionFactory('San Jose'), | ||
}); | ||
// create admin user | ||
|
@@ -60,7 +60,11 @@ export const stagingSeed = async ( | |
roles: { isAdmin: true }, | ||
email: '[email protected]', | ||
confirmedAt: new Date(), | ||
jurisdictionIds: [jurisdiction.id, additionalJurisdiction.id], | ||
jurisdictionIds: [ | ||
jurisdiction.id, | ||
sanMateoJurisdiction.id, | ||
sanJoseJurisdiction.id, | ||
], | ||
acceptedTerms: true, | ||
password: 'abcdef', | ||
}), | ||
|
@@ -128,7 +132,7 @@ export const stagingSeed = async ( | |
data: amiChartFactory(10, jurisdiction.id), | ||
}); | ||
await prismaClient.amiChart.create({ | ||
data: amiChartFactory(8, additionalJurisdiction.id), | ||
data: amiChartFactory(8, sanJoseJurisdiction.id), | ||
}); | ||
// Create map layers | ||
await prismaClient.mapLayers.create({ | ||
|
@@ -1217,7 +1221,7 @@ export const stagingSeed = async ( | |
}, | ||
email: '[email protected]', | ||
confirmedAt: new Date(), | ||
jurisdictionIds: [jurisdiction.id, additionalJurisdiction.id], | ||
jurisdictionIds: [jurisdiction.id, sanMateoJurisdiction.id], | ||
acceptedTerms: true, | ||
listings: [savedListing.id], | ||
}), | ||
|
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -46,7 +46,7 @@ describe("Lottery Tests", () => { | |
.should("be.visible") | ||
.type("[email protected]", { force: true }) | ||
cy.getByID("[email protected]").first().click() | ||
cy.getByTestId("listings-all-Alameda").check() | ||
cy.getByTestId("listings-all-Alameda").check({ force: true }) | ||
cy.getByID("save-user").click() | ||
|
||
// Login as partner and view lottery tab | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
These historically have been accompanied by a test in core
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Test added