summaryrefslogtreecommitdiffstats
path: root/apps/files/tests/js/filelistSpec.js
diff options
context:
space:
mode:
authorMorris Jobke <hey@morrisjobke.de>2018-11-15 13:40:05 +0100
committerMorris Jobke <hey@morrisjobke.de>2018-11-15 13:40:05 +0100
commitc09560627fd34bd48887e44b4cbf1db2d8efc0ac (patch)
treef96c34fea3c0638f43ca403df75122ee0693ede5 /apps/files/tests/js/filelistSpec.js
parent61f7eecc0b6ccc8ef29bee8e5aa3384e2363722a (diff)
downloadnextcloud-server-c09560627fd34bd48887e44b4cbf1db2d8efc0ac.tar.gz
nextcloud-server-c09560627fd34bd48887e44b4cbf1db2d8efc0ac.zip
Enhance jsunit tests
Signed-off-by: Morris Jobke <hey@morrisjobke.de>
Diffstat (limited to 'apps/files/tests/js/filelistSpec.js')
-rw-r--r--apps/files/tests/js/filelistSpec.js3
1 files changed, 2 insertions, 1 deletions
diff --git a/apps/files/tests/js/filelistSpec.js b/apps/files/tests/js/filelistSpec.js
index 0d18336043e..eae72ff05dc 100644
--- a/apps/files/tests/js/filelistSpec.js
+++ b/apps/files/tests/js/filelistSpec.js
@@ -777,7 +777,8 @@ describe('OCA.Files.FileList tests', function() {
// trigger rename prompt
fileList.rename('One.txt');
- expect($tr.find('a.name').css('display')).toEqual('none');
+ expect($tr.find('a.name .thumbnail-wrapper').css('display')).not.toEqual('none');
+ expect($tr.find('a.name .nametext').css('display')).toEqual('none');
$input = fileList.$fileList.find('input.filename');
$input.val('Two.jpg');