@@ -199,8 +199,9 @@ private Html buildHtml() throws IOException, ParseException {
199199 new Div (this , new ClassAttribute ("container-fluid" )) {{
200200 new Div (this ,
201201 new ClassAttribute ("row" )) {{
202- new Div (this , new Style ("background-color: rgb(0,191,255); color: white; padding: 10px" )) {{
203- new H1 (this ) {{
202+ new Div (this ,
203+ new Style ("background-color: rgb(0,191,255); color: white; padding: 10px; font-size:18px; font-weight: 300;" )) {{
204+ new H1 (this , new Style ("font-size:18px; font-weight: 300;" )) {{
204205 new NoTag (this , String .format ("Results from: %s" , new SimpleDateFormat ("yyyy-MM-dd HH:mm:ss" ).format (new Date ())));
205206 }};
206207 }};
@@ -248,16 +249,16 @@ private Html buildHtml() throws IOException, ParseException {
248249 new Style ("margin-top:2px" ),
249250 new ClassAttribute ("accordion" )) {{
250251 new H1 (this ,
251- new Style ("color: rgb(47,79,79); font-size:24px" )) {{
252+ new Style ("color: rgb(47,79,79); font-size:24px; font-size:18px; font-weight: 300; " )) {{
252253 new NoTag (this , String .format ("Scenario: \" %s\" " , jsonObject .get (SCENARIO )));
253254 if (isFailed ) {
254255 new Span (this ,
255- new Style ("color: tomato ; float:right; font-size:18px; margin-right: 32px" )) {{
256+ new Style ("color: rgb(255,99,71) ; float:right; font-size:18px; font-weight: 500 ; margin-right: 32px" )) {{
256257 new NoTag (this , "Failed" );
257258 }};
258259 } else {
259260 new Span (this ,
260- new Style ("color: green ; float:right; font-size:18px; margin-right: 32px" )) {{
261+ new Style ("color: rgb(60,179,113) ; float:right; font-size:18px; font-weight: 500 ; margin-right: 32px" )) {{
261262 new NoTag (this , "Passed" );
262263 }};
263264 }
@@ -269,11 +270,11 @@ private Html buildHtml() throws IOException, ParseException {
269270 //new Style("background: #f5f5f5"),
270271 new ClassAttribute ("panel" )) {{
271272 new H2 (this ,
272- new Style ("color: rgb(0,139,139)" )) {{
273+ new Style ("color: rgb(0,139,139); font-size:18px; font-weight: 300; " )) {{
273274 new NoTag (this , String .format ("Element: \" %s\" " , jsonObject .get (ELEMENT_NAME )));
274275 }};
275276 new H3 (this ,
276- new Style ("color: rgb(255,69,0)" )) {{
277+ new Style ("color: rgb(255,69,0); font-size:18px; font-weight: 300; " )) {{
277278 new NoTag (this , "Failures:" );
278279 }};
279280 new Ol (this ) {{
@@ -282,13 +283,14 @@ private Html buildHtml() throws IOException, ParseException {
282283 JSONObject reason = (JSONObject ) det .get (REASON );
283284 String numE = (String ) reason .get (MESSAGE );
284285
285- new Li (this ) {{
286+ new Li (this ,
287+ new Style ("color: rgb(105,105,105); font-size:14px; font-weight: 300;" )) {{
286288 new NoTag (this , numE );
287289 }};
288290 }
289291 }};
290292 new H4 (this ,
291- new Style ("color: rgb(105,105,105)" )) {{
293+ new Style ("color: rgb(105,105,105); font-size:14px; font-weight: 300; " )) {{
292294 new NoTag (this , String .format ("Time execution: %s" , jsonObject .get (TIME_EXECUTION )));
293295 }};
294296
@@ -356,10 +358,12 @@ private Html buildHtml() throws IOException, ParseException {
356358 " values: [" + successCounter + ", " + failuresCounter + "],\n " +
357359 " labels: ['Passed', 'Failed'],\n " +
358360 " type: 'pie',\n " +
361+ " marker: {colors: ['rgb(60,179,113)', 'rgb(255,99,71)']},\n " +
359362 " hole: .4\n " +
360363 "}];\n " +
361364 "\n " +
362365 "var layout = {\n " +
366+ " title: 'Stats',\n " +
363367 " height: 400,\n " +
364368 " width: 500,\n " +
365369 "};\n " +
@@ -376,6 +380,7 @@ private Html buildHtml() throws IOException, ParseException {
376380 " }\n " +
377381 "];\n " +
378382 "var layout = {\n " +
383+ " title: 'Duration, ms',\n " +
379384 " height: 400\n " +
380385 "};\n " +
381386 "\n " +
0 commit comments