Enhance jsunit tests
Signed-off-by: Morris Jobke <hey@morrisjobke.de>
This commit is contained in:
parent
61f7eecc0b
commit
c09560627f
|
@ -777,7 +777,8 @@ describe('OCA.Files.FileList tests', function() {
|
||||||
// trigger rename prompt
|
// trigger rename prompt
|
||||||
fileList.rename('One.txt');
|
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 = fileList.$fileList.find('input.filename');
|
||||||
$input.val('Two.jpg');
|
$input.val('Two.jpg');
|
||||||
|
|
Loading…
Reference in New Issue