fix: rebasing issues with master branch
This commit is contained in:
7
package-lock.json
generated
7
package-lock.json
generated
@@ -12678,6 +12678,13 @@
|
||||
"integrity": "sha1-PYpcZog6FqMMqGQ+hR8Zuqd5eRc=",
|
||||
"dev": true
|
||||
},
|
||||
"fast-xml-parser": {
|
||||
"version": "3.19.0",
|
||||
"resolved": "https://registry.npmjs.org/fast-xml-parser/-/fast-xml-parser-3.19.0.tgz",
|
||||
"integrity": "sha512-4pXwmBplsCPv8FOY1WRakF970TjNGnGnfbOnLqjlYvMiF1SR3yOHyxMR/YCXpPTOspNF5gwudqktIP4VsWkvBg==",
|
||||
"dev": true,
|
||||
"optional": true
|
||||
},
|
||||
"fastest-levenshtein": {
|
||||
"version": "1.0.12",
|
||||
"resolved": "https://registry.npmjs.org/fastest-levenshtein/-/fastest-levenshtein-1.0.12.tgz",
|
||||
|
||||
@@ -367,6 +367,7 @@ describe('LoginPage', () => {
|
||||
});
|
||||
|
||||
it('should render tpa button for tpa_hint id matching one of the secondary providers', () => {
|
||||
secondaryProviders.skipHintedLogin = true;
|
||||
store = mockStore({
|
||||
...initialState,
|
||||
commonComponents: {
|
||||
|
||||
@@ -584,6 +584,7 @@ describe('RegistrationPage', () => {
|
||||
});
|
||||
|
||||
it('should render tpa button for tpa_hint id matching one of the secondary providers', () => {
|
||||
secondaryProviders.skipHintedLogin = true;
|
||||
store = mockStore({
|
||||
...initialState,
|
||||
commonComponents: {
|
||||
@@ -597,7 +598,7 @@ describe('RegistrationPage', () => {
|
||||
});
|
||||
|
||||
delete window.location;
|
||||
window.location = { href: getConfig().BASE_URL.concat('/login'), search: `?next=/dashboard&tpa_hint=${secondaryProviders.id}` };
|
||||
window.location = { href: getConfig().BASE_URL.concat('/register'), search: `?next=/dashboard&tpa_hint=${secondaryProviders.id}` };
|
||||
secondaryProviders.iconImage = null;
|
||||
|
||||
mount(reduxWrapper(<IntlRegistrationPage {...props} />));
|
||||
|
||||
@@ -17,7 +17,7 @@ import {
|
||||
import messages from './messages';
|
||||
|
||||
import { EDUCATION_LEVELS, GENDER_OPTIONS, YEAR_OF_BIRTH_OPTIONS } from '../register/data/constants';
|
||||
import { AuthnValidationFormGroup } from '../common-components';
|
||||
import { FormGroup } from '../common-components';
|
||||
import { DEFAULT_REDIRECT_URL } from '../data/constants';
|
||||
|
||||
const WelcomePage = (props) => {
|
||||
@@ -117,7 +117,7 @@ const WelcomePage = (props) => {
|
||||
</p>
|
||||
<hr className="mb-3 border-gray-200" />
|
||||
<h1 className="mb-3 h3">{intl.formatMessage(messages['optional.fields.page.heading'])}</h1>
|
||||
<AuthnValidationFormGroup
|
||||
<FormGroup
|
||||
label={intl.formatMessage(messages['registration.field.education.levels.label'])}
|
||||
for="levelOfEducation"
|
||||
name="levelOfEducation"
|
||||
@@ -129,7 +129,7 @@ const WelcomePage = (props) => {
|
||||
selectOptions={getOptions().educationLevelOptions}
|
||||
inputFieldStyle="border-gray-600 custom-select-size"
|
||||
/>
|
||||
<AuthnValidationFormGroup
|
||||
<FormGroup
|
||||
label={intl.formatMessage(messages['registration.year.of.birth.label'])}
|
||||
for="yearOfBirth"
|
||||
name="yearOfBirth"
|
||||
@@ -141,7 +141,7 @@ const WelcomePage = (props) => {
|
||||
selectOptions={getOptions().yearOfBirthOptions}
|
||||
inputFieldStyle="border-gray-600 custom-select-size"
|
||||
/>
|
||||
<AuthnValidationFormGroup
|
||||
<FormGroup
|
||||
label={intl.formatMessage(messages['registration.field.gender.options.label'])}
|
||||
for="gender"
|
||||
name="gender"
|
||||
|
||||
Reference in New Issue
Block a user