diff options
author | Julius Härtl <jus@bitgrid.net> | 2018-08-27 18:03:42 +0200 |
---|---|---|
committer | Roeland Jago Douma <roeland@famdouma.nl> | 2018-11-02 19:57:06 +0100 |
commit | a696c011c24b76b2590a9f45fc861e8b4a667b03 (patch) | |
tree | 3670269c34474c24bae6fb934a28306015a3de36 /core/js/tests | |
parent | 4ba709bb7174c260c29e728dfe623c007c1ffc56 (diff) | |
download | nextcloud-server-a696c011c24b76b2590a9f45fc861e8b4a667b03.tar.gz nextcloud-server-a696c011c24b76b2590a9f45fc861e8b4a667b03.zip |
Fix app menu calculation for random size of the right header
Signed-off-by: Julius Härtl <jus@bitgrid.net>
Diffstat (limited to 'core/js/tests')
-rw-r--r-- | core/js/tests/specs/coreSpec.js | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/core/js/tests/specs/coreSpec.js b/core/js/tests/specs/coreSpec.js index 67b7d77be6c..63c02048a34 100644 --- a/core/js/tests/specs/coreSpec.js +++ b/core/js/tests/specs/coreSpec.js @@ -573,6 +573,10 @@ describe('Core base tests', function() { }); it('Clicking menu toggle toggles navigation in', function() { window.initCore(); + // fore show more apps icon since otherwise it would be hidden since no icons are available + clock.tick(1 * 1000); + $('#more-apps').show(); + expect($navigation.is(':visible')).toEqual(false); $toggle.click(); clock.tick(1 * 1000); |