QA/Mozmill Test Automation/Test Modules Refactor: Difference between revisions

Line 103: Line 103:
   url: LOCAL_TEST_FOLDER + ‘someFolder/someFile.html’ }
   url: LOCAL_TEST_FOLDER + ‘someFolder/someFile.html’ }
];
];
</pre>
; waitFor()
* Proposed Guildeline:
** All ''wait'' cases should use the waitFor() function
** Use the following formatting:
<pre>
controller.waitFor(function() {
  return someObject.value == expectedValue;
}, TIMEOUT, 100, “My failure message”);
</pre>
</pre>
Confirmed users
14,525

edits