diff options
author | Vincent Petry <pvince81@owncloud.com> | 2014-12-18 12:10:11 +0100 |
---|---|---|
committer | Vincent Petry <pvince81@owncloud.com> | 2014-12-18 12:10:11 +0100 |
commit | 10a0fc2856bfa68ff04a42f141829a6e66a9b2da (patch) | |
tree | fc43cd96957075a79221372b9155da371c3eece8 /apps | |
parent | 5c6e08213e6ed52517f9f729ae91a2973f09c182 (diff) | |
parent | ec0401f97b39f12b611c997e39039420b085969c (diff) | |
download | nextcloud-server-10a0fc2856bfa68ff04a42f141829a6e66a9b2da.tar.gz nextcloud-server-10a0fc2856bfa68ff04a42f141829a6e66a9b2da.zip |
Merge pull request #12925 from owncloud/fix-js-unit-tests
be more explicit in JS unit tests - caused by accessibility issues
Diffstat (limited to 'apps')
-rw-r--r-- | apps/files/tests/js/filelistSpec.js | 2 | ||||
-rw-r--r-- | apps/files_external/tests/js/mountsfilelistSpec.js | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/apps/files/tests/js/filelistSpec.js b/apps/files/tests/js/filelistSpec.js index 6c83f214c39..6dafa262715 100644 --- a/apps/files/tests/js/filelistSpec.js +++ b/apps/files/tests/js/filelistSpec.js @@ -275,7 +275,7 @@ describe('OCA.Files.FileList tests', function() { mtime: -1 }; var $tr = fileList.add(fileData); - expect($tr.find('.date').text()).toEqual('?'); + expect($tr.find('.date .modified').text()).toEqual('?'); }); it('adds new file to the end of the list', function() { var $tr; diff --git a/apps/files_external/tests/js/mountsfilelistSpec.js b/apps/files_external/tests/js/mountsfilelistSpec.js index 50603081b6a..a4e4fec1177 100644 --- a/apps/files_external/tests/js/mountsfilelistSpec.js +++ b/apps/files_external/tests/js/mountsfilelistSpec.js @@ -144,7 +144,7 @@ describe('OCA.External.FileList tests', function() { '?dir=/mount%20points/smb%20mount' ); expect($tr.find('.nametext').text().trim()).toEqual('smb mount'); - expect($tr.find('.column-scope').text().trim()).toEqual('Personal'); + expect($tr.find('.column-scope > span').text().trim()).toEqual('Personal'); expect($tr.find('.column-backend').text().trim()).toEqual('SMB'); }); |