<!-- 
RSS generated by JIRA (1001.0.0-SNAPSHOT#100246-sha1:7a5c50119eb0633d306e14180817ddef5e80c75d) at Thu Feb 08 23:18:12 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-2099] BigTest: counterintuitive behavior using isPresent</title>
                <link>https://folio-org.atlassian.net/browse/FOLIO-2099</link>
                <project id="10290" key="FOLIO">FOLIO</project>
                    <description>&lt;p&gt;We discovered that tests written using the &lt;tt&gt;isPresent&lt;/tt&gt; property can &quot;fail&quot; (i.e., not behave as expected) in counterintuitive ways. A test written in the form&lt;/p&gt;

&lt;p&gt;&lt;tt&gt;expect(&lt;span class=&quot;error&quot;&gt;&amp;#91;interactor&amp;#93;&lt;/span&gt;.&lt;span class=&quot;error&quot;&gt;&amp;#91;selector&amp;#93;&lt;/span&gt;.isPresent).to.be.&lt;span class=&quot;error&quot;&gt;&amp;#91;boolean&amp;#93;&lt;/span&gt;&lt;/tt&gt; (&lt;a href=&quot;https://github.com/folio-org/ui-checkout/blob/master/test/bigtest/tests/override-loans-policy-test.js#L67&quot; class=&quot;external-link&quot; rel=&quot;nofollow noreferrer&quot;&gt;example&lt;/a&gt;)&lt;/p&gt;

&lt;p&gt;will pass whether the boolean comparator is &lt;tt&gt;true&lt;/tt&gt; or &lt;tt&gt;false&lt;/tt&gt;. Upon reflection, this is presumably because of the way that convergences behave: while waiting for a component to appear in the DOM, &lt;tt&gt;isPresent&lt;/tt&gt; will return &lt;tt&gt;false&lt;/tt&gt;, and thus a &lt;tt&gt;false&lt;/tt&gt; comparison will pass. If the component does appear before the timeout, then a &lt;tt&gt;true&lt;/tt&gt; comparison will also pass. Thus this probably is not an actual bug, but it would probably be a good idea to clarify and emphasize this behavior in the documentation. If a developer doesn&apos;t fully understand what&apos;s going on with the convergences, it&apos;s very easy to write meaningless tests using &lt;tt&gt;isPresent&lt;/tt&gt;.&lt;/p&gt;</description>
                <environment></environment>
        <key id="81303">FOLIO-2099</key>
            <summary>BigTest: counterintuitive behavior using isPresent</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="10005" iconUrl="https://dev.folio.org/assets/jira-priority/tbd.svg">TBD</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="10000">Won&apos;t Do</resolution>
                                                        <assignee accountid="5cffed1a5d548b0c51d6b19b">Anton Emelianov</assignee>
                                                                <reporter accountid="557058:63e17413-51f9-4a7c-910b-544728833e0f">Matt Connolly</reporter>
                                    <labels>
                            <label>bigtest</label>
                    </labels>
                <created>Wed, 12 Jun 2019 14:02:18 +0000</created>
                <updated>Wed, 8 Dec 2021 15:33:17 +0000</updated>
                            <resolved>Wed, 8 Dec 2021 15:33:17 +0000</resolved>
                                                                        <due></due>
                            <votes>0</votes>
                                    <watches>5</watches>
                                                                <comments>
                                                            <comment id="196055" author="5af5ed55244bc90a106063c7" created="Mon, 18 May 2020 14:21:33 +0000"  >&lt;p&gt;&lt;a href=&quot;https://folio-org.atlassian.net/secure/ViewProfile.jspa?accountId=5cffed1a5d548b0c51d6b19b&quot; class=&quot;user-hover&quot; rel=&quot;5cffed1a5d548b0c51d6b19b&quot; data-account-id=&quot;5cffed1a5d548b0c51d6b19b&quot; accountid=&quot;5cffed1a5d548b0c51d6b19b&quot; rel=&quot;noreferrer&quot;&gt;Anton Emelianov&lt;/a&gt; can we tag this with something to get it out of our general bug statistics?  Or maybe you should just exclude all issues with the bigtest tag from the general stats (like you do with the ci/cd stuff)&lt;/p&gt;</comment>
                                                            <comment id="196056" author="5cffed1a5d548b0c51d6b19b" created="Mon, 18 May 2020 21:51:04 +0000"  >&lt;p&gt;&lt;a href=&quot;https://folio-org.atlassian.net/secure/ViewProfile.jspa?accountId=5af5ed55244bc90a106063c7&quot; class=&quot;user-hover&quot; rel=&quot;5af5ed55244bc90a106063c7&quot; data-account-id=&quot;5af5ed55244bc90a106063c7&quot; accountid=&quot;5af5ed55244bc90a106063c7&quot; rel=&quot;noreferrer&quot;&gt;Cate Boerema&lt;/a&gt;, I found 5 bugs with &apos;bigtest&apos; label. I added this label to the exclusion list. &lt;/p&gt;</comment>
                                                            <comment id="196057" author="5af5e627525ba96b58654f12" created="Tue, 30 Nov 2021 21:54:06 +0000"  >&lt;p&gt;Hi &lt;a href=&quot;https://folio-org.atlassian.net/secure/ViewProfile.jspa?accountId=5cffed1a5d548b0c51d6b19b&quot; class=&quot;user-hover&quot; rel=&quot;5cffed1a5d548b0c51d6b19b&quot; data-account-id=&quot;5cffed1a5d548b0c51d6b19b&quot; accountid=&quot;5cffed1a5d548b0c51d6b19b&quot; rel=&quot;noreferrer&quot;&gt;Anton Emelianov&lt;/a&gt; Which team should be assigned to this? It seems like it should move to the FAT project, and be assigned to a dev team. Could you review it? Thank you!&lt;/p&gt;</comment>
                                                            <comment id="196058" author="5cffed1a5d548b0c51d6b19b" created="Wed, 8 Dec 2021 15:33:07 +0000"  >&lt;p&gt;We are migrating away from BTOG and hence will not put effort into resolving this issue or others like it.&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|hzztdj:</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    <customfield id="customfield_10020" key="com.pyxis.greenhopper.jira:gh-sprint">
                        <customfieldname>Sprint</customfieldname>
                        <customfieldvalues>
                            
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        <customfield id="customfield_10024" key="com.atlassian.jira.ext.charting:firstresponsedate">
                        <customfieldname>[CHART] Date of First Response</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>Mon, 18 May 2020 14:21:33 +0000</customfieldvalue>

                        </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>