@@ -9,6 +9,10 @@ import ConsortiumManager from '../../support/fragments/settings/consortium-manag
99import SettingsMenu from '../../support/fragments/settingsMenu' ;
1010import Users from '../../support/fragments/users/users' ;
1111
12+ const targetTenantName = tenantNames . university ;
13+ const targetTenantCode = tenantCodes . university ;
14+ const targetTenantAffiliation = Affiliations . University ;
15+
1216describe ( 'Consortia' , ( ) => {
1317 const character151 =
1418 'Beyond the horizon, a world of possibilities awaits. Embrace the journey, learn from challenges, and celebrate every small victory along the way.1234567' ;
@@ -40,27 +44,24 @@ describe('Consortia', () => {
4044 { tags : [ 'smokeECS' , 'thunderjet' , 'C380515' ] } ,
4145 ( ) => {
4246 ConsortiumManager . selectMembership ( ) ;
43- ConsortiumManager . editTenant ( tenantNames . professional ) ;
44- ConsortiumManager . editTenantInformation (
45- `${ tenantCodes . professional } E` ,
46- `${ tenantNames . professional } -Edited` ,
47- ) ;
47+ ConsortiumManager . editTenant ( targetTenantName ) ;
48+ ConsortiumManager . editTenantInformation ( `${ targetTenantCode } E` , `${ targetTenantName } -Edited` ) ;
4849 ConsortiumManager . saveEditingTenantInformation ( ) ;
4950 ConsortiaControlledVocabularyPaneset . verifyRecordInTheList ( [
50- `${ tenantCodes . professional } E` ,
51- `${ tenantNames . professional } -Edited` ,
52- Affiliations . Professional ,
51+ `${ targetTenantCode } E` ,
52+ `${ targetTenantName } -Edited` ,
53+ targetTenantAffiliation ,
5354 ] ) ;
54- ConsortiumManager . editTenant ( tenantNames . professional ) ;
55- ConsortiumManager . editTenantInformation ( tenantCodes . professional , tenantNames . professional ) ;
55+ ConsortiumManager . editTenant ( targetTenantName ) ;
56+ ConsortiumManager . editTenantInformation ( targetTenantCode , targetTenantName ) ;
5657 ConsortiumManager . saveEditingTenantInformation ( ) ;
5758 ConsortiaControlledVocabularyPaneset . verifyRecordInTheList ( [
58- tenantCodes . professional ,
59- tenantNames . professional ,
60- Affiliations . Professional ,
59+ targetTenantCode ,
60+ targetTenantName ,
61+ targetTenantAffiliation ,
6162 ] ) ;
62- ConsortiumManager . editTenant ( tenantNames . professional ) ;
63- ConsortiumManager . editTenantInformation ( `${ tenantCodes . professional } -ED ` , character151 ) ;
63+ ConsortiumManager . editTenant ( targetTenantName ) ;
64+ ConsortiumManager . editTenantInformation ( `${ targetTenantCode } -Edited ` , character151 ) ;
6465 ConsortiumManager . checkErrorsInEditedTenantInformation ( tenantErrors . code , tenantErrors . name ) ;
6566
6667 ConsortiumManager . cancelEditingTenantInformation ( ) ;
0 commit comments