mockup/contextual-menu: Fix thememapper test to adapt Build rule and Build css butto

Asko Soukka <jenkins-z4DKO/[email protected]> Tue, 01 Aug 2017 09:25:03 -0700 (PDT)
Newsgroups gmane.comp.web.zope.plone.cvs
Message-ID <[email protected]>
Repository: mockup
Branch: refs/heads/contextual-menu
Date: 2017-07-28T22:22:26+03:00
Author: Asko Soukka (datakurre) <[email protected]>
Commit: https://github.com/plone/mockup/commit/e97b6146cad7a4962585074a60e10e567cca030b

Fix thememapper test to adapt Build rule and Build css buttons being moved under dropdown

Files changed:
M mockup/tests/pattern-thememapper-test.js

diff --git a/mockup/tests/pattern-thememapper-test.js b/mockup/tests/pattern-thememapper-test.js
index 78576912..f7362f7c 100644
--- a/mockup/tests/pattern-thememapper-test.js
+++ b/mockup/tests/pattern-thememapper-test.js
@@ -39,7 +39,9 @@ define([
       expect($('.pat-filemanager', this.$el).length > 0).to.be.equal(true);
       expect($('#btngroup-mapper', this.$el).length > 0).to.be.equal(true);
       expect($('#btn-showinspectors', this.$el).length > 0).to.be.equal(true);
-      expect($('#btn-buildrule', this.$el).length > 0).to.be.equal(true);
+      expect($('#dropdown-menu-', this.$el).length > 0).to.be.equal(true);
+      expect($('.btn-group-dropdown #alink-buildrule', this.$el).length > 0).to.be.equal(true);
+      expect($('.btn-group-dropdown #alink-buildless', this.$el).length > 0).to.be.equal(true);
       expect($('#btn-previewtheme', this.$el).length > 0).to.be.equal(true);
       expect($('#btn-fullscreenEditor', this.$el).length > 0).to.be.equal(true);
       expect($('#btn-helpbutton', this.$el).length > 0).to.be.equal(true);



------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot