-
Notifications
You must be signed in to change notification settings - Fork 924
reorganized mfa totp integration tests #7352
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
reorganized mfa totp integration tests #7352
Conversation
|
Size Report 1Affected Products
Test Logs |
Size Analysis Report 1Affected Products
Test Logs |
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 great
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 great, thank you for doing this!
This reverts commit 713363d.
* reorganized mfa totp integration tests * formatted the code * added await for enroll function calls * created fakePassword to store password * fixed typo in mfaUser * moved fakePassword into integration helpers file
Reorganized the mfa totp integration tests such that the user that is enrolled for mfa will always be unenrolled at the end of each test.
Ran TOTP MFA integration tests against the backend locally. Intentionally added "expect(2).to.equal(200)" in each test.
Also tried adding the false statement into the beforeEach block that enrolls users before the test.
Used curl command to check the status of the user's MFA enrollment.
Successfully verified that the user is unenrolled from MFA at the end despite different test failures.