/* global QUnit */ /* Copyright 2016 LasLabs Inc. * License LGPL-3.0 or later (http://www.gnu.org/licenses/lgpl). */ odoo.define('web_responsive.test', function(require) { "use strict"; var core = require('web.core'); var responsive = require('web_responsive'); QUnit.module('web_responsive', { beforeEach: function() { var $el = $( '
' ); this.$clickZone = $el.find('a.oe_menu_leaf'); this.$secondaryMenu = $el.find('div.o_sub_menu_content').parent(); this.$dropdown = $el.find('div.dropdown-scrollable'); this.document = $("#qunit-fixture"); this.document.append($el); this.drawer = new responsive.AppDrawer(); }, linkGrid: function() { for(var i = 0; i < 3; i++){ this.drawer.$el.append( $('