text: /*~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
   ~ Copyright 2019 Adobe
   ~
   ~ Licensed under the Apache License, Version 2.0 (the "License");
   ~ you may not use this file except in compliance with the License.
   ~ You may obtain a copy of the License at
   ~
   ~     http://www.apache.org/licenses/LICENSE-2.0
   ~
   ~ Unless required by applicable law or agreed to in writing, software
   ~ distributed under the License is distributed on an "AS IS" BASIS,
   ~ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
   ~ See the License for the specific language governing permissions and
   ~ limitations under the License.
   ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~*/
  /* globals hobs,jQuery */
  ;(function(h, $) { // eslint-disable-line no-extra-semi
      "use strict";
  
      var c = window.CQ.CoreComponentsIT.commons;
      var contentfragmentlist = window.CQ.CoreComponentsIT.ContentFragmentList.v1;
      var selectors = {
          contentfragmentlist: {
              self: ".cmp-contentfragmentlist"
          },
          contentfragment: {
              self: ".cmp-contentfragment",
              title: ".cmp-contentfragment__title",
              elements: {
                  self: ".cmp-contentfragment__elements",
                  element: {
                      title: ".cmp-contentfragment__element-title",
                      value: ".cmp-contentfragment__element-value"
                  }
              }
          },
          editDialog: {
              tabs: {
                  elements: ".cmp-contentfragmentlist__editor coral-tab:eq(1)"
              },
              elements: {
                  addButton: "[coral-multifield-add]",
                  last: "coral-multifield-item:last",
                  select: {
                      button: "coral-select[name='./elementNames']  > button",
                      item: "coral-select[name='./elementNames'] coral-selectlist coral-selectlist-item"
                  }
              },
              parentPath: "[name='./parentPath']",
              tagNames: "[name='./tagNames']"
          }
      };
  
      var tcExecuteBeforeTest = contentfragmentlist.tcExecuteBeforeTest(c.tcExecuteBeforeTest, c.rtContentFragmentList_v1,
          "core/wcm/tests/components/test-page-v2", "core.wcm.components.contentfragmentlist.v1");
      var tcExecuteAfterTest  = contentfragmentlist.tcExecuteAfterTest(c.tcExecuteAfterTest, c.policyPath, c.policyAssignmentPath);
  
      new h.TestSuite("ContentFragmentList v1", {
          path: "/apps/core/wcm/tests/core-components-it/v1/ContentFragmentList.js",
          execBefore: c.tcExecuteBeforeTestSuite,
          execInNewWindow: false
      })
          .addTestCase(contentfragmentlist.tcSetParentPath(tcExecuteBeforeTest, tcExecuteAfterTest, selectors))
          .addTestCase(contentfragmentlist.tcSetTagNames(tcExecuteBeforeTest, tcExecuteAfterTest, selectors))
          .addTestCase(contentfragmentlist.tcSetElementNames(tcExecuteBeforeTest, tcExecuteAfterTest, selectors));
  }(hobs, jQuery));
  