title: Selenium IDE - Assert commands returning false negatives
body: <p>If I run IDE scripts containing assert commands those steps pass when they should not.</p>
  
  <p>If those same steps are executed individually (i.e. selected in the steps pane and then x is pressed) they fail as expected.</p>
  
  <p>If I run those same scripts with the assert commands replaced with verify commands then the steps fail as expected.</p>
  
  <p>I am using Selenium IDE 2.9.1, Firefox 50.0.1, macOS 10.12.3</p>
  
  <p>See attached screenshot and source below.</p>
  
  <p><a href="https://i.stack.imgur.com/zpGyL.png" rel="nofollow noreferrer">Anomalous results screenshot</a></p>
  
  <p>Source:</p>
  
  <p><div class="snippet" data-lang="js" data-hide="false" data-console="true" data-babel="false">
  <div class="snippet-code">
  <pre class="snippet-code-html lang-html prettyprint-override"><code>&lt;?xml version="1.0" encoding="UTF-8"?&gt;
  &lt;!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"&gt;
  &lt;html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en"&gt;
  &lt;head profile="http://selenium-ide.openqa.org/profiles/test-case"&gt;
  &lt;meta http-equiv="Content-Type" content="text/html; charset=UTF-8" /&gt;
  &lt;link rel="selenium.base" href="https://fe.rel-330.stage.mpb.com/en-uk/" /&gt;
  &lt;title&gt;New Test&lt;/title&gt;
  &lt;/head&gt;
  &lt;body&gt;
  &lt;table cellpadding="1" cellspacing="1" border="1"&gt;
  &lt;thead&gt;
  &lt;tr&gt;&lt;td rowspan="1" colspan="3"&gt;New Test&lt;/td&gt;&lt;/tr&gt;
  &lt;/thead&gt;&lt;tbody&gt;
  &lt;tr&gt;
   &lt;td&gt;open&lt;/td&gt;
   &lt;td&gt;https://en.wikipedia.org/wiki/Selenium_(software)&lt;/td&gt;
   &lt;td&gt;&lt;/td&gt;
  &lt;/tr&gt;
  &lt;tr&gt;
   &lt;td&gt;waitForText&lt;/td&gt;
   &lt;td&gt;//h3/span&lt;/td&gt;
   &lt;td&gt;Selenium IDE&lt;/td&gt;
  &lt;/tr&gt;
  &lt;tr&gt;
   &lt;td&gt;verifyText&lt;/td&gt;
   &lt;td&gt;//h3/span&lt;/td&gt;
   &lt;td&gt;wookie&lt;/td&gt;
  &lt;/tr&gt;
  &lt;tr&gt;
   &lt;td&gt;verifyText&lt;/td&gt;
   &lt;td&gt;//h3/span&lt;/td&gt;
   &lt;td&gt;Selenium IDE&lt;/td&gt;
  &lt;/tr&gt;
  &lt;tr&gt;
   &lt;td&gt;verifyNotText&lt;/td&gt;
   &lt;td&gt;//h3/span&lt;/td&gt;
   &lt;td&gt;Selenium IDE&lt;/td&gt;
  &lt;/tr&gt;
  &lt;tr&gt;
   &lt;td&gt;verifyNotVisible&lt;/td&gt;
   &lt;td&gt;//h3/span&lt;/td&gt;
   &lt;td&gt;Selenium IDE&lt;/td&gt;
  &lt;/tr&gt;
  &lt;tr&gt;
   &lt;td&gt;verifyVisible&lt;/td&gt;
   &lt;td&gt;//h3/span&lt;/td&gt;
   &lt;td&gt;Selenium IDE&lt;/td&gt;
  &lt;/tr&gt;
  &lt;tr&gt;
   &lt;td&gt;verifyEval&lt;/td&gt;
   &lt;td&gt;storedVars['model1']==storedVars['emailConfirm1']&lt;/td&gt;
   &lt;td&gt;true&lt;/td&gt;
  &lt;/tr&gt;
  &lt;tr&gt;
   &lt;td&gt;verifyLocation&lt;/td&gt;
   &lt;td&gt;https://notwikipedia.com&lt;/td&gt;
   &lt;td&gt;&lt;/td&gt;
  &lt;/tr&gt;
  &lt;tr&gt;
   &lt;td&gt;assertText&lt;/td&gt;
   &lt;td&gt;//h3/span&lt;/td&gt;
   &lt;td&gt;wookie&lt;/td&gt;
  &lt;/tr&gt;
  &lt;tr&gt;
   &lt;td&gt;assertText&lt;/td&gt;
   &lt;td&gt;//h3/span&lt;/td&gt;
   &lt;td&gt;Selenium IDE&lt;/td&gt;
  &lt;/tr&gt;
  &lt;tr&gt;
   &lt;td&gt;assertNotText&lt;/td&gt;
   &lt;td&gt;//h3/span&lt;/td&gt;
   &lt;td&gt;Selenium IDE&lt;/td&gt;
  &lt;/tr&gt;
  &lt;tr&gt;
   &lt;td&gt;assertNotVisible&lt;/td&gt;
   &lt;td&gt;//h3/span&lt;/td&gt;
   &lt;td&gt;Selenium IDE&lt;/td&gt;
  &lt;/tr&gt;
  &lt;tr&gt;
   &lt;td&gt;assertVisible&lt;/td&gt;
   &lt;td&gt;//h3/span&lt;/td&gt;
   &lt;td&gt;Selenium IDE&lt;/td&gt;
  &lt;/tr&gt;
  &lt;tr&gt;
   &lt;td&gt;assertEval&lt;/td&gt;
   &lt;td&gt;storedVars['model1']==storedVars['emailConfirm1']&lt;/td&gt;
   &lt;td&gt;true&lt;/td&gt;
  &lt;/tr&gt;
  &lt;tr&gt;
   &lt;td&gt;assertLocation&lt;/td&gt;
   &lt;td&gt;https://notwikipedia.com&lt;/td&gt;
   &lt;td&gt;&lt;/td&gt;
  &lt;/tr&gt;
  &lt;tr&gt;
   &lt;td&gt;verifyEval&lt;/td&gt;
   &lt;td&gt;storedVars['model1']==storedVars['emailConfirm1']&lt;/td&gt;
   &lt;td&gt;true&lt;/td&gt;
  &lt;/tr&gt;
  &lt;/tbody&gt;&lt;/table&gt;
  &lt;/body&gt;
  &lt;/html&gt;</code></pre>
  </div>
  </div>
  </p>