Commit ec0401f9 authored by Morris Jobke's avatar Morris Jobke
Browse files

be more explicit in JS unit tests - caused by accessibility issues

parent 82f87269
......@@ -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');
});
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment