-
Notifications
You must be signed in to change notification settings - Fork 2
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(e2e): Move submissionEmail to createTeam args #3613
Conversation
Remove `$submissionEmail` variable type from mutation to allow planx-new to add `submissionEmail` as argument passed into `createTeam()` This fix enables the planx-new e2e regression fix. theopensystemslab/planx-new#3613
8f3ed66
to
3ead0d2
Compare
Ended up rebasing to add in the changes we reverted before, so it threw off all the tests. Reverted changes have now been re-added. |
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.
Looks good! Thanks for additionally running regression tests against this branch.
Please address empty row in package.json before merging, but otherwise good to go 👍
editor.planx.uk/package.json
Outdated
"@opensystemslab/map": "1.0.0-alpha.2", | ||
"@opensystemslab/planx-core": "git+https://github.com/theopensystemslab/planx-core#d46df8d", | ||
|
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.
Can you please remove this empty line?
Moved
submissionEmail
into the args ofcreateTeam()
similar to the handling ofreferenceCode
.export const setup = async () => { await setUpMocks(); const teamId = await createTeam({ ++ settings: { referenceCode: "ABC", submissionEmail: TEST_EMAIL }, }); const userId = await createUser(); await setupMockBopsSubmissionUrl(teamId); const world = { teamId, userId }; return world; };
This change comes in line with changes in planx-core to the createTeam mutation: theopensystemslab/planx-core#499