Skip to content

Commit

Permalink
Merge pull request #1692
Browse files Browse the repository at this point in the history
* remove important links attachment
  • Loading branch information
MohabMohie authored Aug 12, 2024
1 parent 67b9df8 commit af04e96
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 13 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,6 @@ public class ConfigurationHelper {

@BeforeTest(description = "Engine Setup", alwaysRun = true)
public void suiteSetup(ITestContext testContext) {
ReportHelper.attachImportantLinks();
ReportHelper.attachPropertyFiles();
}

Expand Down
12 changes: 0 additions & 12 deletions src/main/java/com/shaft/tools/io/internal/ReportHelper.java
Original file line number Diff line number Diff line change
Expand Up @@ -22,18 +22,6 @@ public static void attachIssuesLog() {
ReportManagerHelper.attachIssuesLog(executionEndTimestamp);
}

public static void attachImportantLinks() {
ReportManager.logDiscrete("Initializing Important Links...");
disableLogging();
String importantLinks = """
<ul>
<li>👤 <a href="https://shafthq.github.io/" target=”_blank”>User Guide</a></li>
<li>👨‍💻️ <a href="https://github.com/ShaftHQ/SHAFT_ENGINE" target=”_blank”>GitHub - Home</a></li>
</ul>""";
ReportManagerHelper.attach("HTML", "Important Links", importantLinks);
enableLogging();
}

public static void enableLogging() {
SHAFT.Properties.reporting.set().disableLogging(false);
}
Expand Down

0 comments on commit af04e96

Please sign in to comment.