]> source.dussan.org Git - nextcloud-server.git/commit
Added testArea for JS Unit tests
authorVincent Petry <pvince81@owncloud.com>
Thu, 6 Mar 2014 11:50:18 +0000 (12:50 +0100)
committerVincent Petry <pvince81@owncloud.com>
Thu, 6 Mar 2014 11:50:18 +0000 (12:50 +0100)
commite129f6845b8ec728455737e46cda872cc45f50c2
treeee208db940f3a08d5ca0bbc199cd0b3b8b9d5036
parent1785c0c9b9fcdc6e9a8e58f13f45e5b53364882a
Added testArea for JS Unit tests

Added a testArea that is outside the viewport but still considered as
visible from the jQuery code.

The testArea is useful when:
- tested code tries to access DOM elements using global ids
- tested code is requiring some UI elements to be visible to activate
  themselves
core/js/tests/specHelper.js