Ticket #32577: 32577.2.patch
File 32577.2.patch, 2.3 KB (added by , 7 years ago) |
---|
-
tests/qunit/fixtures/customize-settings.js
3 3 4 4 var customizerRootElement; 5 5 customizerRootElement = jQuery( '<div id="customize-theme-controls"><ul></ul></div>' ); 6 customizerRootElement.css( { position: 'absolute', left: -10000, top: -10000 } ); // Remove from view.6 customizerRootElement.css( { position: 'absolute', top: -1000 } ); // Remove from view. 7 7 jQuery( document.body ).append( customizerRootElement ); 8 8 9 9 window._wpCustomizeSettings = { -
tests/qunit/wp-admin/js/customize-controls.js
219 219 control.focus(); 220 220 ok( section.expanded() ); 221 221 ok( panel.expanded() ); 222 223 // Clean up at the end of the module. 224 panel.container.remove(); 222 225 } ); 223 226 224 227 module( 'Customizer Default Panel with Template in Fixture' ); … … 437 440 438 441 test( 'Panel instance is not contextuallyActive', function () { 439 442 equal( mockPanel.isContextuallyActive(), false ); 443 444 // Clean up at the end of the module. 445 mockPanel.container.remove(); 440 446 }); 441 447 }); -
tests/qunit/wp-admin/js/customize-nav-menus.js
123 123 var control = api.Menus.getMenuItemControl( 2000 ); 124 124 ok( !! control, 'control is returned' ); 125 125 ok( control.extended( api.Menus.MenuItemControl ), 'control is a MenuItemControl' ); 126 127 // Clean up at the end of the module. 128 api.panel( 'nav_menus' ).container.remove(); 126 129 } ); 127 130 128 131 } ); -
tests/qunit/wp-admin/js/customize-widgets.js
67 67 } ); 68 68 69 69 expect( 4 ); 70 71 // Clean up at the end of the module. 72 panel.container.remove(); 70 73 }); 71 74 });