Details

    • Type: Regression Bug
    • Status: Closed
    • Resolution: Fixed
    • Affects Version/s: 7.2.X, Master
    • Fix Version/s: 7.2.X, Master
    • Component/s: Segmentation
    • Labels:
      None

      Description

      [exec] FAIL test/js/components/criteria_builder/CriteriaRow.es.js
           [exec]   ??? CriteriaRow ??? renders
           [exec] 
           [exec]     expect(value).toMatchSnapshot()
           [exec] 
           [exec]     Received value does not match stored snapshot "CriteriaRow renders 1".
           [exec] 
           [exec]     - Snapshot
           [exec]     + Received
           [exec] 
           [exec]     @@ -32,11 +32,11 @@
           [exec]               data-testid="simple-string"
           [exec]               type="text"
           [exec]               value="test_val"
           [exec]             />
           [exec]             <button
           [exec]     -         class="btn-outline-borderless btn btn-secondary btn-monospaced"
           [exec]     +         class="btn-outline-borderless btn btn-monospaced btn-secondary"
           [exec]               type="button"
           [exec]             >
           [exec]               <svg
           [exec]                 class="lexicon-icon lexicon-icon-paste"
           [exec]                 role="presentation"
           [exec]     @@ -45,11 +45,11 @@
           [exec]                   xlink:href="#paste"
           [exec]                 />
           [exec]               </svg>
           [exec]             </button>
           [exec]             <button
           [exec]     -         class="btn-outline-borderless btn btn-secondary btn-monospaced"
           [exec]     +         class="btn-outline-borderless btn btn-monospaced btn-secondary"
           [exec]               type="button"
           [exec]             >
           [exec]               <svg
           [exec]                 class="lexicon-icon lexicon-icon-times-circle"
           [exec]                 role="presentation"
           [exec] 
           [exec]       53 | 		);
           [exec]       54 | 
           [exec]     > 55 | 		expect(asFragment()).toMatchSnapshot();
           [exec]          | 		                     ^
           [exec]       56 | 	});
           [exec]       57 | 
           [exec]       58 | 	it('renders and inform there is an unknown property', () => {
           [exec] 
           [exec]       at Object.toMatchSnapshot (test/js/components/criteria_builder/CriteriaRow.es.js:55:24)
           [exec] 
           [exec]  ??? 1 snapshot failed.
           [exec] PASS test/js/components/criteria_builder/EmptyDropZone.es.js
           [exec] PASS test/js/components/criteria_builder/DropZone.es.js
           [exec] PASS test/js/components/criteria_builder/CriteriaBuilder.es.js
           [exec] PASS test/js/components/criteria_sidebar/CriteriaSidebarItem.es.js
           [exec] PASS test/js/components/criteria_builder/CriteriaGroup.es.js
           [exec] PASS test/js/components/shared/ClayToggle.es.js
           [exec] PASS test/js/components/criteria_sidebar/CriteriaSidebar.es.js
           [exec] FAIL test/js/components/criteria_builder/ContributorsBuilder.es.js (5.63s)
           [exec]   ??? ContributorsBuilder ??? renders builder with sidebar
           [exec] 
           [exec]     expect(value).toMatchSnapshot()
           [exec] 
           [exec]     Received value does not match stored snapshot "ContributorsBuilder renders builder with sidebar: initialRenderEditing 1".
           [exec] 
           [exec]     - Snapshot
           [exec]     + Received
           [exec] 
           [exec]     @@ -770,11 +770,11 @@
           [exec]                               >
           [exec]                                 x-members
           [exec]                               </b>
           [exec]                             </span>
           [exec]                             <button
           [exec]     -                         class="btn btn-secondary btn-sm"
           [exec]     +                         class="btn btn-sm btn-secondary"
           [exec]                               type="button"
           [exec]                             >
           [exec]                               view-members
           [exec]                             </button>
           [exec]                           </div>
           [exec] 
           [exec]       198 | 		);
           [exec]       199 | 
           [exec]     > 200 | 		expect(asFragment()).toMatchSnapshot('initialRenderEditing');
           [exec]           | 		                     ^
           [exec]       201 | 	});
           [exec]       202 | 
           [exec]       203 | 	it('renders builder without sidebar', () => {
           [exec] 
           [exec]       at Object.toMatchSnapshot (test/js/components/criteria_builder/ContributorsBuilder.es.js:200:24)
           [exec] 
           [exec]   ??? ContributorsBuilder ??? renders builder without sidebar
           [exec] 
           [exec]     expect(value).toMatchSnapshot()
           [exec] 
           [exec]     Received value does not match stored snapshot "ContributorsBuilder renders builder without sidebar: initialRenderNotEditing 1".
           [exec] 
           [exec]     - Snapshot
           [exec]     + Received
           [exec] 
           [exec]     @@ -770,11 +770,11 @@
           [exec]                               >
           [exec]                                 x-members
           [exec]                               </b>
           [exec]                             </span>
           [exec]                             <button
           [exec]     -                         class="btn btn-secondary btn-sm"
           [exec]     +                         class="btn btn-sm btn-secondary"
           [exec]                               type="button"
           [exec]                             >
           [exec]                               view-members
           [exec]                             </button>
           [exec]                           </div>
           [exec] 
           [exec]       216 | 		);
           [exec]       217 | 
           [exec]     > 218 | 		expect(asFragment()).toMatchSnapshot('initialRenderNotEditing');
           [exec]           | 		                     ^
           [exec]       219 | 	});
           [exec]       220 | });
           [exec]       221 | 
           [exec] 
           [exec]       at Object.toMatchSnapshot (test/js/components/criteria_builder/ContributorsBuilder.es.js:218:24)
           [exec] 
           [exec]  ??? 2 snapshots failed.
           [exec] FAIL test/js/components/segment_edit/SegmentEdit.es.js (6.932s)
           [exec]   ??? SegmentEdit ??? renders with edit buttons if the user has update permissions
           [exec] 
           [exec]     expect(value).toMatchSnapshot()
           [exec] 
           [exec]     Received value does not match stored snapshot "SegmentEdit renders with edit buttons if the user has update permissions 1".
           [exec] 
           [exec]     - Snapshot
           [exec]     + Received
           [exec] 
           [exec]     @@ -156,11 +156,11 @@
           [exec]                   </div>
           [exec]                   <div
           [exec]                     class="btn-group-item"
           [exec]                   >
           [exec]                     <button
           [exec]     -                 class="text-capitalize btn btn-primary btn-sm"
           [exec]     +                 class="text-capitalize btn btn-sm btn-primary"
           [exec]                       disabled=""
           [exec]                       type="submit"
           [exec]                     >
           [exec]                       save
           [exec]                     </button>
           [exec] 
           [exec]       106 | 		);
           [exec]       107 | 
           [exec]     > 108 | 		expect(asFragment()).toMatchSnapshot();
           [exec]           | 		                     ^
           [exec]       109 | 	});
           [exec]       110 | 
           [exec]       111 | 	it('renders without edit buttons if the user does not have update permissions', () => {
           [exec] 
           [exec]       at Object.toMatchSnapshot (test/js/components/segment_edit/SegmentEdit.es.js:108:24)
           [exec] 
           [exec]   ??? SegmentEdit ??? renders with given values
           [exec] 
           [exec]     expect(value).toMatchSnapshot()
           [exec] 
           [exec]     Received value does not match stored snapshot "SegmentEdit renders with given values 1".
           [exec] 
           [exec]     - Snapshot
           [exec]     + Received
           [exec] 
           [exec]     @@ -156,11 +156,11 @@
           [exec]                   </div>
           [exec]                   <div
           [exec]                     class="btn-group-item"
           [exec]                   >
           [exec]                     <button
           [exec]     -                 class="text-capitalize btn btn-primary btn-sm"
           [exec]     +                 class="text-capitalize btn btn-sm btn-primary"
           [exec]                       type="submit"
           [exec]                     >
           [exec]                       save
           [exec]                     </button>
           [exec]                   </div>
           [exec]     @@ -336,11 +336,11 @@
           [exec]                                   >
           [exec]                                     x-members
           [exec]                                   </b>
           [exec]                                 </span>
           [exec]                                 <button
           [exec]     -                             class="btn btn-secondary btn-sm"
           [exec]     +                             class="btn btn-sm btn-secondary"
           [exec]                                   type="button"
           [exec]                                 >
           [exec]                                   view-members
           [exec]                                 </button>
           [exec]                               </div>
           [exec]     @@ -423,11 +423,11 @@
           [exec]                                     data-testid="simple-string"
           [exec]                                     type="text"
           [exec]                                     value="value"
           [exec]                                   />
           [exec]                                   <button
           [exec]     -                               class="btn-outline-borderless btn btn-secondary btn-monospaced"
           [exec]     +                               class="btn-outline-borderless btn btn-monospaced btn-secondary"
           [exec]                                     type="button"
           [exec]                                   >
           [exec]                                     <svg
           [exec]                                       class="lexicon-icon lexicon-icon-paste"
           [exec]                                       role="presentation"
           [exec]     @@ -436,11 +436,11 @@
           [exec]                                         xlink:href="#paste"
           [exec]                                       />
           [exec]                                     </svg>
           [exec]                                   </button>
           [exec]                                   <button
           [exec]     -                               class="btn-outline-borderless btn btn-secondary btn-monospaced"
           [exec]     +                               class="btn-outline-borderless btn btn-monospaced btn-secondary"
           [exec]                                     type="button"
           [exec]                                   >
           [exec]                                     <svg
           [exec]                                       class="lexicon-icon lexicon-icon-times-circle"
           [exec]                                       role="presentation"
           [exec] 
           [exec]       181 | 		);
           [exec]       182 | 
           [exec]     > 183 | 		expect(asFragment()).toMatchSnapshot();
           [exec]           | 		                     ^
           [exec]       184 | 	});
           [exec]       185 | });
           [exec]       186 | 
           [exec] 
           [exec]       at Object.toMatchSnapshot (test/js/components/segment_edit/SegmentEdit.es.js:183:24)
           [exec] 
           [exec]  ??? 2 snapshots failed.
           [exec] Summary of all failing tests
           [exec] FAIL test/js/components/criteria_builder/CriteriaRow.es.js
           [exec]   ??? CriteriaRow ??? renders
           [exec] 
           [exec]     expect(value).toMatchSnapshot()
           [exec] 
           [exec]     Received value does not match stored snapshot "CriteriaRow renders 1".
           [exec] 
           [exec]     - Snapshot
           [exec]     + Received
           [exec] 
           [exec]     @@ -32,11 +32,11 @@
           [exec]               data-testid="simple-string"
           [exec]               type="text"
           [exec]               value="test_val"
           [exec]             />
           [exec]             <button
           [exec]     -         class="btn-outline-borderless btn btn-secondary btn-monospaced"
           [exec]     +         class="btn-outline-borderless btn btn-monospaced btn-secondary"
           [exec]               type="button"
           [exec]             >
           [exec]               <svg
           [exec]                 class="lexicon-icon lexicon-icon-paste"
           [exec]                 role="presentation"
           [exec]     @@ -45,11 +45,11 @@
           [exec]                   xlink:href="#paste"
           [exec]                 />
           [exec]               </svg>
           [exec]             </button>
           [exec]             <button
           [exec]     -         class="btn-outline-borderless btn btn-secondary btn-monospaced"
           [exec]     +         class="btn-outline-borderless btn btn-monospaced btn-secondary"
           [exec]               type="button"
           [exec]             >
           [exec]               <svg
           [exec]                 class="lexicon-icon lexicon-icon-times-circle"
           [exec]                 role="presentation"
           [exec] 
           [exec]       53 | 		);
           [exec]       54 | 
           [exec]     > 55 | 		expect(asFragment()).toMatchSnapshot();
           [exec]          | 		                     ^
           [exec]       56 | 	});
           [exec]       57 | 
           [exec]       58 | 	it('renders and inform there is an unknown property', () => {
           [exec] 
           [exec]       at Object.toMatchSnapshot (test/js/components/criteria_builder/CriteriaRow.es.js:55:24)
           [exec] 
           [exec] FAIL test/js/components/criteria_builder/ContributorsBuilder.es.js (5.63s)
           [exec]   ??? ContributorsBuilder ??? renders builder with sidebar
           [exec] 
           [exec]     expect(value).toMatchSnapshot()
           [exec] 
           [exec]     Received value does not match stored snapshot "ContributorsBuilder renders builder with sidebar: initialRenderEditing 1".
           [exec] 
           [exec]     - Snapshot
           [exec]     + Received
           [exec] 
           [exec]     @@ -770,11 +770,11 @@
           [exec]                               >
           [exec]                                 x-members
           [exec]                               </b>
           [exec]                             </span>
           [exec]                             <button
           [exec]     -                         class="btn btn-secondary btn-sm"
           [exec]     +                         class="btn btn-sm btn-secondary"
           [exec]                               type="button"
           [exec]                             >
           [exec]                               view-members
           [exec]                             </button>
           [exec]                           </div>
           [exec] 
           [exec]       198 | 		);
           [exec]       199 | 
           [exec]     > 200 | 		expect(asFragment()).toMatchSnapshot('initialRenderEditing');
           [exec]           | 		                     ^
           [exec]       201 | 	});
           [exec]       202 | 
           [exec]       203 | 	it('renders builder without sidebar', () => {
           [exec] 
           [exec]       at Object.toMatchSnapshot (test/js/components/criteria_builder/ContributorsBuilder.es.js:200:24)
           [exec] 
           [exec]   ??? ContributorsBuilder ??? renders builder without sidebar
           [exec] 
           [exec]     expect(value).toMatchSnapshot()
           [exec] 
           [exec]     Received value does not match stored snapshot "ContributorsBuilder renders builder without sidebar: initialRenderNotEditing 1".
           [exec] 
           [exec]     - Snapshot
           [exec]     + Received
           [exec] 
           [exec]     @@ -770,11 +770,11 @@
           [exec]                               >
           [exec]                                 x-members
           [exec]                               </b>
           [exec]                             </span>
           [exec]                             <button
           [exec]     -                         class="btn btn-secondary btn-sm"
           [exec]     +                         class="btn btn-sm btn-secondary"
           [exec]                               type="button"
           [exec]                             >
           [exec]                               view-members
           [exec]                             </button>
           [exec]                           </div>
           [exec] 
           [exec]       216 | 		);
           [exec]       217 | 
           [exec]     > 218 | 		expect(asFragment()).toMatchSnapshot('initialRenderNotEditing');
           [exec]           | 		                     ^
           [exec]       219 | 	});
           [exec]       220 | });
           [exec]       221 | 
           [exec] 
           [exec]       at Object.toMatchSnapshot (test/js/components/criteria_builder/ContributorsBuilder.es.js:218:24)
           [exec] 
           [exec] FAIL test/js/components/segment_edit/SegmentEdit.es.js (6.932s)
           [exec]   ??? SegmentEdit ??? renders with edit buttons if the user has update permissions
           [exec] 
           [exec]     expect(value).toMatchSnapshot()
           [exec] 
           [exec]     Received value does not match stored snapshot "SegmentEdit renders with edit buttons if the user has update permissions 1".
           [exec] 
           [exec]     - Snapshot
           [exec]     + Received
           [exec] 
           [exec]     @@ -156,11 +156,11 @@
           [exec]                   </div>
           [exec]                   <div
           [exec]                     class="btn-group-item"
           [exec]                   >
           [exec]                     <button
           [exec]     -                 class="text-capitalize btn btn-primary btn-sm"
           [exec]     +                 class="text-capitalize btn btn-sm btn-primary"
           [exec]                       disabled=""
           [exec]                       type="submit"
           [exec]                     >
           [exec]                       save
           [exec]                     </button>
           [exec] 
           [exec]       106 | 		);
           [exec]       107 | 
           [exec]     > 108 | 		expect(asFragment()).toMatchSnapshot();
           [exec]           | 		                     ^
           [exec]       109 | 	});
           [exec]       110 | 
           [exec]       111 | 	it('renders without edit buttons if the user does not have update permissions', () => {
           [exec] 
           [exec]       at Object.toMatchSnapshot (test/js/components/segment_edit/SegmentEdit.es.js:108:24)
           [exec] 
           [exec]   ??? SegmentEdit ??? renders with given values
           [exec] 
           [exec]     expect(value).toMatchSnapshot()
           [exec] 
           [exec]     Received value does not match stored snapshot "SegmentEdit renders with given values 1".
           [exec] 
           [exec]     - Snapshot
           [exec]     + Received
           [exec] 
           [exec]     @@ -156,11 +156,11 @@
           [exec]                   </div>
           [exec]                   <div
           [exec]                     class="btn-group-item"
           [exec]                   >
           [exec]                     <button
           [exec]     -                 class="text-capitalize btn btn-primary btn-sm"
           [exec]     +                 class="text-capitalize btn btn-sm btn-primary"
           [exec]                       type="submit"
           [exec]                     >
           [exec]                       save
           [exec]                     </button>
           [exec]                   </div>
           [exec]     @@ -336,11 +336,11 @@
           [exec]                                   >
           [exec]                                     x-members
           [exec]                                   </b>
           [exec]                                 </span>
           [exec]                                 <button
           [exec]     -                             class="btn btn-secondary btn-sm"
           [exec]     +                             class="btn btn-sm btn-secondary"
           [exec]                                   type="button"
           [exec]                                 >
           [exec]                                   view-members
           [exec]                                 </button>
           [exec]                               </div>
           [exec]     @@ -423,11 +423,11 @@
           [exec]                                     data-testid="simple-string"
           [exec]                                     type="text"
           [exec]                                     value="value"
           [exec]                                   />
           [exec]                                   <button
           [exec]     -                               class="btn-outline-borderless btn btn-secondary btn-monospaced"
           [exec]     +                               class="btn-outline-borderless btn btn-monospaced btn-secondary"
           [exec]                                     type="button"
           [exec]                                   >
           [exec]                                     <svg
           [exec]                                       class="lexicon-icon lexicon-icon-paste"
           [exec]                                       role="presentation"
           [exec]     @@ -436,11 +436,11 @@
           [exec]                                         xlink:href="#paste"
           [exec]                                       />
           [exec]                                     </svg>
           [exec]                                   </button>
           [exec]                                   <button
           [exec]     -                               class="btn-outline-borderless btn btn-secondary btn-monospaced"
           [exec]     +                               class="btn-outline-borderless btn btn-monospaced btn-secondary"
           [exec]                                     type="button"
           [exec]                                   >
           [exec]                                     <svg
           [exec]                                       class="lexicon-icon lexicon-icon-times-circle"
           [exec]                                       role="presentation"
           [exec] 
           [exec]       181 | 		);
           [exec]       182 | 
           [exec]     > 183 | 		expect(asFragment()).toMatchSnapshot();
           [exec]           | 		                     ^
           [exec]       184 | 	});
           [exec]       185 | });
           [exec]       186 | 
           [exec] 
           [exec]       at Object.toMatchSnapshot (test/js/components/segment_edit/SegmentEdit.es.js:183:24)
      

        Attachments

          Activity

            People

            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:
                Days since last comment:
                11 weeks, 1 day ago

                Packages

                Version Package
                7.2.X
                Master