extent-framework / extentreports-java

Extent Reporting Library, Java
http://extentreports.com
Apache License 2.0
224 stars 127 forks source link

ExtentReports _ Spark Reporter _ HyperLinks on Bug Page Not redirect to failed tests in latest version 5.1.1 #411

Closed AhmdZanoon closed 1 year ago

AhmdZanoon commented 1 year ago

in latest version 5.1.1 hyper links on bug pages in generated report not redirect to failed tests

sample code

import org.testng.annotations.Test;

import com.aventstack.extentreports.ExtentReports;
import com.aventstack.extentreports.ExtentTest;
import com.aventstack.extentreports.Status;
import com.aventstack.extentreports.reporter.ExtentSparkReporter;

public class TestExtent {

    @Test(description="test description")
    public void testFail(Method method) {
        ExtentReports extent = new ExtentReports();
        ExtentSparkReporter spark = new ExtentSparkReporter("target/");
        extent.attachReporter(spark);
        ExtentTest test;
        test = extent.createTest("Test Name here");
        test.fail(new IllegalStateException("Fail message"));
        extent.flush();
    }
}

image

AhmdZanoon commented 1 year ago

dear @anshooarora for your kind support

AhmdZanoon commented 1 year ago

Dear @anshooarora any chance for that to be solved soon 😊

AhmdZanoon commented 1 year ago

dear @anshooarora will the fix be available next release or this is hot fix that i can use immediately , and if i can use it immediately kindly tell me how

anshooarora commented 1 year ago

It's currently available as a SNAPSHOT release: https://oss.sonatype.org/content/repositories/snapshots/com/aventstack/extentreports/5.1.2-SNAPSHOT/

<groupId>com.aventstack</groupId>
<artifactId>extentreports</artifactId>
<version>5.1.2-SNAPSHOT</version>
AhmdZanoon commented 1 year ago

It's currently available as a SNAPSHOT release: https://oss.sonatype.org/content/repositories/snapshots/com/aventstack/extentreports/5.1.2-SNAPSHOT/

<groupId>com.aventstack</groupId>
<artifactId>extentreports</artifactId>
<version>5.1.2-SNAPSHOT</version>

Many thanks @anshooarora