Check Rspamc ${result} "jim@example.net"
Should Contain ${result.stdout} "bob@example.net"
Should Contain ${result.stdout} "rupert@example.net"
+
+EMAILS DETECTION ZEROFONT
+ ${result} = Scan File ${LOCAL_ADDR} ${PORT_NORMAL} ${TESTDIR}/messages/zerofont.eml
+ Follow Rspamd Log
+ Should Contain ${result} MANY_INVISIBLE_PARTS
+ Should Contain ${result} ZERO_FONT
\ No newline at end of file
--- /dev/null
+From: foobar@example.com
+Content-Type: text/html
+
+<!doctype html>
+<html lang="en-US" dir="ltr">
+ <head>
+ <meta charset="utf-8">
+ <meta http-equiv="Content-Security-Policy-Report-Only" content="script-src 'unsafe-inline'; img-src http: https: data: blob:; style-src 'unsafe-inline'; child-src 'none'; object-src 'none'; report-uri https://tiles.services.mozilla.com/v4/links/activity-stream/csp">
+ <title>New Tab</title>
+ <link rel="icon" type="image/png" href="chrome://branding/content/icon32.png"/>
+ <link rel="stylesheet" href="chrome://browser/content/contentSearchUI.css" />
+ <link rel="stylesheet" href="resource://activity-stream/css/activity-stream.css" />
+ </head>
+ <body class="activity-stream">
+ <div>fi<span style="FONT-SIZE: 0px">le </span>sh<span style="FONT-SIZE: 0px">aring </span></div>
+ </body>
+</html>