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

Line 89: Line 89:
* Henrik: We should use Name, Link, and XPath as well
* Henrik: We should use Name, Link, and XPath as well
* Aaron: Establish a module/API to handle loading of any needed test files
* Aaron: Establish a module/API to handle loading of any needed test files
; Array Formatting
* Proposed Guidelines:
** Each array element on its own line
** Each element member on its own line
<pre>
const LOCAL_TEST_PAGES = [
{ id: “Some_ID”,
  url: LOCAL_TEST_FOLDER + ‘someFolder/someFile.html’ },
{ id: “Some_ID”,
  url: LOCAL_TEST_FOLDER + ‘someFolder/someFile.html’ },
{ id: “Some_ID”,
  url: LOCAL_TEST_FOLDER + ‘someFolder/someFile.html’ }
];
</pre>
Confirmed users
14,525

edits