@@ -1044,8 +1044,8 @@ describe('<SyllabusCourseRunsList/>', () => {
10441044 ) ;
10451045
10461046 const content = getHeaderContainer ( ) . innerHTML ;
1047- expect ( content ) . toContain ( '<dd>The course content is paid. <br>€49.99</dd>' ) ;
1048- expect ( content ) . toContain ( '<dd>The certification process is paid. <br>€59.99</dd>' ) ;
1047+ expect ( content ) . toContain ( '<dd>Paid access <br>€49.99</dd>' ) ;
1048+ expect ( content ) . toContain ( '<dd>Paid certificate <br>€59.99</dd>' ) ;
10491049 } ) ;
10501050
10511051 it ( 'renders price information as subscription on SyllabusCourseRunCompacted' , async ( ) => {
@@ -1066,10 +1066,8 @@ describe('<SyllabusCourseRunsList/>', () => {
10661066 ) ;
10671067
10681068 const content = getHeaderContainer ( ) . innerHTML ;
1069- expect ( content ) . toContain ( '<dd>Subscribe to access the course content.<br>€49.99</dd>' ) ;
1070- expect ( content ) . toContain (
1071- '<dd>The certification process is offered through subscription.<br>€59.99</dd>' ,
1072- ) ;
1069+ expect ( content ) . toContain ( '<dd>Subscribe to access the course content<br>€49.99</dd>' ) ;
1070+ expect ( content ) . toContain ( '<dd>Offered certificate through subscription<br>€59.99</dd>' ) ;
10731071 } ) ;
10741072
10751073 it ( 'renders price information as Partially free on SyllabusCourseRunCompacted' , async ( ) => {
@@ -1090,8 +1088,8 @@ describe('<SyllabusCourseRunsList/>', () => {
10901088 ) ;
10911089
10921090 const content = getHeaderContainer ( ) . innerHTML ;
1093- expect ( content ) . toContain ( '<dd>The course content is free. <br>€0.00</dd>' ) ;
1094- expect ( content ) . toContain ( '<dd>The certification process is paid. <br>€59.99</dd>' ) ;
1091+ expect ( content ) . toContain ( '<dd>Partially free access <br>€0.00</dd>' ) ;
1092+ expect ( content ) . toContain ( '<dd>Paid certificate <br>€59.99</dd>' ) ;
10951093 } ) ;
10961094
10971095 it ( 'renders price information as paid and free on SyllabusCourseRunCompacted' , async ( ) => {
@@ -1112,8 +1110,8 @@ describe('<SyllabusCourseRunsList/>', () => {
11121110 ) ;
11131111
11141112 const content = getHeaderContainer ( ) . innerHTML ;
1115- expect ( content ) . toContain ( '<dd>The course content is paid. <br>€49.99</dd>' ) ;
1116- expect ( content ) . toContain ( '<dd>The certification process is free. <br>€0.00</dd>' ) ;
1113+ expect ( content ) . toContain ( '<dd>Paid access <br>€49.99</dd>' ) ;
1114+ expect ( content ) . toContain ( '<dd>Free certificate <br>€0.00</dd>' ) ;
11171115 } ) ;
11181116
11191117 it ( 'does not render price information on SyllabusCourseRunCompacted' , async ( ) => {
@@ -1133,8 +1131,8 @@ describe('<SyllabusCourseRunsList/>', () => {
11331131 ) ;
11341132
11351133 const content = getHeaderContainer ( ) . innerHTML ;
1136- expect ( content ) . not . toContain ( 'The course content is paid ' ) ;
1137- expect ( content ) . not . toContain ( 'The certification process is paid. ' ) ;
1134+ expect ( content ) . not . toContain ( 'Paid access ' ) ;
1135+ expect ( content ) . not . toContain ( 'Paid certificate ' ) ;
11381136 } ) ;
11391137
11401138 it ( 'does not render course price information on SyllabusCourseRunCompacted' , async ( ) => {
@@ -1155,8 +1153,8 @@ describe('<SyllabusCourseRunsList/>', () => {
11551153 ) ;
11561154
11571155 const content = getHeaderContainer ( ) . innerHTML ;
1158- expect ( content ) . not . toContain ( 'The course content is paid. ' ) ;
1159- expect ( content ) . toContain ( '<dd>The certification process is paid. <br>€59.99</dd>' ) ;
1156+ expect ( content ) . not . toContain ( 'Paid access ' ) ;
1157+ expect ( content ) . toContain ( '<dd>Paid certificate <br>€59.99</dd>' ) ;
11601158 } ) ;
11611159
11621160 it ( 'does not render certificate price information on SyllabusCourseRunCompacted' , async ( ) => {
@@ -1177,8 +1175,8 @@ describe('<SyllabusCourseRunsList/>', () => {
11771175 ) ;
11781176
11791177 const content = getHeaderContainer ( ) . innerHTML ;
1180- expect ( content ) . toContain ( '<dd>The course content is paid. <br>€49.99</dd>' ) ;
1181- expect ( content ) . not . toContain ( 'The certification process is paid. ' ) ;
1178+ expect ( content ) . toContain ( '<dd>Paid access <br>€49.99</dd>' ) ;
1179+ expect ( content ) . not . toContain ( 'Paid certificate ' ) ;
11821180 } ) ;
11831181
11841182 it ( 'does not render prices but only offers on SyllabusCourseRunCompacted' , async ( ) => {
@@ -1199,8 +1197,8 @@ describe('<SyllabusCourseRunsList/>', () => {
11991197 ) ;
12001198
12011199 const content = getHeaderContainer ( ) . innerHTML ;
1202- expect ( content ) . toContain ( '<dd>The course content is free. <br></dd>' ) ;
1203- expect ( content ) . toContain ( '<dd>The certification process is free. <br></dd>' ) ;
1200+ expect ( content ) . toContain ( '<dd>Free access <br></dd>' ) ;
1201+ expect ( content ) . toContain ( '<dd>Free certificate <br></dd>' ) ;
12041202 } ) ;
12051203
12061204 it ( 'renders prices as zero on SyllabusCourseRunCompacted' , async ( ) => {
@@ -1221,8 +1219,8 @@ describe('<SyllabusCourseRunsList/>', () => {
12211219 ) ;
12221220
12231221 const content = getHeaderContainer ( ) . innerHTML ;
1224- expect ( content ) . toContain ( '<dd>The course content is free. <br>€0.00</dd>' ) ;
1225- expect ( content ) . toContain ( '<dd>The certification process is free. <br>€0.00</dd>' ) ;
1222+ expect ( content ) . toContain ( '<dd>Free access <br>€0.00</dd>' ) ;
1223+ expect ( content ) . toContain ( '<dd>Free certificate <br>€0.00</dd>' ) ;
12261224 } ) ;
12271225
12281226 it ( 'does not render invalid offers on SyllabusCourseRunCompacted' , async ( ) => {
@@ -1266,8 +1264,8 @@ describe('<SyllabusCourseRunsList/>', () => {
12661264 ) ;
12671265
12681266 const content = getHeaderContainer ( ) . innerHTML ;
1269- expect ( content ) . toContain ( '<dd>The course content is paid. <br>€49.99</dd>' ) ;
1270- expect ( content ) . toContain ( '<dd>The certification process is paid. <br>€59.99</dd>' ) ;
1267+ expect ( content ) . toContain ( '<dd>Paid access <br>€49.99</dd>' ) ;
1268+ expect ( content ) . toContain ( '<dd>Paid certificate <br>€59.99</dd>' ) ;
12711269 } ) ;
12721270
12731271 it ( 'renders price information as subscription on SyllabusCourseRun' , async ( ) => {
@@ -1288,10 +1286,8 @@ describe('<SyllabusCourseRunsList/>', () => {
12881286 ) ;
12891287
12901288 const content = getHeaderContainer ( ) . innerHTML ;
1291- expect ( content ) . toContain ( '<dd>Subscribe to access the course content.<br>€49.99</dd>' ) ;
1292- expect ( content ) . toContain (
1293- '<dd>The certification process is offered through subscription.<br>€59.99</dd>' ,
1294- ) ;
1289+ expect ( content ) . toContain ( '<dd>Subscribe to access the course content<br>€49.99</dd>' ) ;
1290+ expect ( content ) . toContain ( '<dd>Offered certificate through subscription<br>€59.99</dd>' ) ;
12951291 } ) ;
12961292
12971293 it ( 'renders price information as Partially free on SyllabusCourseRun' , async ( ) => {
@@ -1312,8 +1308,8 @@ describe('<SyllabusCourseRunsList/>', () => {
13121308 ) ;
13131309
13141310 const content = getHeaderContainer ( ) . innerHTML ;
1315- expect ( content ) . toContain ( '<dd>The course content is free. <br>€0.00</dd>' ) ;
1316- expect ( content ) . toContain ( '<dd>The certification process is paid. <br>€59.99</dd>' ) ;
1311+ expect ( content ) . toContain ( '<dd>Partially free access <br>€0.00</dd>' ) ;
1312+ expect ( content ) . toContain ( '<dd>Paid certificate <br>€59.99</dd>' ) ;
13171313 } ) ;
13181314
13191315 it ( 'renders price information as paid and free on SyllabusCourseRun' , async ( ) => {
@@ -1334,8 +1330,8 @@ describe('<SyllabusCourseRunsList/>', () => {
13341330 ) ;
13351331
13361332 const content = getHeaderContainer ( ) . innerHTML ;
1337- expect ( content ) . toContain ( '<dd>The course content is paid. <br>€49.99</dd>' ) ;
1338- expect ( content ) . toContain ( '<dd>The certification process is free. <br>€0.00</dd>' ) ;
1333+ expect ( content ) . toContain ( '<dd>Paid access <br>€49.99</dd>' ) ;
1334+ expect ( content ) . toContain ( '<dd>Free certificate <br>€0.00</dd>' ) ;
13391335 } ) ;
13401336
13411337 it ( 'does not render price information on SyllabusCourseRun' , async ( ) => {
@@ -1355,8 +1351,8 @@ describe('<SyllabusCourseRunsList/>', () => {
13551351 ) ;
13561352
13571353 const content = getHeaderContainer ( ) . innerHTML ;
1358- expect ( content ) . not . toContain ( 'The course content is paid ' ) ;
1359- expect ( content ) . not . toContain ( 'The certification process is paid. ' ) ;
1354+ expect ( content ) . not . toContain ( 'Paid access ' ) ;
1355+ expect ( content ) . not . toContain ( 'Paid certificate ' ) ;
13601356 } ) ;
13611357
13621358 it ( 'does not render course price information on SyllabusCourseRun' , async ( ) => {
@@ -1377,8 +1373,8 @@ describe('<SyllabusCourseRunsList/>', () => {
13771373 ) ;
13781374
13791375 const content = getHeaderContainer ( ) . innerHTML ;
1380- expect ( content ) . not . toContain ( 'The course content is paid. ' ) ;
1381- expect ( content ) . toContain ( '<dd>The certification process is paid. <br>€59.99</dd>' ) ;
1376+ expect ( content ) . not . toContain ( 'Paid access ' ) ;
1377+ expect ( content ) . toContain ( '<dd>Paid certificate <br>€59.99</dd>' ) ;
13821378 } ) ;
13831379
13841380 it ( 'does not render certificate price information on SyllabusCourseRun' , async ( ) => {
@@ -1399,8 +1395,8 @@ describe('<SyllabusCourseRunsList/>', () => {
13991395 ) ;
14001396
14011397 const content = getHeaderContainer ( ) . innerHTML ;
1402- expect ( content ) . toContain ( '<dd>The course content is paid. <br>€49.99</dd>' ) ;
1403- expect ( content ) . not . toContain ( 'The certification process is paid. ' ) ;
1398+ expect ( content ) . toContain ( '<dd>Paid access <br>€49.99</dd>' ) ;
1399+ expect ( content ) . not . toContain ( 'Paid certificate ' ) ;
14041400 } ) ;
14051401
14061402 it ( 'does not render prices but only offers on SyllabusCourseRun' , async ( ) => {
@@ -1421,8 +1417,8 @@ describe('<SyllabusCourseRunsList/>', () => {
14211417 ) ;
14221418
14231419 const content = getHeaderContainer ( ) . innerHTML ;
1424- expect ( content ) . toContain ( '<dd>The course content is free. <br></dd>' ) ;
1425- expect ( content ) . toContain ( '<dd>The certification process is free. <br></dd>' ) ;
1420+ expect ( content ) . toContain ( '<dd>Free access <br></dd>' ) ;
1421+ expect ( content ) . toContain ( '<dd>Free certificate <br></dd>' ) ;
14261422 } ) ;
14271423
14281424 it ( 'renders prices as zero on SyllabusCourseRun' , async ( ) => {
@@ -1443,8 +1439,8 @@ describe('<SyllabusCourseRunsList/>', () => {
14431439 ) ;
14441440
14451441 const content = getHeaderContainer ( ) . innerHTML ;
1446- expect ( content ) . toContain ( '<dd>The course content is free. <br>€0.00</dd>' ) ;
1447- expect ( content ) . toContain ( '<dd>The certification process is free. <br>€0.00</dd>' ) ;
1442+ expect ( content ) . toContain ( '<dd>Free access <br>€0.00</dd>' ) ;
1443+ expect ( content ) . toContain ( '<dd>Free certificate <br>€0.00</dd>' ) ;
14481444 } ) ;
14491445
14501446 it ( 'does not render invalid offers on SyllabusCourseRun' , async ( ) => {
0 commit comments