public void ThenIMNavigatedToTheSummary() { test = extent.CreateTest("Add Tenant -- Add liability details and go to summary section"); test.AssignCategory("Add Tenant Testing"); AddTenantPage addTenant = new AddTenantPage(); if (addTenant.IsSubmitButtonDisplay()) { Base.test.Log(AventStack.ExtentReports.Status.Pass, "Test passed, successfully navigate to the summary "); } else { Base.test.Log(AventStack.ExtentReports.Status.Fail, "Test failed, fail to navigate to the summary "); } }