import com.relevantcodes.extentreports.source.StepHtml;
import com.relevantcodes.extentreports.source.TestHtml;
import com.relevantcodes.extentreports.utils.DateTimeUtil;
class TestBuilder {
private static int logSize;
<BUG>public static Element getHTMLTest(Test test) {
logSize = 3;
if (test.getLog().size() > 0 && test.getLog().get(0).getStepName() != "") {
logSize = 4;
}</BUG>
String testSource = TestHtml.getSource(logSize);

import com.relevantcodes.extentreports.source.StepHtml;
import com.relevantcodes.extentreports.source.TestHtml;
import com.relevantcodes.extentreports.utils.DateTimeUtil;
class TestBuilder {
private static int logSize;
public static Element getHTMLTest(Test test) {
logSize = test.getLogColumnSize();
String testSource = TestHtml.getSource(logSize);
