mirror of
https://github.com/nextcloud/server.git
synced 2026-06-10 17:23:59 -04:00
Merge pull request #12925 from owncloud/fix-js-unit-tests
be more explicit in JS unit tests - caused by accessibility issues
This commit is contained in:
commit
10a0fc2856
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