Skip to content

Fix flakey cli options test

Craig Smith requested to merge fix_flakey_cli-options_test into master

What does this MR do?

Since !352 (merged) the reports generated by ZAP are no longer deterministic and intermittently fail with

@@ -160,7 +160,7 @@


             <tr bgcolor="#e8e8e8">
-                <td width="20%" class="indent1">URL</td><td width="80%">http://nginx</td>
+                <td width="20%" class="indent1">URL</td><td width="80%">http://nginx/sitemap.xml</td>
             </tr>

             <tr bgcolor="#e8e8e8">
@@ -170,7 +170,7 @@


             <tr bgcolor="#e8e8e8">
-                <td width="20%" class="indent1">URL</td><td width="80%">http://nginx/sitemap.xml</td>
+                <td width="20%" class="indent1">URL</td><td width="80%">http://nginx</td>
             </tr>

             <tr bgcolor="#e8e8e8">
FAILURE \u2717

This MR deals with that issue by only asserting that a single line exists in the generated report.

What are the relevant issue numbers?

Does this MR meet the acceptance criteria?

Edited by Craig Smith

Merge request reports