<!-- 
RSS generated by JIRA (1001.0.0-SNAPSHOT#100246-sha1:7a5c50119eb0633d306e14180817ddef5e80c75d) at Thu Feb 08 23:08:26 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>[UITEST-4] Create hook in in ui-testing for invoking tests in ui module repos</title>
                <link>https://folio-org.atlassian.net/browse/UITEST-4</link>
                <project id="10041" key="UITEST">stripes-testing</project>
                    <description></description>
                <environment></environment>
        <key id="36950">UITEST-4</key>
            <summary>Create hook in in ui-testing for invoking tests in ui module repos</summary>
                <type id="10004" iconUrl="https://folio-org.atlassian.net/rest/api/2/universal_avatar/view/type/issuetype/avatar/10300?size=medium">Sub-task</type>
                            <parent id="36953">UITEST-2</parent>
                                    <priority id="10002" iconUrl="https://dev.folio.org/assets/jira-priority/jira-p3.svg">P3</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="5bffed5e2434bf3a1a91d37a">Niels Erik Nielsen</assignee>
                                                                <reporter accountid="5bffed5e2434bf3a1a91d37a">Niels Erik Nielsen</reporter>
                                    <labels>
                            <label>sprint21</label>
                    </labels>
                <created>Thu, 24 Aug 2017 07:41:34 +0000</created>
                <updated>Fri, 1 Sep 2017 06:32:30 +0000</updated>
                            <resolved>Thu, 24 Aug 2017 17:42:47 +0000</resolved>
                                                                        <due></due>
                            <votes>0</votes>
                                    <watches>1</watches>
                                            <timeestimate seconds="1800">30 minutes</timeestimate>
                            <timespent seconds="28800">1 day</timespent>
                                <comments>
                                                            <comment id="83252" author="5bffed5e2434bf3a1a91d37a" created="Thu, 24 Aug 2017 07:50:02 +0000"  >&lt;p&gt;Initial version is taking shape: &lt;/p&gt;

&lt;ul class=&quot;alternate&quot; type=&quot;square&quot;&gt;
	&lt;li&gt;a script in ui-testing that can invoke tests for a ui-module named in an argument to the script&lt;/li&gt;
	&lt;li&gt;references to that script in ui-testing package.json, can invoke one or multiple ui-modules&apos; tests&lt;/li&gt;
&lt;/ul&gt;


&lt;p&gt;For now requires that the ui-modules put their tests in a specific directory and file (will be  ./test/ui-testing/test.js). The file name could be parameterized (so that some tests could be included in the overall ui-testing tests and others not for instance)&lt;/p&gt;

&lt;p&gt;ui-testing would declare dependencies on the ui modules under test - could be releases or snapshots (see also 
    &lt;span class=&quot;jira-issue-macro resolved&quot; data-jira-key=&quot;FOLIO-798&quot; &gt;
                &lt;a href=&quot;https://folio-org.atlassian.net/browse/FOLIO-798&quot; class=&quot;jira-issue-macro-key issue-link&quot;  title=&quot;Parameterize npm repo for ui-testing Docker build&quot; &gt;
            &lt;img class=&quot;icon&quot; src=&quot;https://folio-org.atlassian.net/rest/api/2/universal_avatar/view/type/issuetype/avatar/10322?size=medium&quot; /&gt;
            FOLIO-798
        &lt;/a&gt;
                                                    &lt;span class=&quot;aui-lozenge aui-lozenge-subtle aui-lozenge-success jira-macro-single-issue-export-pdf&quot;&gt;Closed&lt;/span&gt;
            &lt;/span&gt;
)&lt;/p&gt;</comment>
                                                            <comment id="83253" author="5bffed5e2434bf3a1a91d37a" created="Thu, 24 Aug 2017 17:42:29 +0000"  >&lt;p&gt;A hook for running module tests from ui-testing is provided. &lt;/p&gt;

&lt;p&gt;To run Users&apos; tests for instance:&lt;/p&gt;

&lt;p&gt;yarn install &lt;tt&gt;ui-testing&lt;/tt&gt; &lt;/p&gt;

&lt;p&gt;&lt;tt&gt;ui-testing&lt;/tt&gt; must have a dependency on &lt;tt&gt;users&lt;/tt&gt; in &lt;tt&gt;package.json&lt;/tt&gt;:&lt;/p&gt;

&lt;div class=&quot;code panel&quot; style=&quot;border-width: 1px;&quot;&gt;&lt;div class=&quot;codeContent panelContent&quot;&gt;
&lt;pre class=&quot;code-java&quot;&gt;
  &lt;span class=&quot;code-quote&quot;&gt;&quot;dependencies&quot;&lt;/span&gt;: {
    &lt;span class=&quot;code-quote&quot;&gt;&quot;mocha&quot;&lt;/span&gt;: &lt;span class=&quot;code-quote&quot;&gt;&quot;^3.4.2&quot;&lt;/span&gt;,
    &lt;span class=&quot;code-quote&quot;&gt;&quot;nightmare&quot;&lt;/span&gt;: &lt;span class=&quot;code-quote&quot;&gt;&quot;^2.10.0&quot;&lt;/span&gt;,
    ....
    &lt;span class=&quot;code-quote&quot;&gt;&quot;@folio/items&quot;&lt;/span&gt;: &lt;span class=&quot;code-quote&quot;&gt;&quot;^1.9.0&quot;&lt;/span&gt;,
    &lt;span class=&quot;code-quote&quot;&gt;&quot;@folio/users&quot;&lt;/span&gt;: &lt;span class=&quot;code-quote&quot;&gt;&quot;^2.9.0&quot;&lt;/span&gt;
  }
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;

&lt;p&gt;To run all @folio/users&apos; tests (as declared in &lt;tt&gt;ui-users/test/ui-testing/test.js&lt;/tt&gt;)&lt;/p&gt;
&lt;div class=&quot;code panel&quot; style=&quot;border-width: 1px;&quot;&gt;&lt;div class=&quot;codeContent panelContent&quot;&gt;
&lt;pre class=&quot;code-java&quot;&gt;
  yarn test-module -- -o --app=users
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;

&lt;p&gt;To run a specific test:&lt;/p&gt;
&lt;div class=&quot;code panel&quot; style=&quot;border-width: 1px;&quot;&gt;&lt;div class=&quot;codeContent panelContent&quot;&gt;
&lt;pre class=&quot;code-java&quot;&gt;
  yarn test-module -- -o --app=users:patron_group
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;

&lt;p&gt;To run tests from multiple UI modules - here all from checkout, two from users and one from items:&lt;/p&gt;

&lt;div class=&quot;code panel&quot; style=&quot;border-width: 1px;&quot;&gt;&lt;div class=&quot;codeContent panelContent&quot;&gt;
&lt;pre class=&quot;code-java&quot;&gt;
  yarn test-module -- -o --app=checkout/users:patron_group,new_user/items:new_item
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;</comment>
                    </comments>
                <issuelinks>
                            <issuelinktype id="10003">
                    <name>Relates</name>
                                                                <inwardlinks description="relates to">
                                        <issuelink>
            <issuekey id="36949">UITEST-3</issuekey>
        </issuelink>
                            </inwardlinks>
                                    </issuelinktype>
                    </issuelinks>
                <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|hzxy8n:</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>