<!-- 
RSS generated by JIRA (1001.0.0-SNAPSHOT#100246-sha1:7a5c50119eb0633d306e14180817ddef5e80c75d) at Thu Feb 08 23:08:03 UTC 2024

It is possible to restrict the fields that are returned in this document by specifying the 'field' parameter in your request.
For example, to request only the issue key and summary add field=key&field=summary to the URL of your request.
-->
<rss version="0.92" >
<channel>
    <title>FOLIO Jira</title>
    <link>https://folio-org.atlassian.net</link>
    <description>This file is an XML representation of an issue</description>
    <language>en-us</language>    <build-info>
        <version>1001.0.0-SNAPSHOT</version>
        <build-number>100246</build-number>
        <build-date>07-02-2024</build-date>
    </build-info>

<item>
            <title>[FOLIO-748] The checkout.js test in ui-testing is fails in a mysterious way.</title>
                <link>https://folio-org.atlassian.net/browse/FOLIO-748</link>
                <project id="10290" key="FOLIO">FOLIO</project>
                    <description>&lt;p&gt;Jason pointed out that yarn test-checkout was failing.  This is disturbing because it ui-testing was very successful the day before.&lt;/p&gt;

&lt;p&gt;All I can say is that the screen freezes after searching for the user to whom an item was just checked out to.  This usually means that there was an alert, confirm or prompt event, since nightmare and electron do not display these.   I have alert capturing turned on in the script, but nothing is returned in the results.  &lt;/p&gt;

&lt;p&gt;Furthermore, I cannot replicate this issue in real life.  I can checkout and item to a user and then go to their record and view loan history without mishap.&lt;/p&gt;

&lt;p&gt;I wonder if electron is freezing for some reason?  I give up for today, and maybe everything will look better on Monday.&lt;/p&gt;

&lt;p&gt;This test is running against &lt;a href=&quot;http://folio-testing.aws.indexdata.com/&quot; class=&quot;external-link&quot; rel=&quot;nofollow noreferrer&quot;&gt;http://folio-testing.aws.indexdata.com/&lt;/a&gt;.&lt;/p&gt;</description>
                <environment></environment>
        <key id="80328">FOLIO-748</key>
            <summary>The checkout.js test in ui-testing is fails in a mysterious way.</summary>
                <type id="10001" iconUrl="https://folio-org.atlassian.net/rest/api/2/universal_avatar/view/type/issuetype/avatar/10303?size=medium">Bug</type>
                                            <priority id="10001" iconUrl="https://dev.folio.org/assets/jira-priority/jira-p2.svg">P2</priority>
                        <status id="6" iconUrl="https://folio-org.atlassian.net/images/icons/statuses/closed.png" description="The issue is considered finished, the resolution is correct. Issues which are closed can be reopened.">Closed</status>
                    <statusCategory id="3" key="done" colorName="green"/>
                                    <resolution id="10003">Done</resolution>
                                                        <assignee accountid="5dcd5f6b97a0a20c664045ee">charles</assignee>
                                                                <reporter accountid="5dcd5f6b97a0a20c664045ee">charles</reporter>
                                    <labels>
                    </labels>
                <created>Fri, 28 Jul 2017 19:16:44 +0000</created>
                <updated>Mon, 12 Nov 2018 14:23:40 +0000</updated>
                            <resolved>Mon, 31 Jul 2017 16:35:21 +0000</resolved>
                                                                    <component>Continuous Integration</component>
                        <due></due>
                            <votes>0</votes>
                                    <watches>3</watches>
                                                    <timespent seconds="25200">7 hours</timespent>
                                <comments>
                                                            <comment id="188938" author="5dcd5f6b97a0a20c664045ee" created="Fri, 28 Jul 2017 19:18:25 +0000"  >&lt;p&gt; Using the App FOLIO UI App /scan (&quot;test-checkout&quot;)&lt;br/&gt;
    Login &amp;gt; Update settings &amp;gt; Create user &amp;gt; Checkout item &amp;gt; Confirm checkout &amp;gt; Checkin &amp;gt; Confirm checkin &amp;gt; Logout&lt;/p&gt;

&lt;p&gt;  nightmare:actions .type() diku_admin into input&lt;span class=&quot;error&quot;&gt;&amp;#91;name=username&amp;#93;&lt;/span&gt; +0ms&lt;br/&gt;
  nightmare:actions .type() admin into input&lt;span class=&quot;error&quot;&gt;&amp;#91;name=password&amp;#93;&lt;/span&gt; +601ms&lt;br/&gt;
  nightmare:actions .click() on button&lt;span class=&quot;error&quot;&gt;&amp;#91;type=submit&amp;#93;&lt;/span&gt; +275ms&lt;br/&gt;
  nightmare:actions .wait() for #clickable-logout element +12ms&lt;br/&gt;
      &#10003; should login as diku_admin/admin (4530ms)&lt;br/&gt;
  nightmare:actions .wait() for a&lt;span class=&quot;error&quot;&gt;&amp;#91;href=&amp;quot;/settings&amp;quot;&amp;#93;&lt;/span&gt; element +302ms&lt;br/&gt;
  nightmare:actions .click() on a&lt;span class=&quot;error&quot;&gt;&amp;#91;href=&amp;quot;/settings&amp;quot;&amp;#93;&lt;/span&gt; +289ms&lt;br/&gt;
  nightmare:actions .wait() for a&lt;span class=&quot;error&quot;&gt;&amp;#91;href=&amp;quot;/settings/scan&amp;quot;&amp;#93;&lt;/span&gt; element +96ms&lt;br/&gt;
  nightmare:actions .click() on a&lt;span class=&quot;error&quot;&gt;&amp;#91;href=&amp;quot;/settings/scan&amp;quot;&amp;#93;&lt;/span&gt; +30ms&lt;br/&gt;
  nightmare:actions .wait() for a&lt;span class=&quot;error&quot;&gt;&amp;#91;href=&amp;quot;/settings/scan/checkout&amp;quot;&amp;#93;&lt;/span&gt; element +142ms&lt;br/&gt;
  nightmare:actions .click() on a&lt;span class=&quot;error&quot;&gt;&amp;#91;href=&amp;quot;/settings/scan/checkout&amp;quot;&amp;#93;&lt;/span&gt; +95ms&lt;br/&gt;
  nightmare:actions .wait() for #patronScanId element +191ms&lt;br/&gt;
  nightmare:actions .wait() for 222ms +30ms&lt;br/&gt;
  nightmare:actions .select() #patronScanId +225ms&lt;br/&gt;
      &#10003; should set patron scan ID to &quot;User&quot; (1126ms)&lt;br/&gt;
  nightmare:actions .click() on a&lt;span class=&quot;error&quot;&gt;&amp;#91;title=&amp;quot;Users&amp;quot;&amp;#93;&lt;/span&gt; +29ms&lt;br/&gt;
  nightmare:actions .wait() for #list-users a:nth-of-type(11) &amp;gt; div:nth-of-type(5) element +150ms&lt;br/&gt;
  nightmare:actions .evaluate() fn on the page +532ms&lt;br/&gt;
Found pasquale&lt;br/&gt;
      &#10003; should find an active user  (711ms)&lt;br/&gt;
  nightmare:actions .click() on a&lt;span class=&quot;error&quot;&gt;&amp;#91;title=Items&amp;#93;&lt;/span&gt; +30ms&lt;br/&gt;
  nightmare:actions .wait() for 2222ms +318ms&lt;br/&gt;
  nightmare:actions .evaluate() fn on the page +2s&lt;br/&gt;
Found 5860825104574&lt;br/&gt;
      &#10003; should find an item to checkout (2546ms)&lt;br/&gt;
  nightmare:actions .wait() for a&lt;span class=&quot;error&quot;&gt;&amp;#91;title=Scan&amp;#93;&lt;/span&gt; element +4ms&lt;br/&gt;
  nightmare:actions .click() on a&lt;span class=&quot;error&quot;&gt;&amp;#91;title=Scan&amp;#93;&lt;/span&gt; +3ms&lt;br/&gt;
  nightmare:actions .wait() for #patron_identifier element +108ms&lt;br/&gt;
  nightmare:actions .type() pasquale into #patron_identifier +21ms&lt;br/&gt;
  nightmare:actions .xclick() on //button&lt;span class=&quot;error&quot;&gt;&amp;#91;contains(.,&amp;quot;Find Patron&amp;quot;)&amp;#93;&lt;/span&gt; +486ms&lt;br/&gt;
  nightmare:actions .wait() for div&lt;span class=&quot;error&quot;&gt;&amp;#91;title=&amp;quot;pasquale&amp;quot;&amp;#93;&lt;/span&gt; element +27ms&lt;br/&gt;
  nightmare:actions .type() 5860825104574 into #barcode +267ms&lt;br/&gt;
  nightmare:actions .xclick() on //button&lt;span class=&quot;error&quot;&gt;&amp;#91;contains(.,&amp;quot;Add item&amp;quot;)&amp;#93;&lt;/span&gt; +698ms&lt;br/&gt;
  nightmare:actions .wait() for div&lt;span class=&quot;error&quot;&gt;&amp;#91;title=&amp;quot;5860825104574&amp;quot;&amp;#93;&lt;/span&gt; element +17ms&lt;br/&gt;
  nightmare:actions .wait() for 2222ms +773ms&lt;br/&gt;
  nightmare:actions .xclick() on //button&lt;span class=&quot;error&quot;&gt;&amp;#91;contains(.,&amp;quot;Done&amp;quot;)&amp;#93;&lt;/span&gt; +2s&lt;br/&gt;
  nightmare:actions .wait() for 4000ms +15ms&lt;br/&gt;
      &#10003; should check out item to user (8640ms)&lt;br/&gt;
  nightmare:actions .click() on a&lt;span class=&quot;error&quot;&gt;&amp;#91;title=Users&amp;#93;&lt;/span&gt; +4s&lt;br/&gt;
  nightmare:actions .wait() for .headerSearchInput---1z5qG element +101ms&lt;br/&gt;
  nightmare:actions .type() pasquale into .headerSearchInput---1z5qG +103ms&lt;br/&gt;
  nightmare:actions .wait() for #list-users div&lt;span class=&quot;error&quot;&gt;&amp;#91;title=&amp;quot;pasquale&amp;quot;&amp;#93;&lt;/span&gt; element +451ms&lt;br/&gt;
  nightmare:actions .click() on #list-users div&lt;span class=&quot;error&quot;&gt;&amp;#91;title=&amp;quot;pasquale&amp;quot;&amp;#93;&lt;/span&gt; +5ms&lt;br/&gt;
  nightmare:actions .wait() for 2222ms +102ms&lt;br/&gt;
  nightmare:actions .click() on #clickable-viewcurrentloans +2s&lt;br/&gt;
      1) should find item in user history&lt;br/&gt;
  nightmare:actions .click() on a&lt;span class=&quot;error&quot;&gt;&amp;#91;title=Scan&amp;#93;&lt;/span&gt; +17s&lt;br/&gt;
      2) should check in item&lt;br/&gt;
  nightmare:actions .click() on a&lt;span class=&quot;error&quot;&gt;&amp;#91;title=Users&amp;#93;&lt;/span&gt; +20s&lt;br/&gt;
      3) should confirm that item has status of Closed in user history&lt;br/&gt;
  nightmare:actions .click() on #clickable-logout +20s&lt;br/&gt;
      4) should logout&lt;/p&gt;</comment>
                                                            <comment id="188939" author="5dcd5f6b97a0a20c664045ee" created="Mon, 31 Jul 2017 16:35:21 +0000"  >&lt;p&gt;I just needed to add a bunch of wait actions to the part that confirms that an item has been charged to the appropriate patron,&lt;/p&gt;</comment>
                    </comments>
                    <attachments>
                    </attachments>
                <subtasks>
                    </subtasks>
                <customfields>
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                <customfield id="customfield_10000" key="com.atlassian.jira.plugins.jira-development-integration-plugin:devsummarycf">
                        <customfieldname>Development</customfieldname>
                        <customfieldvalues>
                            
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    <customfield id="customfield_10019" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>0|hzxwjz:</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    <customfield id="customfield_10020" key="com.pyxis.greenhopper.jira:gh-sprint">
                        <customfieldname>Sprint</customfieldname>
                        <customfieldvalues>
                            
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    <customfield id="customfield_10025" key="com.atlassian.jira.ext.charting:timeinstatus">
                        <customfieldname>[CHART] Time in Status</customfieldname>
                        <customfieldvalues>
                            
                        </customfieldvalues>
                    </customfield>
                                    </customfields>
    </item>
</channel>
</rss>