1. 04 Jan, 2016 2 commits
    • Colin Eberhardt's avatar
      Merge pull request #1573 from ColinEberhardt/mhoyer-async-tests · 537c4122
      Colin Eberhardt authored
      Correcting asynchronous testing
      537c4122
    • Marcel Hoyer's avatar
      Correcting asynchronous testing · 951eb70b
      Marcel Hoyer authored
      removes unnecessary .then() chaining in test.js as selenium-webdriver already queues calls internally
      
      fixed confusing inverted use of idSelector variable
      
      promisified all tests
      
      promisified test.launchBrowser() and global test hooks
      
      promisified test.closeBrowser()
      
      promisified test.createStandardItems()
      
      🛀 streamlined testOps to always return the promise and flattened out the thens
      
      fixed testOps.assertClearCompleteButtonText() to wait for visible clear-complete button before asserting
      
      fixed testOps.assertClearCompleteButtonIsVisible() to lazy wait for visible clear-complete button
      
      renamed testOps.assertFocussedElementId() to .assertFocussedElement() and streamlined code
      
      fixed page.clickMarkAllCompletedCheckBox() to return inner promise
      
      fixed page.enterItem() to return the promise and flattened out the thens
      
      renamed page.getFocussedElementName() with .getFocussedElementIdOrClass()
      
      fixed page.ensureAppIsVisible() to wait for 'new-todo' element instead of 'main' as some frameworks build the contents after DOM-ready
      
      fixed page.clickClearCompleteButton() to wait for actual button to display before clicking
      
      extracted page.waitForVisibleElement() helper function
      951eb70b
  2. 30 Dec, 2015 1 commit
  3. 29 Dec, 2015 7 commits
  4. 28 Dec, 2015 1 commit
  5. 26 Dec, 2015 5 commits
  6. 24 Dec, 2015 1 commit
  7. 23 Dec, 2015 5 commits
  8. 22 Dec, 2015 1 commit
  9. 21 Dec, 2015 4 commits
  10. 17 Dec, 2015 1 commit
  11. 15 Dec, 2015 1 commit
  12. 14 Dec, 2015 1 commit
  13. 13 Dec, 2015 1 commit
  14. 04 Dec, 2015 3 commits
  15. 03 Dec, 2015 4 commits
  16. 02 Dec, 2015 2 commits