-
Notifications
You must be signed in to change notification settings - Fork 156
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: moved registration tests to specific files. #1104
Conversation
f09d5f6
to
7fe3d3e
Compare
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## master #1104 +/- ##
==========================================
+ Coverage 87.05% 87.08% +0.02%
==========================================
Files 124 124
Lines 2271 2276 +5
Branches 629 634 +5
==========================================
+ Hits 1977 1982 +5
Misses 285 285
Partials 9 9 ☔ View full report in Codecov by Sentry. |
7fe3d3e
to
4fc3eac
Compare
@@ -153,11 +148,7 @@ describe('RegistrationPage', () => { | |||
}; | |||
|
|||
const ssoProvider = { |
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.
Do we still need to pass ssoProvider in formPayload
? Reference line 216.
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.
Nope, we don't need this. Thanks for pointing this out.
config: { | ||
ENVIRONMENT: 'production', | ||
LANGUAGE_PREFERENCE_COOKIE_NAME: 'yum', | ||
}, |
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.
Do we need these configs?
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.
Yes. we can't Pass ENVIRONMENT undefined.
mergeConfig({ | ||
SHOW_CONFIGURABLE_EDX_FIELDS: true, | ||
}); |
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.
Also what about these?
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.
I have removed these.
4fc3eac
to
497db70
Compare
Description
All tests that are not directly related to the registration form functionality have been moved to their respective component-specific test files.
JIRA
VAN-1628