@@ -65,83 +65,7 @@ class MockReportService {
6565 reportStatus : 'COMPLETED' ,
6666 buildUuid : 'mock-build-123' ,
6767 report : {
68- basicHtml : `<body>
69-
70- <h2>Build Insights</h2>
71-
72- <table border="1">
73- <tr>
74- <th align="center">All</th>
75- <th align="center">Passed</th>
76- <th align="center">Failed</th>
77- <th align="center">Skipped</th>
78- <th align="center">Unknown</th>
79- </tr>
80- <tr>
81- <td align="center"><a href="https://observability.browserstack.com/builds/9e0f1d5d68bdeef3d04240315ce1478d1b90c731?tab=tests&utm_medium=cicd&utm_source=github-actions" target="_blank">1</a></td>
82- <td align="center"><a href="https://observability.browserstack.com/builds/9e0f1d5d68bdeef3d04240315ce1478d1b90c731?tab=tests&status=passed&utm_medium=cicd&utm_source=github-actions" target="_blank">0</a></td>
83- <td align="center"><a href="https://observability.browserstack.com/builds/9e0f1d5d68bdeef3d04240315ce1478d1b90c731?tab=tests&status=failed&utm_medium=cicd&utm_source=github-actions" target="_blank">0</a></td>
84- <td align="center"><a href="https://observability.browserstack.com/builds/9e0f1d5d68bdeef3d04240315ce1478d1b90c731?tab=tests&status=skipped&utm_medium=cicd&utm_source=github-actions" target="_blank">0</a></td>
85- <td align="center">1</td>
86- </tr>
87- </table>
88-
89- <br>
90-
91- <table border="1">
92- <tr>
93- <td align="center">New Failures</td>
94- <td align="center"><a href="https://observability.browserstack.com/builds/9e0f1d5d68bdeef3d04240315ce1478d1b90c731?tab=insights&utm_medium=cicd&utm_source=github-actions" target="_blank">View</a></td>
95- </tr>
96- <tr>
97- <td align="center">Always Failing</td>
98- <td align="center"><a href="https://observability.browserstack.com/builds/9e0f1d5d68bdeef3d04240315ce1478d1b90c731?tab=insights&utm_medium=cicd&utm_source=github-actions" target="_blank">View</a></td>
99- </tr>
100- <tr>
101- <td align="center">Flaky Test</td>
102- <td align="center"><a href="https://observability.browserstack.com/builds/9e0f1d5d68bdeef3d04240315ce1478d1b90c731?tab=insights&utm_medium=cicd&utm_source=github-actions" target="_blank">View</a></td>
103- </tr>
104- <tr>
105- <td align="center">Muted Tests</td>
106- <td align="center"><a href="https://observability.browserstack.com/builds/9e0f1d5d68bdeef3d04240315ce1478d1b90c731?tab=insights&utm_medium=cicd&utm_source=github-actions" target="_blank">View</a></td>
107- </tr>
108- <tr>
109- <td align="center">Unique Errors</td>
110- <td align="center"><a href="https://observability.browserstack.com/builds/9e0f1d5d68bdeef3d04240315ce1478d1b90c731?tab=insights&utm_medium=cicd&utm_source=github-actions" target="_blank">View</a></td>
111- </tr>
112- <tr>
113- <td align="center">Performance Anomaly</td>
114- <td align="center"><a href="https://observability.browserstack.com/builds/9e0f1d5d68bdeef3d04240315ce1478d1b90c731?tab=insights&utm_medium=cicd&utm_source=github-actions" target="_blank">View</a></td>
115- </tr>
116- </table>
117- <br>
118- Note: To check the metrics above, either click on view or increase report generation timeout setting as per <a href=”https://www.browserstack.com/docs/automate/selenium/github-actions?&utm_medium=cicd&utm_source=github-actions” target=”_blank”>documentation</a>.
119-
120- <h2>Test List</h2>
121-
122- <table border="1">
123- <thead>
124- <tr>
125- <th align="center">Test Name</th>
126- <th align="center">Status</th>
127- <th align="center">Test History</th>
128- <th align="center">Browser/Device</th>
129- <th align="center">OS</th>
130- <th align="center">Duration</th>
131- </tr>
132- </thead>
133- <tbody>
134- <tr>
135- <td class="test-link"><a href="https://observability.browserstack.com/builds/9e0f1d5d68bdeef3d04240315ce1478d1b90c731?tab=tests&details=13515011&utm_medium=cicd&utm_source=github-actions"target="_blank">BStack-[NodeJS] Sample Test</a></td>
136- <td class="status-unmarked">unmarked</td>
137- <td class="test-history"><a href="https://observability.browserstack.com/builds/9e0f1d5d68bdeef3d04240315ce1478d1b90c731?tab=tests&details=13515011&utm_medium=cicd&utm_source=github-actions"target="_blank">View History</a></td>
138- <td>firefox,138</td><td>OS X,Sonoma</td><td>74s</td>
139- </tr>
140-
141- </tbody>
142- </table>
143- </body>
144- ` ,
68+ basicHtml : "<body>\n\n <h2>Build Insights</h2>\n\n <table border=\"1\">\n <tr>\n <th align=\"center\">All</th>\n <th align=\"center\">Passed</th>\n <th align=\"center\">Failed</th>\n <th align=\"center\">Skipped</th>\n <th align=\"center\">Unknown</th>\n </tr>\n <tr>\n <td align=\"center\"><a href=\"https://observability.browserstack.com/builds/9e0f1d5d68bdeef3d04240315ce1478d1b90c731?tab=tests&utm_medium=cicd&utm_source=github-actions\" target=\"_blank\">1</a></td>\n <td align=\"center\"><a href=\"https://observability.browserstack.com/builds/9e0f1d5d68bdeef3d04240315ce1478d1b90c731?tab=tests&status=passed&utm_medium=cicd&utm_source=github-actions\" target=\"_blank\">0</a></td>\n <td align=\"center\"><a href=\"https://observability.browserstack.com/builds/9e0f1d5d68bdeef3d04240315ce1478d1b90c731?tab=tests&status=failed&utm_medium=cicd&utm_source=github-actions\" target=\"_blank\">0</a></td>\n <td align=\"center\"><a href=\"https://observability.browserstack.com/builds/9e0f1d5d68bdeef3d04240315ce1478d1b90c731?tab=tests&status=skipped&utm_medium=cicd&utm_source=github-actions\" target=\"_blank\">0</a></td>\n <td align=\"center\">1</td>\n </tr>\n </table>\n\n <br>\n\n <table border=\"1\">\n <tr>\n <td align=\"center\">New Failures</td>\n <td align=\"center\"><a href=\"https://observability.browserstack.com/builds/9e0f1d5d68bdeef3d04240315ce1478d1b90c731?tab=insights&utm_medium=cicd&utm_source=github-actions\" target=\"_blank\">View</a></td>\n </tr>\n <tr>\n <td align=\"center\">Always Failing</td>\n <td align=\"center\"><a href=\"https://observability.browserstack.com/builds/9e0f1d5d68bdeef3d04240315ce1478d1b90c731?tab=insights&utm_medium=cicd&utm_source=github-actions\" target=\"_blank\">View</a></td>\n </tr>\n <tr>\n <td align=\"center\">Flaky Test</td>\n <td align=\"center\"><a href=\"https://observability.browserstack.com/builds/9e0f1d5d68bdeef3d04240315ce1478d1b90c731?tab=insights&utm_medium=cicd&utm_source=github-actions\" target=\"_blank\">View</a></td>\n </tr>\n <tr>\n <td align=\"center\">Muted Tests</td>\n <td align=\"center\"><a href=\"https://observability.browserstack.com/builds/9e0f1d5d68bdeef3d04240315ce1478d1b90c731?tab=insights&utm_medium=cicd&utm_source=github-actions\" target=\"_blank\">View</a></td>\n </tr>\n <tr>\n <td align=\"center\">Unique Errors</td>\n <td align=\"center\"><a href=\"https://observability.browserstack.com/builds/9e0f1d5d68bdeef3d04240315ce1478d1b90c731?tab=insights&utm_medium=cicd&utm_source=github-actions\" target=\"_blank\">View</a></td>\n </tr>\n <tr>\n <td align=\"center\">Performance Anomaly</td>\n <td align=\"center\"><a href=\"https://observability.browserstack.com/builds/9e0f1d5d68bdeef3d04240315ce1478d1b90c731?tab=insights&utm_medium=cicd&utm_source=github-actions\" target=\"_blank\">View</a></td>\n </tr>\n </table>\n <br>\n Note: To check the metrics above, either click on view or increase report generation timeout setting as per <a href=”https://www.browserstack.com/docs/automate/selenium/github-actions?&utm_medium=cicd&utm_source=github-actions” target=”_blank”>documentation</a>.\n\n <h2>Test List</h2>\n\n <table border=\"1\">\n <thead>\n <tr>\n <th align=\"center\">Test Name</th>\n <th align=\"center\">Status</th>\n <th align=\"center\">Test History</th>\n <th align=\"center\">Browser/Device</th>\n <th align=\"center\">OS</th>\n <th align=\"center\">Duration</th>\n </tr>\n </thead>\n <tbody>\n <tr>\n <td class=\"test-link\"><a href=\"https://observability.browserstack.com/builds/9e0f1d5d68bdeef3d04240315ce1478d1b90c731?tab=tests&details=13515011&utm_medium=cicd&utm_source=github-actions\"target=\"_blank\">BStack-[NodeJS] Sample Test</a></td>\n <td class=\"status-unmarked\">unmarked</td>\n <td class=\"test-history\"><a href=\"https://observability.browserstack.com/builds/9e0f1d5d68bdeef3d04240315ce1478d1b90c731?tab=tests&details=13515011&utm_medium=cicd&utm_source=github-actions\"target=\"_blank\">View History</a></td>\n <td>firefox,138</td><td>OS X,Sonoma</td><td>74s</td>\n </tr>\n\n </tbody>\n </table>\n</body>\n" ,
14569 richHtml : `<body>
14670
14771 <h2>Build Insights</h2>
0 commit comments