Skip to content

Commit

Permalink
Fix bug
Browse files Browse the repository at this point in the history
  • Loading branch information
luucvanderzee committed Aug 26, 2024
1 parent 4d736e2 commit fd8e52a
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,7 @@ export const getStepConfig = (
getAuthenticationData,
getRequirements,
setCurrentStep,
updateState,
state
),

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ import {
AuthenticationData,
GetRequirements,
State,
UpdateState,
} from 'containers/Authentication/typings';

import { queryClient } from 'utils/cl-react-query/queryClient';
Expand All @@ -27,6 +28,7 @@ export const missingDataFlow = (
getAuthenticationData: () => AuthenticationData,
getRequirements: GetRequirements,
setCurrentStep: (step: Step) => void,
updateState: UpdateState,
state: State
) => {
return {
Expand Down Expand Up @@ -73,6 +75,7 @@ export const missingDataFlow = (
setCurrentStep('missing-data:email-confirmation');
},
RESEND_CODE: async (newEmail: string) => {
updateState({ email: newEmail });
await resendEmailConfirmationCode(newEmail);
setCurrentStep('missing-data:email-confirmation');
},
Expand Down
4 changes: 0 additions & 4 deletions front/cypress/e2e/auth/sign_up_email_password.cy.ts
Original file line number Diff line number Diff line change
Expand Up @@ -166,9 +166,5 @@ describe('Sign up - Email + password step', () => {

cy.contains(newEmail).should('exist');
cy.contains(oldEmail).should('not.exist');

cy.wait(10000);
// cy.get('.e2e-modal-close-button').first().click();
// cy.clearCookies();
});
});

0 comments on commit fd8e52a

Please sign in to comment.