diff options
author | Daniel Calviño Sánchez <danxuliu@gmail.com> | 2018-02-28 15:00:44 +0100 |
---|---|---|
committer | Daniel Calviño Sánchez <danxuliu@gmail.com> | 2018-02-28 15:03:26 +0100 |
commit | ad71abca6ff6d959dd5979a7f6b73c0a1cbc37fd (patch) | |
tree | 67179159388820d295a0b0791d7b505d9b1ebaf2 /apps/files/tests/js | |
parent | 292476911fdf77a7cb8d0d1202ed05a38c5ced3b (diff) | |
download | nextcloud-server-ad71abca6ff6d959dd5979a7f6b73c0a1cbc37fd.tar.gz nextcloud-server-ad71abca6ff6d959dd5979a7f6b73c0a1cbc37fd.zip |
Update comments in tests
Menu and home are not always visible; home is always visible, but menu
is shown only when needed.
Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
Diffstat (limited to 'apps/files/tests/js')
-rw-r--r-- | apps/files/tests/js/breadcrumbSpec.js | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/apps/files/tests/js/breadcrumbSpec.js b/apps/files/tests/js/breadcrumbSpec.js index ebc70f35a78..14ad42a915d 100644 --- a/apps/files/tests/js/breadcrumbSpec.js +++ b/apps/files/tests/js/breadcrumbSpec.js @@ -290,7 +290,8 @@ describe('OCA.Files.BreadCrumb tests', function() { $crumbs = bc.$el.find('.crumb'); - // Menu and home are always visible + // Second, third, fourth and fifth crumb are hidden and everything + // else is visible expect($crumbs.eq(0).hasClass('hidden')).toEqual(false); expect($crumbs.eq(1).hasClass('hidden')).toEqual(false); @@ -309,7 +310,7 @@ describe('OCA.Files.BreadCrumb tests', function() { $crumbs = bc.$el.find('.crumb'); - // Menu and home are always visible + // Third and fourth crumb are hidden and everything else is visible expect($crumbs.eq(0).hasClass('hidden')).toEqual(false); expect($crumbs.eq(1).hasClass('hidden')).toEqual(false); @@ -518,7 +519,7 @@ describe('OCA.Files.BreadCrumb tests', function() { $('#controls').width(950); bc._resize(); - // Menu and home are always visible + // Third crumb is hidden and everything else is visible expect($crumbs.eq(0).hasClass('hidden')).toEqual(false); expect($crumbs.eq(1).hasClass('hidden')).toEqual(false); |