Fix flakey cli options test
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?
-
Changelog entry added -
Documentation created/updated for GitLab EE, if necessary -
Documentation created/updated for this project, if necessary -
Documentation reviewed by technical writer or follow-up review issue created -
Tests added for this feature/bug -
Job definition updated, if necessary -
Job definition example -
Vendored CI Templates (also in CE)
-
-
Conforms to the code review guidelines -
Conforms to the Go guidelines -
Security reports checked/validated by reviewer
Edited by Craig Smith