be more explicit in JS unit tests - caused by accessibility issues
This commit is contained in:
parent
82f8726903
commit
ec0401f97b
2 changed files with 2 additions and 2 deletions
|
@ -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;
|
||||
|
|
|
@ -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');
|
||||
|
||||
});
|
||||
|
|
Loading…
Reference in a new issue