Enhance jsunit tests

Signed-off-by: Morris Jobke <hey@morrisjobke.de>
This commit is contained in:
Morris Jobke 2018-11-15 13:40:05 +01:00
parent 61f7eecc0b
commit c09560627f
No known key found for this signature in database
GPG Key ID: FE03C3A163FEDE68
1 changed files with 2 additions and 1 deletions

View File

@ -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');