SpiderFoot automates OSINT for threat intelligence and mapping your attack surface.
Python attacksurfacecticybersecurityfootprintinghackinginformation-gatheringinformation-securityinfosecintelligence-gatheringosintosint-frameworkosint-reconnaissanceosint-toolpentestingpythonreconsecurity-toolsthreat-intelligencethreatintel
Tests: Acceptance: Add correlation tests and increase timeouts (#1660)
bcoles5612a557abf1
diff --git a/test/acceptance/run b/test/acceptance/runindex 06726eec..0f42b6d9 100755--- a/test/acceptance/run+++ b/test/acceptance/run@@ -1,6 +1,10 @@#!/bin/bash# Run acceptance tests#+# Must be run with ./test/acceptance as current working directory.+#+# Requires SpiderFoot web server to be running on default port.+## Requires robotframework:# cd test/acceptance; pip3 install -r requirements.txtdiff --git a/test/acceptance/scan.robot b/test/acceptance/scan.robotindex 69fd1e7d..40425651 100644--- a/test/acceptance/scan.robot+++ b/test/acceptance/scan.robot@@ -39,6 +39,7 @@ Create a use case scanScan info page should render tabsElement Should Be Visible id:btn-statusElement Should Be Visible id:btn-browse+ Element Should Be Visible id:btn-correlationsElement Should Be Visible id:btn-graphElement Should Be Visible id:btn-infoElement Should Be Visible id:btn-log@@ -54,6 +55,10 @@ Scan info Browse tab should renderElement Should Be Visible id:searchvalueElement Should Be Visible id:searchbutton+Scan info Correlations tab should render+ Scan info page should render tabs+ Element Should Be Visible id:scansummary-content+Scan info Graph tab should renderScan info page should render tabsElement Should Be Visible id:graph-container@@ -104,7 +109,7 @@ Main navigation pages should render correctlyWait Until Page Contains New Scan timeout=5sNew scan page should renderClick Element id:nav-link-scans- Wait Until Page Contains Scans timeout=5s+ Wait Until Page Contains Started timeout=5sScan list page should renderClick Element id:nav-link-settingsWait Until Page Contains Settings timeout=5s@@ -113,7 +118,7 @@ Main navigation pages should render correctlyScan info page should render correctlyCreate a module scan test scan info spiderfoot.net sfp_countrynameWait Until Page Contains Browse timeout=5s- Wait Until Element Contains scanstatusbadge FINISHED timeout=5s+ Wait Until Element Contains scanstatusbadge FINISHED timeout=10sClick Element id:btn-statusScan info Summary tab should renderClick Element id:btn-browse@@ -133,7 +138,7 @@ Scan list page should list scansA sfp_dnsresolve scan should resolve INTERNET_NAME to IP_ADDRESSCreate a module scan dns resolve spiderfoot.net sfp_dnsresolveWait Until Page Contains Browse timeout=5s- Wait Until Element Contains scanstatusbadge FINISHED timeout=5s+ Wait Until Element Contains scanstatusbadge FINISHED timeout=10sClick Element id:btn-browseScan info Browse tab should renderPage Should Contain Domain Name@@ -143,7 +148,7 @@ A sfp_dnsresolve scan should resolve INTERNET_NAME to IP_ADDRESSA sfp_dnsresolve scan should reverse resolve IP_ADDRESS to INTERNET_NAMECreate a module scan reverse resolve 1.1.1.1 sfp_dnsresolveWait Until Page Contains Browse timeout=5s- Wait Until Element Contains scanstatusbadge FINISHED timeout=5s+ Wait Until Element Contains scanstatusbadge FINISHED timeout=10sClick Element id:btn-browseScan info Browse tab should renderPage Should Contain Domain Name@@ -153,7 +158,7 @@ A sfp_dnsresolve scan should reverse resolve IP_ADDRESS to INTERNET_NAME#A passive scan with unresolvable target internet name should fail# Create a use case scan shouldnotresolve.doesnotexist.local passive# Wait Until Page Contains Browse timeout=5s-# Wait Until Element Contains scanstatusbadge RUNNING timeout=5s+# Wait Until Element Contains scanstatusbadge RUNNING timeout=10s# Click Element id:btn-browse# Page Should Contain Domain Name# Page Should Contain Internet Name