Details

    • 1
    • 4
    • 032 - Nidoran
    • Regression Bug

    Description

           [exec] FAIL test/react/js/components/FlagsModal.es.js (5.481s)
           [exec]   ??? FlagsModal ??? renders
           [exec] 
           [exec]     expect(value).toMatchSnapshot()
           [exec] 
           [exec]     Received value does not match stored snapshot "FlagsModal renders 1".
           [exec] 
           [exec]     - Snapshot
           [exec]     + Received
           [exec] 
           [exec]     @@ -4,117 +4,122 @@
           [exec]         />
           [exec]         <div
           [exec]           class="fade modal d-block"
           [exec]         >
           [exec]           <div
           [exec]     -       class="modal-dialog modal-md"
           [exec]     -       tabindex="-1"
           [exec]     +       class="modal-md"
           [exec]     +       style="margin: auto;"
           [exec]           >
           [exec]             <div
           [exec]     -         class="modal-content"
           [exec]     +         class="modal-dialog modal-md"
           [exec]     +         tabindex="-1"
           [exec]             >
           [exec]               <div
           [exec]     -           class="modal-header"
           [exec]     +           class="modal-content"
           [exec]               >
           [exec]                 <div
           [exec]     -             class="modal-title"
           [exec]     -           >
           [exec]     -             report-inappropriate-content
           [exec]     -           </div>
           [exec]     -           <button
           [exec]     -             aria-label="close"
           [exec]     -             class="close btn btn-unstyled"
           [exec]     -             type="button"
           [exec]     -           >
           [exec]     -             <svg
           [exec]     -               class="lexicon-icon lexicon-icon-times"
           [exec]     -               role="presentation"
           [exec]     -             >
           [exec]     -               <use
           [exec]     -                 xlink:href="#times"
           [exec]     -               />
           [exec]     -             </svg>
           [exec]     -           </button>
           [exec]     -         </div>
           [exec]     -         <form>
           [exec]     -           <div
           [exec]     -             class="modal-body"
           [exec]     +             class="modal-header"
           [exec]                 >
           [exec]     -             <p>
           [exec]     -               you-are-about-to-report-a-violation-of-our-x.-all-reports-are-strictly-confidential
           [exec]     -             </p>
           [exec]                   <div
           [exec]     -               class="form-group"
           [exec]     +               class="modal-title"
           [exec]                   >
           [exec]     -               <label
           [exec]     -                 class="control-label"
           [exec]     -                 for="selectedReason"
           [exec]     +               report-inappropriate-content
           [exec]     +             </div>
           [exec]     +             <button
           [exec]     +               aria-label="close"
           [exec]     +               class="close btn btn-unstyled"
           [exec]     +               type="button"
           [exec]     +             >
           [exec]     +               <svg
           [exec]     +                 class="lexicon-icon lexicon-icon-times"
           [exec]     +                 role="presentation"
           [exec]                     >
           [exec]     -                 reason-for-the-report
           [exec]     -               </label>
           [exec]     -               <select
           [exec]     -                 class="form-control"
           [exec]     -                 id="selectedReason"
           [exec]     -                 name="selectedReason"
           [exec]     +                 <use
           [exec]     +                   xlink:href="#times"
           [exec]     +                 />
           [exec]     +               </svg>
           [exec]     +             </button>
           [exec]     +           </div>
           [exec]     +           <form>
           [exec]     +             <div
           [exec]     +               class="modal-body"
           [exec]     +             >
           [exec]     +               <p>
           [exec]     +                 you-are-about-to-report-a-violation-of-our-x.-all-reports-are-strictly-confidential
           [exec]     +               </p>
           [exec]     +               <div
           [exec]     +                 class="form-group"
           [exec]                     >
           [exec]     -                 <option
           [exec]     -                   value="value"
           [exec]     +                 <label
           [exec]     +                   class="control-label"
           [exec]     +                   for="selectedReason"
           [exec]                       >
           [exec]     -                   text
           [exec]     -                 </option>
           [exec]     -                 <option
           [exec]     -                   value="value2"
           [exec]     +                   reason-for-the-report
           [exec]     +                 </label>
           [exec]     +                 <select
           [exec]     +                   class="form-control"
           [exec]     +                   id="selectedReason"
           [exec]     +                   name="selectedReason"
           [exec]                       >
           [exec]     -                   text2
           [exec]     -                 </option>
           [exec]     -                 <option
           [exec]     -                   value="other"
           [exec]     -                 >
           [exec]     -                   other-reason
           [exec]     -                 </option>
           [exec]     -               </select>
           [exec]     +                   <option
           [exec]     +                     value="value"
           [exec]     +                   >
           [exec]     +                     text
           [exec]     +                   </option>
           [exec]     +                   <option
           [exec]     +                     value="value2"
           [exec]     +                   >
           [exec]     +                     text2
           [exec]     +                   </option>
           [exec]     +                   <option
           [exec]     +                     value="other"
           [exec]     +                   >
           [exec]     +                     other-reason
           [exec]     +                   </option>
           [exec]     +                 </select>
           [exec]     +               </div>
           [exec]                   </div>
           [exec]     -           </div>
           [exec]     -           <div
           [exec]     -             class="modal-footer"
           [exec]     -           >
           [exec]                   <div
           [exec]     -               class="modal-item-first"
           [exec]     -             />
           [exec]     -             <div
           [exec]     -               class="modal-item"
           [exec]     -             />
           [exec]     -             <div
           [exec]     -               class="modal-item-last"
           [exec]     +               class="modal-footer"
           [exec]                   >
           [exec]                     <div
           [exec]     -                 class="btn-group"
           [exec]     -                 role="group"
           [exec]     +                 class="modal-item-first"
           [exec]     +               />
           [exec]     +               <div
           [exec]     +                 class="modal-item"
           [exec]     +               />
           [exec]     +               <div
           [exec]     +                 class="modal-item-last"
           [exec]                     >
           [exec]                       <div
           [exec]     -                   class="btn-group-item"
           [exec]     +                   class="btn-group"
           [exec]     +                   role="group"
           [exec]                       >
           [exec]     -                   <button
           [exec]     -                     class="btn btn-secondary"
           [exec]     -                     type="button"
           [exec]     +                   <div
           [exec]     +                     class="btn-group-item"
           [exec]                         >
           [exec]     -                     cancel
           [exec]     -                   </button>
           [exec]     -                 </div>
           [exec]     -                 <div
           [exec]     -                   class="btn-group-item"
           [exec]     -                 >
           [exec]     -                   <button
           [exec]     -                     class="btn btn-primary"
           [exec]     -                     type="submit"
           [exec]     +                     <button
           [exec]     +                       class="btn btn-secondary"
           [exec]     +                       type="button"
           [exec]     +                     >
           [exec]     +                       cancel
           [exec]     +                     </button>
           [exec]     +                   </div>
           [exec]     +                   <div
           [exec]     +                     class="btn-group-item"
           [exec]                         >
           [exec]     -                     report
           [exec]     -                   </button>
           [exec]     +                     <button
           [exec]     +                       class="btn btn-primary"
           [exec]     +                       type="submit"
           [exec]     +                     >
           [exec]     +                       report
           [exec]     +                     </button>
           [exec]     +                   </div>
           [exec]                       </div>
           [exec]                     </div>
           [exec]                   </div>
           [exec]     -           </div>
           [exec]     -         </form>
           [exec]     +           </form>
           [exec]     +         </div>
           [exec]             </div>
           [exec]           </div>
           [exec]         </div>
           [exec]       </DocumentFragment>
           [exec] 
           [exec]       68 | 		const {asFragment} = _renderFlagsModalComponent();
           [exec]       69 | 
           [exec]     > 70 | 		expect(asFragment()).toMatchSnapshot();
           [exec]          | 		                     ^
           [exec]       71 | 	});
           [exec]       72 | 
           [exec]       73 | 	it('renders as guess and render email field', () => {
           [exec] 
           [exec]       at Object.toMatchSnapshot (test/react/js/components/FlagsModal.es.js:70:24)
           [exec] 
           [exec]   ??? FlagsModal ??? renders error
           [exec] 
           [exec]     expect(value).toMatchSnapshot()
           [exec] 
           [exec]     Received value does not match stored snapshot "FlagsModal renders error 1".
           [exec] 
           [exec]     - Snapshot
           [exec]     + Received
           [exec] 
           [exec]     @@ -4,66 +4,71 @@
           [exec]         />
           [exec]         <div
           [exec]           class="fade modal d-block"
           [exec]         >
           [exec]           <div
           [exec]     -       class="modal-dialog modal-md"
           [exec]     -       tabindex="-1"
           [exec]     +       class="modal-md"
           [exec]     +       style="margin: auto;"
           [exec]           >
           [exec]             <div
           [exec]     -         class="modal-content"
           [exec]     +         class="modal-dialog modal-md"
           [exec]     +         tabindex="-1"
           [exec]             >
           [exec]               <div
           [exec]     -           class="modal-header"
           [exec]     +           class="modal-content"
           [exec]               >
           [exec]                 <div
           [exec]     -             class="modal-title"
           [exec]     +             class="modal-header"
           [exec]                 >
           [exec]     -             report-inappropriate-content
           [exec]     +             <div
           [exec]     +               class="modal-title"
           [exec]     +             >
           [exec]     +               report-inappropriate-content
           [exec]     +             </div>
           [exec]     +             <button
           [exec]     +               aria-label="close"
           [exec]     +               class="close btn btn-unstyled"
           [exec]     +               type="button"
           [exec]     +             >
           [exec]     +               <svg
           [exec]     +                 class="lexicon-icon lexicon-icon-times"
           [exec]     +                 role="presentation"
           [exec]     +               >
           [exec]     +                 <use
           [exec]     +                   xlink:href="#times"
           [exec]     +                 />
           [exec]     +               </svg>
           [exec]     +             </button>
           [exec]                 </div>
           [exec]     -           <button
           [exec]     -             aria-label="close"
           [exec]     -             class="close btn btn-unstyled"
           [exec]     -             type="button"
           [exec]     +           <div
           [exec]     +             class="modal-body"
           [exec]                 >
           [exec]     -             <svg
           [exec]     -               class="lexicon-icon lexicon-icon-times"
           [exec]     -               role="presentation"
           [exec]     -             >
           [exec]     -               <use
           [exec]     -                 xlink:href="#times"
           [exec]     -               />
           [exec]     -             </svg>
           [exec]     -           </button>
           [exec]     -         </div>
           [exec]     -         <div
           [exec]     -           class="modal-body"
           [exec]     -         >
           [exec]     -           <p>
           [exec]     -             <strong>
           [exec]     -               an-error-occurred-while-sending-the-report.-please-try-again-in-a-few-minutes
           [exec]     -             </strong>
           [exec]     -           </p>
           [exec]     -         </div>
           [exec]     -         <div
           [exec]     -           class="modal-footer"
           [exec]     -         >
           [exec]     +             <p>
           [exec]     +               <strong>
           [exec]     +                 an-error-occurred-while-sending-the-report.-please-try-again-in-a-few-minutes
           [exec]     +               </strong>
           [exec]     +             </p>
           [exec]     +           </div>
           [exec]                 <div
           [exec]     -             class="modal-item-first"
           [exec]     -           />
           [exec]     -           <div
           [exec]     -             class="modal-item"
           [exec]     -           />
           [exec]     -           <div
           [exec]     -             class="modal-item-last"
           [exec]     +             class="modal-footer"
           [exec]                 >
           [exec]     -             <button
           [exec]     -               class="btn btn-secondary"
           [exec]     -               type="button"
           [exec]     +             <div
           [exec]     +               class="modal-item-first"
           [exec]     +             />
           [exec]     +             <div
           [exec]     +               class="modal-item"
           [exec]     +             />
           [exec]     +             <div
           [exec]     +               class="modal-item-last"
           [exec]                   >
           [exec]     -               close
           [exec]     -             </button>
           [exec]     +               <button
           [exec]     +                 class="btn btn-secondary"
           [exec]     +                 type="button"
           [exec]     +               >
           [exec]     +                 close
           [exec]     +               </button>
           [exec]     +             </div>
           [exec]                 </div>
           [exec]               </div>
           [exec]             </div>
           [exec]           </div>
           [exec]         </div>
           [exec] 
           [exec]       82 | 		const {asFragment} = _renderFlagsModalComponent({status: STATUS_ERROR});
           [exec]       83 | 
           [exec]     > 84 | 		expect(asFragment()).toMatchSnapshot();
           [exec]          | 		                     ^
           [exec]       85 | 	});
           [exec]       86 | 
           [exec]       87 | 	it('renders login', () => {
           [exec] 
           [exec]       at Object.toMatchSnapshot (test/react/js/components/FlagsModal.es.js:84:24)
           [exec] 
           [exec]   ??? FlagsModal ??? renders login
           [exec] 
           [exec]     expect(value).toMatchSnapshot()
           [exec] 
           [exec]     Received value does not match stored snapshot "FlagsModal renders login 1".
           [exec] 
           [exec]     - Snapshot
           [exec]     + Received
           [exec] 
           [exec]     @@ -4,66 +4,71 @@
           [exec]         />
           [exec]         <div
           [exec]           class="fade modal d-block"
           [exec]         >
           [exec]           <div
           [exec]     -       class="modal-dialog modal-md"
           [exec]     -       tabindex="-1"
           [exec]     +       class="modal-md"
           [exec]     +       style="margin: auto;"
           [exec]           >
           [exec]             <div
           [exec]     -         class="modal-content"
           [exec]     +         class="modal-dialog modal-md"
           [exec]     +         tabindex="-1"
           [exec]             >
           [exec]               <div
           [exec]     -           class="modal-header"
           [exec]     +           class="modal-content"
           [exec]               >
           [exec]                 <div
           [exec]     -             class="modal-title"
           [exec]     +             class="modal-header"
           [exec]                 >
           [exec]     -             report-inappropriate-content
           [exec]     +             <div
           [exec]     +               class="modal-title"
           [exec]     +             >
           [exec]     +               report-inappropriate-content
           [exec]     +             </div>
           [exec]     +             <button
           [exec]     +               aria-label="close"
           [exec]     +               class="close btn btn-unstyled"
           [exec]     +               type="button"
           [exec]     +             >
           [exec]     +               <svg
           [exec]     +                 class="lexicon-icon lexicon-icon-times"
           [exec]     +                 role="presentation"
           [exec]     +               >
           [exec]     +                 <use
           [exec]     +                   xlink:href="#times"
           [exec]     +                 />
           [exec]     +               </svg>
           [exec]     +             </button>
           [exec]                 </div>
           [exec]     -           <button
           [exec]     -             aria-label="close"
           [exec]     -             class="close btn btn-unstyled"
           [exec]     -             type="button"
           [exec]     +           <div
           [exec]     +             class="modal-body"
           [exec]                 >
           [exec]     -             <svg
           [exec]     -               class="lexicon-icon lexicon-icon-times"
           [exec]     -               role="presentation"
           [exec]     -             >
           [exec]     -               <use
           [exec]     -                 xlink:href="#times"
           [exec]     -               />
           [exec]     -             </svg>
           [exec]     -           </button>
           [exec]     -         </div>
           [exec]     -         <div
           [exec]     -           class="modal-body"
           [exec]     -         >
           [exec]     -           <p>
           [exec]     -             <strong>
           [exec]     -               please-sign-in-to-flag-this-as-inappropriate
           [exec]     -             </strong>
           [exec]     -           </p>
           [exec]     -         </div>
           [exec]     -         <div
           [exec]     -           class="modal-footer"
           [exec]     -         >
           [exec]     +             <p>
           [exec]     +               <strong>
           [exec]     +                 please-sign-in-to-flag-this-as-inappropriate
           [exec]     +               </strong>
           [exec]     +             </p>
           [exec]     +           </div>
           [exec]                 <div
           [exec]     -             class="modal-item-first"
           [exec]     -           />
           [exec]     -           <div
           [exec]     -             class="modal-item"
           [exec]     -           />
           [exec]     -           <div
           [exec]     -             class="modal-item-last"
           [exec]     +             class="modal-footer"
           [exec]                 >
           [exec]     -             <button
           [exec]     -               class="btn btn-secondary"
           [exec]     -               type="button"
           [exec]     +             <div
           [exec]     +               class="modal-item-first"
           [exec]     +             />
           [exec]     +             <div
           [exec]     +               class="modal-item"
           [exec]     +             />
           [exec]     +             <div
           [exec]     +               class="modal-item-last"
           [exec]                   >
           [exec]     -               close
           [exec]     -             </button>
           [exec]     +               <button
           [exec]     +                 class="btn btn-secondary"
           [exec]     +                 type="button"
           [exec]     +               >
           [exec]     +                 close
           [exec]     +               </button>
           [exec]     +             </div>
           [exec]                 </div>
           [exec]               </div>
           [exec]             </div>
           [exec]           </div>
           [exec]         </div>
           [exec] 
           [exec]       88 | 		const {asFragment} = _renderFlagsModalComponent({status: STATUS_LOGIN});
           [exec]       89 | 
           [exec]     > 90 | 		expect(asFragment()).toMatchSnapshot();
           [exec]          | 		                     ^
           [exec]       91 | 	});
           [exec]       92 | 
           [exec]       93 | 	it('renders success', () => {
           [exec] 
           [exec]       at Object.toMatchSnapshot (test/react/js/components/FlagsModal.es.js:90:24)
           [exec] 
           [exec]   ??? FlagsModal ??? renders success
           [exec] 
           [exec]     expect(value).toMatchSnapshot()
           [exec] 
           [exec]     Received value does not match stored snapshot "FlagsModal renders success 1".
           [exec] 
           [exec]     - Snapshot
           [exec]     + Received
           [exec] 
           [exec]     @@ -4,69 +4,74 @@
           [exec]         />
           [exec]         <div
           [exec]           class="fade modal d-block"
           [exec]         >
           [exec]           <div
           [exec]     -       class="modal-dialog modal-md"
           [exec]     -       tabindex="-1"
           [exec]     +       class="modal-md"
           [exec]     +       style="margin: auto;"
           [exec]           >
           [exec]             <div
           [exec]     -         class="modal-content"
           [exec]     +         class="modal-dialog modal-md"
           [exec]     +         tabindex="-1"
           [exec]             >
           [exec]               <div
           [exec]     -           class="modal-header"
           [exec]     +           class="modal-content"
           [exec]               >
           [exec]                 <div
           [exec]     -             class="modal-title"
           [exec]     +             class="modal-header"
           [exec]                 >
           [exec]     -             report-inappropriate-content
           [exec]     +             <div
           [exec]     +               class="modal-title"
           [exec]     +             >
           [exec]     +               report-inappropriate-content
           [exec]     +             </div>
           [exec]     +             <button
           [exec]     +               aria-label="close"
           [exec]     +               class="close btn btn-unstyled"
           [exec]     +               type="button"
           [exec]     +             >
           [exec]     +               <svg
           [exec]     +                 class="lexicon-icon lexicon-icon-times"
           [exec]     +                 role="presentation"
           [exec]     +               >
           [exec]     +                 <use
           [exec]     +                   xlink:href="#times"
           [exec]     +                 />
           [exec]     +               </svg>
           [exec]     +             </button>
           [exec]                 </div>
           [exec]     -           <button
           [exec]     -             aria-label="close"
           [exec]     -             class="close btn btn-unstyled"
           [exec]     -             type="button"
           [exec]     +           <div
           [exec]     +             class="modal-body"
           [exec]                 >
           [exec]     -             <svg
           [exec]     -               class="lexicon-icon lexicon-icon-times"
           [exec]     -               role="presentation"
           [exec]     -             >
           [exec]     -               <use
           [exec]     -                 xlink:href="#times"
           [exec]     -               />
           [exec]     -             </svg>
           [exec]     -           </button>
           [exec]     -         </div>
           [exec]     -         <div
           [exec]     -           class="modal-body"
           [exec]     -         >
           [exec]     -           <p>
           [exec]     -             <strong>
           [exec]     -               thank-you-for-your-report
           [exec]     -             </strong>
           [exec]     -           </p>
           [exec]     -           <p>
           [exec]     -             although-we-cannot-disclose-our-final-decision,-we-do-review-every-report-and-appreciate-your-effort-to-make-sure-x-is-a-safe-environment-for-everyone
           [exec]     -           </p>
           [exec]     -         </div>
           [exec]     -         <div
           [exec]     -           class="modal-footer"
           [exec]     -         >
           [exec]     -           <div
           [exec]     -             class="modal-item-first"
           [exec]     -           />
           [exec]     +             <p>
           [exec]     +               <strong>
           [exec]     +                 thank-you-for-your-report
           [exec]     +               </strong>
           [exec]     +             </p>
           [exec]     +             <p>
           [exec]     +               although-we-cannot-disclose-our-final-decision,-we-do-review-every-report-and-appreciate-your-effort-to-make-sure-x-is-a-safe-environment-for-everyone
           [exec]     +             </p>
           [exec]     +           </div>
           [exec]                 <div
           [exec]     -             class="modal-item"
           [exec]     -           />
           [exec]     -           <div
           [exec]     -             class="modal-item-last"
           [exec]     +             class="modal-footer"
           [exec]                 >
           [exec]     -             <button
           [exec]     -               class="btn btn-secondary"
           [exec]     -               type="button"
           [exec]     +             <div
           [exec]     +               class="modal-item-first"
           [exec]     +             />
           [exec]     +             <div
           [exec]     +               class="modal-item"
           [exec]     +             />
           [exec]     +             <div
           [exec]     +               class="modal-item-last"
           [exec]                   >
           [exec]     -               close
           [exec]     -             </button>
           [exec]     +               <button
           [exec]     +                 class="btn btn-secondary"
           [exec]     +                 type="button"
           [exec]     +               >
           [exec]     +                 close
           [exec]     +               </button>
           [exec]     +             </div>
           [exec]                 </div>
           [exec]               </div>
           [exec]             </div>
           [exec]           </div>
           [exec]         </div>
           [exec] 
           [exec]        96 | 		});
           [exec]        97 | 
           [exec]     >  98 | 		expect(asFragment()).toMatchSnapshot();
           [exec]           | 		                     ^
           [exec]        99 | 	});
           [exec]       100 | });
           [exec]       101 | 
           [exec] 
           [exec]       at Object.toMatchSnapshot (test/react/js/components/FlagsModal.es.js:98:24)
      

      Attachments

        Activity

          People

            beck.liu Beck Liu
            joshua.itagaki Joshua Itagaki
            Marta Elicegui Marta Elicegui
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:
              3 years, 13 weeks, 3 days ago

              Packages

                Version Package
                7.2.1 CE GA2
                7.2.X
                7.3.10 DXP GA1
                Master