fix: 4 - adding comments for test

This commit is contained in:
Sami 2024-09-27 21:55:36 -04:00
parent 4592c1d74e
commit 72f873c8d8

View File

@ -42,10 +42,11 @@ public class Initialization {
spark.config().setReportName("Zenful");
extent = new ExtentReports();
extent.attachReporter(spark);
extent.setSystemInfo("Test Done By: ", "Sami");
//conditioning our WebDriver with an if statement
extent.setSystemInfo("Tester ID: ", "Sami");
//conditioning our WebDriver with an if statement
String browsername = prop.getProperty("browserC");
//launching FireFox
if (browsername.equalsIgnoreCase("firefox")) {
System.setProperty("web-driver.gecko.driver","user.dir" + "/drivers/geckodriver");