I have two test methods and I wrote some code to verify title of the link.In one method I have deliberately passed one method and failed the other one but in the report it gives pass status only in pie chart. How to track the failed one ?  

Below is my code: 

```
    package com.custom.reports;

import org.openqa.selenium.WebDriver;
import org.openqa.selenium.firefox.FirefoxDriver;
import org.testng.Assert;
import org.testng.ITestResult;
import org.testng.annotations.AfterMethod;
import org.testng.annotations.AfterSuite;
import org.testng.annotations.Test;

import com.relevantcodes.extentreports.ExtentReports;
import com.relevantcodes.extentreports.LogStatus;

public class CustomReports {
    WebDriver driver;
    ExtentReports logger;

    @Test(priority = 1)
    public void verifyTitle() {

        System.setProperty("webdriver.firefox.marionette", "C:\\geckodriver.exe");
        logger = ExtentReports.get(CustomReports.class);
        logger.init("C:\\Users\\siddhesh.kalgaonkar\\Documents\\Reports\\SecondReport.html", true);
        logger.startTest("Verify Title Test");
        driver = new FirefoxDriver();
        driver.manage().window().maximize();
        logger.log(LogStatus.INFO, "Browser is up and running..");
        driver.get("http://google.com");
        logger.log(LogStatus.INFO, "Application is up and running..");
        String title = driver.getTitle();
        Assert.assertTrue(title.contains("Google"));
        logger.log(LogStatus.INFO, "Title is verified..");
        logger.endTest();

    }

    @Test(priority = 2)
    public void verifyTitle2() {
        String title1 = driver.getTitle();
        Assert.assertTrue(title1.contains("Selenium"));
        logger.log(LogStatus.INFO, "Title is verified..");
        logger.endTest();
    }

    @AfterSuite
    public void afterFailed() { 
        driver.get("C:\\Users\\siddhesh.kalgaonkar\\Documents\\Reports\\SecondReport.html");
    }
}

```

and below is the screenshot of the report generated:  

[![enter image description here](https://i.stack.imgur.com/ubf7W.png)](https://i.stack.imgur.com/ubf7W.png)  

Please let me know if any additional information is required.  

Thanks in advance :)