<!-- 
RSS generated by JIRA (1001.0.0-SNAPSHOT#100246-sha1:7a5c50119eb0633d306e14180817ddef5e80c75d) at Thu Feb 08 23:05:22 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-385] Integration tests for CI</title>
                <link>https://folio-org.atlassian.net/browse/FOLIO-385</link>
                <project id="10290" key="FOLIO">FOLIO</project>
                    <description></description>
                <environment></environment>
        <key id="79985">FOLIO-385</key>
            <summary>Integration tests for CI</summary>
                <type id="10002" iconUrl="https://folio-org.atlassian.net/rest/api/2/universal_avatar/view/type/issuetype/avatar/10322?size=medium">New Feature</type>
                                            <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="712020:95104f24-fe38-4929-9687-9b10fa9eac7e">Wolfram Schneider</assignee>
                                                                <reporter accountid="5c706fbb47a54a6728e59df2">Wayne Schneider</reporter>
                                    <labels>
                            <label>sprint10</label>
                            <label>sprint11</label>
                            <label>sprint7</label>
                            <label>sprint8</label>
                            <label>sprint9</label>
                    </labels>
                <created>Wed, 9 Nov 2016 21:57:38 +0000</created>
                <updated>Mon, 12 Nov 2018 14:23:20 +0000</updated>
                            <resolved>Tue, 11 Apr 2017 11:23:24 +0000</resolved>
                                                                        <due></due>
                            <votes>0</votes>
                                    <watches>8</watches>
                                                    <timespent seconds="1237500">8 weeks, 2 days, 7 hours, 45 minutes</timespent>
                                <comments>
                                                            <comment id="188224" author="557058:b8e64633-1f7c-402d-9caf-9959a5ba5d0d" created="Thu, 26 Jan 2017 09:18:58 +0000"  >&lt;p&gt;Guys, I would like to see whether we can move ahead on this issue. Yesterday, John, Wayne and I discussed creating a suite of integration tests that would be run automatically and periodically against the entire installation of the platform (Okapi, modules, UI). As such I was thinking Selenium might be a good tool for the job. &lt;a href=&quot;https://folio-org.atlassian.net/secure/ViewProfile.jspa?accountId=712020%3A95104f24-fe38-4929-9687-9b10fa9eac7e&quot; class=&quot;user-hover&quot; rel=&quot;712020:95104f24-fe38-4929-9687-9b10fa9eac7e&quot; data-account-id=&quot;712020:95104f24-fe38-4929-9687-9b10fa9eac7e&quot; accountid=&quot;712020:95104f24-fe38-4929-9687-9b10fa9eac7e&quot; rel=&quot;noreferrer&quot;&gt;Wolfram Schneider&lt;/a&gt; might have some other ideas as well.&lt;/p&gt;</comment>
                                                            <comment id="188225" author="712020:95104f24-fe38-4929-9687-9b10fa9eac7e" created="Thu, 26 Jan 2017 12:35:20 +0000"  >&lt;p&gt;I found this tool: &lt;a href=&quot;http://screenster.io/selenium-alternatives-for-testing-automation/&quot; class=&quot;external-link&quot; rel=&quot;nofollow noreferrer&quot;&gt;http://screenster.io/selenium-alternatives-for-testing-automation/&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;I think that Selenium is great, but we should also have a look at the alternatives.&lt;/p&gt;</comment>
                                                            <comment id="188226" author="557058:b8e64633-1f7c-402d-9caf-9959a5ba5d0d" created="Tue, 31 Jan 2017 13:49:15 +0000"  >&lt;p&gt;Here are some rough test cases/scenarios:&lt;/p&gt;

&lt;ul&gt;
	&lt;li&gt;user logs in&lt;/li&gt;
	&lt;li&gt;user opens the Users app&lt;/li&gt;
	&lt;li&gt;user searches for a set of records&lt;/li&gt;
	&lt;li&gt;user changes sort order&lt;/li&gt;
	&lt;li&gt;user updates a record&lt;/li&gt;
	&lt;li&gt;user creates a record&lt;/li&gt;
	&lt;li&gt;user deletes a record&lt;/li&gt;
&lt;/ul&gt;
</comment>
                                                            <comment id="188227" author="557058:b8e64633-1f7c-402d-9caf-9959a5ba5d0d" created="Thu, 2 Feb 2017 12:40:59 +0000"  >&lt;p&gt;Wolfram, what is the status of this issue? Have you made any progress?&lt;/p&gt;</comment>
                                                            <comment id="188228" author="5ee89462f7aa140abd82d11d" created="Thu, 2 Feb 2017 13:28:12 +0000"  >&lt;p&gt;&lt;a href=&quot;https://folio-org.atlassian.net/secure/ViewProfile.jspa?accountId=712020%3A95104f24-fe38-4929-9687-9b10fa9eac7e&quot; class=&quot;user-hover&quot; rel=&quot;712020:95104f24-fe38-4929-9687-9b10fa9eac7e&quot; data-account-id=&quot;712020:95104f24-fe38-4929-9687-9b10fa9eac7e&quot; accountid=&quot;712020:95104f24-fe38-4929-9687-9b10fa9eac7e&quot; rel=&quot;noreferrer&quot;&gt;Wolfram Schneider&lt;/a&gt;, just in case its not on your list of tools to evaluate: &lt;a href=&quot;http://www.sikuli.org/&quot; class=&quot;external-link&quot; rel=&quot;nofollow noreferrer&quot;&gt;http://www.sikuli.org/&lt;/a&gt;&lt;/p&gt;</comment>
                                                            <comment id="188229" author="712020:95104f24-fe38-4929-9687-9b10fa9eac7e" created="Mon, 6 Feb 2017 13:40:35 +0000"  >&lt;p&gt;I put my notes in a google docs:&lt;/p&gt;

&lt;p&gt;&lt;a href=&quot;https://docs.google.com/a/indexdata.com/document/d/1XaY9Z4HGgmEL40xSxovYyZPbIz1uCHUQj_Mk9lsVfk8/edit?usp=sharing&quot; class=&quot;external-link&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://docs.google.com/a/indexdata.com/document/d/1XaY9Z4HGgmEL40xSxovYyZPbIz1uCHUQj_Mk9lsVfk8/edit?usp=sharing&lt;/a&gt;&lt;/p&gt;</comment>
                                                            <comment id="188230" author="5ee89462f7aa140abd82d11d" created="Mon, 6 Feb 2017 15:11:04 +0000"  >&lt;p&gt;&lt;a href=&quot;https://folio-org.atlassian.net/secure/ViewProfile.jspa?accountId=712020%3A95104f24-fe38-4929-9687-9b10fa9eac7e&quot; class=&quot;user-hover&quot; rel=&quot;712020:95104f24-fe38-4929-9687-9b10fa9eac7e&quot; data-account-id=&quot;712020:95104f24-fe38-4929-9687-9b10fa9eac7e&quot; accountid=&quot;712020:95104f24-fe38-4929-9687-9b10fa9eac7e&quot; rel=&quot;noreferrer&quot;&gt;Wolfram Schneider&lt;/a&gt;, access to &lt;a href=&quot;https://docs.google.com/a/indexdata.com/&quot; class=&quot;external-link&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://docs.google.com/a/indexdata.com/&lt;/a&gt; is restricted, you may upload the document into this issue or create a page on wiki.folio.org.&lt;/p&gt;</comment>
                                                            <comment id="188231" author="557058:b8e64633-1f7c-402d-9caf-9959a5ba5d0d" created="Tue, 7 Feb 2017 14:57:04 +0000"  >&lt;p&gt;&lt;a href=&quot;https://folio-org.atlassian.net/secure/ViewProfile.jspa?accountId=712020%3A95104f24-fe38-4929-9687-9b10fa9eac7e&quot; class=&quot;user-hover&quot; rel=&quot;712020:95104f24-fe38-4929-9687-9b10fa9eac7e&quot; data-account-id=&quot;712020:95104f24-fe38-4929-9687-9b10fa9eac7e&quot; accountid=&quot;712020:95104f24-fe38-4929-9687-9b10fa9eac7e&quot; rel=&quot;noreferrer&quot;&gt;Wolfram Schneider&lt;/a&gt; you have missed the backend meeting today where we tried to discuss this issue. Can you please provide an update here?&lt;/p&gt;</comment>
                                                            <comment id="188232" author="712020:95104f24-fe38-4929-9687-9b10fa9eac7e" created="Thu, 9 Feb 2017 12:48:18 +0000"  >&lt;p&gt;I worked with the wraith tool, to run tests. I setup some examples at &lt;a href=&quot;http://mkws-dev.indexdata.com/wraith/&quot; class=&quot;external-link&quot; rel=&quot;nofollow noreferrer&quot;&gt;http://mkws-dev.indexdata.com/wraith/&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;I used our most complicated tool &#8220;MKWS&#8221; for testing.&lt;/p&gt;

&lt;p&gt;it works pretty well to detect small visual changes on a web site. e.g. on &lt;a href=&quot;http://mkws-dev.indexdata.com/wraith/mkws-history/&quot; class=&quot;external-link&quot; rel=&quot;nofollow noreferrer&quot;&gt;http://mkws-dev.indexdata.com/wraith/mkws-history/&lt;/a&gt; you can see a small change (in red), which is the running time.&lt;/p&gt;

&lt;p&gt;you can compare 2 sites, e.g. dev and production. Or you run a history (old, new).&lt;/p&gt;

&lt;p&gt;This is a high level test. You can run it with different screen sizes. There is nothing to code, just to setup a config file. It is all open source, free, and run on the command line, on your local computer.&lt;/p&gt;

&lt;p&gt;For JS developers, I think we still need code based testing frameworks as mocha or jest. I&apos;m looking at this right now.&lt;/p&gt;</comment>
                                                            <comment id="188233" author="712020:95104f24-fe38-4929-9687-9b10fa9eac7e" created="Tue, 21 Feb 2017 13:20:26 +0000"  >&lt;p&gt;For unkown reasons, the phantomjs tool cannot make screen shots of our folio trivial examples. Even simple images fails with a segfault. After some hours of debugging giving up now and will use an other demo page.&lt;/p&gt;

&lt;p&gt;Something is wrong with the generated bundle, it cannot be parsed in a headless webkit.&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;
SyntaxError: Parse error
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;

&lt;p&gt;I will discuss this later with Jason.&lt;/p&gt;</comment>
                                                            <comment id="188234" author="712020:95104f24-fe38-4929-9687-9b10fa9eac7e" created="Wed, 22 Feb 2017 17:37:55 +0000"  >&lt;p&gt;The segfault of phantomjs is related to the older version of phantomjs 1.9.20 (which we are using for MKWS). The newer phantomjs 2.1.x seems to more stable. Also, casperjs seems to be a better tool for screenshots.&lt;/p&gt;

&lt;p&gt;Wraith has a strange ruby error message for the screen shot history, it works only once and not again. It turns out that the framework has problem with absolute paths, and works only with a relative path &lt;img class=&quot;emoticon&quot; src=&quot;/images/icons/emoticons/help_16.png&quot; height=&quot;16&quot; width=&quot;16&quot; align=&quot;absmiddle&quot; alt=&quot;&quot; border=&quot;0&quot;/&gt;. We can solve the issue with a symlink. I found github issues for similar errors, but none fixed our issue.&lt;/p&gt;</comment>
                                                            <comment id="188235" author="712020:95104f24-fe38-4929-9687-9b10fa9eac7e" created="Wed, 1 Mar 2017 21:33:05 +0000"  >&lt;p&gt;The error message &quot;SyntaxError: Parse error&quot; is the reason why phantomjs fails to take any screenshots.&lt;/p&gt;

&lt;p&gt;See also&lt;br/&gt;
&lt;a href=&quot;https://github.com/ariya/phantomjs/issues/11640&quot; class=&quot;external-link&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://github.com/ariya/phantomjs/issues/11640&lt;/a&gt;&lt;br/&gt;
&lt;a href=&quot;https://stackoverflow.com/questions/14905664/getting-more-information-from-phantomjs-syntaxerror-parse-error-message&quot; class=&quot;external-link&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://stackoverflow.com/questions/14905664/getting-more-information-from-phantomjs-syntaxerror-parse-error-message&lt;/a&gt;&lt;br/&gt;
&lt;a href=&quot;https://stackoverflow.com/questions/28165420/getting-more-information-from-syntaxerror-parse-error-message-in-phantomjs-ca/32212962&quot; class=&quot;external-link&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://stackoverflow.com/questions/28165420/getting-more-information-from-syntaxerror-parse-error-message-in-phantomjs-ca/32212962&lt;/a&gt;&lt;/p&gt;</comment>
                                                            <comment id="188236" author="712020:95104f24-fe38-4929-9687-9b10fa9eac7e" created="Wed, 1 Mar 2017 21:34:33 +0000"  >&lt;p&gt;Vagrant runs fine on my mac at home. In the office, I got a HTTP 404, very strange. But good to know it works at home on a modern mac.&lt;/p&gt;</comment>
                                                            <comment id="188237" author="712020:95104f24-fe38-4929-9687-9b10fa9eac7e" created="Thu, 2 Mar 2017 12:51:48 +0000"  >&lt;p&gt;The latest version of folio/folio-demo v0.7.0 runs fine on my old mac now.&lt;/p&gt;</comment>
                                                            <comment id="188238" author="712020:95104f24-fe38-4929-9687-9b10fa9eac7e" created="Thu, 2 Mar 2017 13:00:08 +0000"  >&lt;p&gt;The bundle.js file in folio/folio-demo is 9.2MB huge. Wow! It is amazing that he browser can parse this. I see sometimes a warning that it took 400ms to parse.&lt;/p&gt;

&lt;p&gt;All major browsers (Firefox, Safari, Chrome) can parse the file. However, phantomjs fails.&lt;/p&gt;

&lt;p&gt;The github bug reports of phantomjs suggest to run the JS in node.js, to get the error message. But this doesn&apos;t work if a browser &quot;document&quot; object is required. The bug reports also says that the issue should be fixed in phantomjs 2.1.x, which is apparently not true for folio-ui.&lt;/p&gt;

&lt;p&gt;I run a test with the JavaScript syntax checker &quot;esprima&quot; and the bundle.js looks fine.&lt;/p&gt;

&lt;p&gt;&lt;a href=&quot;https://www.npmjs.com/package/esprima&quot; class=&quot;external-link&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://www.npmjs.com/package/esprima&lt;/a&gt;&lt;br/&gt;
Esprima (esprima.org, BSD license) is a high performance, standard-compliant ECMAScript parser written in ECMAScript (also popularly known as JavaScript)&lt;/p&gt;</comment>
                                                            <comment id="188239" author="712020:95104f24-fe38-4929-9687-9b10fa9eac7e" created="Thu, 2 Mar 2017 13:31:24 +0000"  >&lt;p&gt;uglify cannot parse the bundle. But I don&apos;t see an error in the code, maybe this is related to newer ES6 syntax:&lt;br/&gt;
&lt;a href=&quot;http://exploringjs.com/es6/ch_arrow-functions.html&quot; class=&quot;external-link&quot; rel=&quot;nofollow noreferrer&quot;&gt;http://exploringjs.com/es6/ch_arrow-functions.html&lt;/a&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;
$ uglifyjs bundle.js 
Parse error at bundle.js:25120,183
ial&lt;span class=&quot;code-quote&quot;&gt;&apos;,module:&apos;&lt;/span&gt;@folio/trivial&apos;,getModule:() =&amp;gt; __webpack_require__(714).&lt;span class=&quot;code-keyword&quot;&gt;default&lt;/span&gt;,mo
                                        ^
SyntaxError: Unexpected token: punc ())
    at JS_Parse_Error.get (eval at &amp;lt;anonymous&amp;gt; (/usr/local/lib/node_modules/uglify-js/tools/node.js:28:1), &amp;lt;anonymous&amp;gt;:86:23)
    at /usr/local/lib/node_modules/uglify-js/bin/uglifyjs:382:39
    at time_it (/usr/local/lib/node_modules/uglify-js/bin/uglifyjs:616:15)
    at /usr/local/lib/node_modules/uglify-js/bin/uglifyjs:343:9
    at tryToString (fs.js:447:3)
    at FSReqWrap.readFileAfterClose [as oncomplete] (fs.js:434:12)
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;</comment>
                                                            <comment id="188240" author="557058:b8e64633-1f7c-402d-9caf-9959a5ba5d0d" created="Thu, 2 Mar 2017 14:15:02 +0000"  >&lt;p&gt;Discussed on the call: Wolfram to take Jest for a spin before the end of the week, if this is not promising he will turn over to Jasmine.&lt;/p&gt;</comment>
                                                            <comment id="188241" author="557058:b8e64633-1f7c-402d-9caf-9959a5ba5d0d" created="Mon, 20 Mar 2017 11:13:45 +0000"  >&lt;p&gt;Wolfram, do we have a Jenkins job running? Have you successfully implemented test scenarios with nightmare.js? If so, where can we see test result/log?&lt;/p&gt;</comment>
                                                            <comment id="188242" author="557058:b8e64633-1f7c-402d-9caf-9959a5ba5d0d" created="Tue, 21 Mar 2017 13:40:38 +0000"  >&lt;p&gt;Nigthmare.js and mokka in use for tests. The jenkins job is still to be set up.&lt;/p&gt;</comment>
                                                            <comment id="188243" author="5f9abc1eb45b2e007453f423" created="Tue, 21 Mar 2017 14:36:58 +0000"  >&lt;p&gt;Just a couple of comments previously discussed with Wolfram:&lt;/p&gt;

&lt;ul class=&quot;alternate&quot; type=&quot;square&quot;&gt;
	&lt;li&gt;In the CI environment, run the testing tool inside a Docker container so that we don&apos;t clutter the Jenkins host with development tools as well as easily deploy the tool to run on other hosts.&lt;/li&gt;
&lt;/ul&gt;


&lt;ul class=&quot;alternate&quot; type=&quot;square&quot;&gt;
	&lt;li&gt;I set up a Jenkin&apos;s job called &apos;CI_c10_UI&apos; which creates a target FOLIO environment to test against for the duration of the test.  The environment lasts for the duration of the test.   The Stripes and Okapi URL are always fixed at &lt;a href=&quot;http://folio-ci10.aws.indexdata.com&quot; class=&quot;external-link&quot; rel=&quot;nofollow noreferrer&quot;&gt;http://folio-ci10.aws.indexdata.com&lt;/a&gt; and &lt;a href=&quot;http://folio-ci10.aws.indexdata.com:9130&quot; class=&quot;external-link&quot; rel=&quot;nofollow noreferrer&quot;&gt;http://folio-ci10.aws.indexdata.com:9130&lt;/a&gt; respectively.&lt;/li&gt;
&lt;/ul&gt;
</comment>
                                                            <comment id="188244" author="712020:95104f24-fe38-4929-9687-9b10fa9eac7e" created="Thu, 23 Mar 2017 12:02:20 +0000"  >&lt;p&gt;To run a test, you have a running UI installation, e.g.&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;
git clone ssh:&lt;span class=&quot;code-comment&quot;&gt;//git@github.com/folio-org/stripes-sample-platform.git
&lt;/span&gt;cd stripes-sample-platform
yarn install
yarn start
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;

&lt;p&gt;Note: auth must be enabled. The url can be on your local machine &lt;a href=&quot;http://localhost:9130&quot; class=&quot;external-link&quot; rel=&quot;nofollow noreferrer&quot;&gt;http://localhost:9130&lt;/a&gt; or the demo site&lt;br/&gt;
&lt;a href=&quot;http://folio-c10.aws.indexdata.com:9130&quot; class=&quot;external-link&quot; rel=&quot;nofollow noreferrer&quot;&gt;http://folio-c10.aws.indexdata.com:9130&lt;/a&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;
cat stripes.config.js 
module.exports = {
  okapi: { &lt;span class=&quot;code-quote&quot;&gt;&apos;url&apos;&lt;/span&gt;:&lt;span class=&quot;code-quote&quot;&gt;&apos;http:&lt;span class=&quot;code-comment&quot;&gt;//localhost:9130&apos;&lt;/span&gt;, &lt;span class=&quot;code-quote&quot;&gt;&apos;tenant&apos;&lt;/span&gt;:&lt;span class=&quot;code-quote&quot;&gt;&apos;diku&apos;&lt;/span&gt; },
&lt;/span&gt;  config: {
    reduxLog: &lt;span class=&quot;code-keyword&quot;&gt;true&lt;/span&gt;,
    disableAuth: &lt;span class=&quot;code-keyword&quot;&gt;false&lt;/span&gt;
    &lt;span class=&quot;code-comment&quot;&gt;// candidate logCategories: &lt;span class=&quot;code-quote&quot;&gt;&apos;core,redux,path,mpath,action,perm,xhr&apos;&lt;/span&gt;
&lt;/span&gt;  },
  modules: {
    &lt;span class=&quot;code-quote&quot;&gt;&apos;@folio/trivial&apos;&lt;/span&gt;: {},
    &lt;span class=&quot;code-quote&quot;&gt;&apos;@folio/users&apos;&lt;/span&gt;: {},
    &lt;span class=&quot;code-quote&quot;&gt;&apos;@folio/items&apos;&lt;/span&gt;: {},
    &lt;span class=&quot;code-quote&quot;&gt;&apos;@folio/scan&apos;&lt;/span&gt;: {}
  }
};
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;

&lt;p&gt;The nighmare/mocca tests setup is in my git account &lt;a href=&quot;https://github.com/wschnrid/folio-ui-test&quot; class=&quot;external-link&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://github.com/wschnrid/folio-ui-test&lt;/a&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;
git clone git@github.com:wschnrid/folio-ui-test.git
yarn install
yarn test-simple
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;

&lt;p&gt;This should work.&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
yarn test v0.21.3
$ ./node_modules/.bin/mocha 


  Load a Page / 100-startpage
    / (Home Page)
      &#10003; should load without error (1577ms)
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;

&lt;p&gt;A full test runs as:&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
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;</comment>
                                                            <comment id="188245" author="712020:95104f24-fe38-4929-9687-9b10fa9eac7e" created="Thu, 23 Mar 2017 12:10:24 +0000"  >&lt;p&gt;There are 2 ways to debug the tests. With nightmare, you can use the &lt;br/&gt;
DEBUG=nightmare or DEBUG=nightmare*. This runs on the command line:&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;
DEBUG=nightmare yarn test-simple
yarn test-simple v0.21.3
$ ./node_modules/.bin/mocha test/100-startpage.js 


  Load a Page / 100-startpage
    / (Home Page)
  nightmare queuing process start +0ms
  nightmare queueing action &lt;span class=&quot;code-quote&quot;&gt;&quot;&lt;span class=&quot;code-keyword&quot;&gt;goto&lt;/span&gt;&quot;&lt;/span&gt; &lt;span class=&quot;code-keyword&quot;&gt;for&lt;/span&gt; http:&lt;span class=&quot;code-comment&quot;&gt;//localhost:3000 +4ms
&lt;/span&gt;  nightmare queueing action &lt;span class=&quot;code-quote&quot;&gt;&quot;wait&quot;&lt;/span&gt; +1ms
  nightmare running +0ms
  nightmare electron child process exited with code 0: success! +1s
      &#10003; should load without error (1350ms)


  1 passing (1s)

&#10024;  Done in 1.88s.
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;

&lt;p&gt;on a desktop machine, you can view the browser window (FOLIO_UI_DEBUG=1) and the developer console (FOLIO_UI_DEBUG=2):&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;
FOLIO_UI_DEBUG=2 yarn test-simple
yarn test-simple v0.21.3
$ ./node_modules/.bin/mocha test/100-startpage.js 


  Load a Page / 100-startpage
    / (Home Page)
      &#10003; should load without error (1818ms)


  1 passing (2s)

&#10024;  Done in 2.32s.
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;</comment>
                                                            <comment id="188246" author="712020:95104f24-fe38-4929-9687-9b10fa9eac7e" created="Thu, 23 Mar 2017 12:15:55 +0000"  >&lt;p&gt;The regression tests works fine on MacOS and Linux (desktop). To run it on a server, you need a running X11 server. This could be implemented with a docker npm images with Xvfb installed.&lt;/p&gt;</comment>
                                                            <comment id="188247" author="5f9abc1eb45b2e007453f423" created="Thu, 23 Mar 2017 12:48:50 +0000"  >&lt;p&gt;&lt;a href=&quot;https://folio-org.atlassian.net/secure/ViewProfile.jspa?accountId=712020%3A95104f24-fe38-4929-9687-9b10fa9eac7e&quot; class=&quot;user-hover&quot; rel=&quot;712020:95104f24-fe38-4929-9687-9b10fa9eac7e&quot; data-account-id=&quot;712020:95104f24-fe38-4929-9687-9b10fa9eac7e&quot; accountid=&quot;712020:95104f24-fe38-4929-9687-9b10fa9eac7e&quot; rel=&quot;noreferrer&quot;&gt;Wolfram Schneider&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Try this Dockerfile:&lt;/p&gt;

&lt;div class=&quot;preformatted panel&quot; style=&quot;border-width: 1px;&quot;&gt;&lt;div class=&quot;preformattedContent panelContent&quot;&gt;
&lt;pre&gt;FROM ubuntu:xenial

RUN apt-get -q update &amp;amp;&amp;amp; \
    DEBIAN_FRONTEND=&quot;noninteractive&quot; apt-get -q install -y \
    -o Dpkg::Options::=&quot;--force-confnew&quot;  --no-install-recommends \
    git wget unzip xvfb &amp;amp;&amp;amp; \
    apt-get -q clean -y &amp;amp;&amp;amp; rm -rf /var/lib/apt/lists/* &amp;amp;&amp;amp; \
    rm -f /var/cache/apt/*.bin 

ENV NODEJS_VERSION 6

RUN wget --no-check-certificate --no-cookies https://deb.nodesource.com/setup_${NODEJS_VERSION}.x -O /tmp/node.sh  &amp;amp;&amp;amp; \
    chmod +x /tmp/node.sh &amp;amp;&amp;amp; \
    sh -c &quot;/tmp/node.sh&quot; &amp;amp;&amp;amp; \
    rm -f /tmp/node.sh &amp;amp;&amp;amp; \
    npm install -g yarn &amp;amp;&amp;amp; \
    cd /usr/src &amp;amp;&amp;amp; \
    git clone https://github.com/wschnrid/folio-ui-test &amp;amp;&amp;amp; \
    yarn install

WORKDIR /usr/src/folio-ui-test
     
CMD [&quot;yarn&quot;, &quot;test&quot;]
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;

&lt;p&gt;Pass your environment variables in during &apos;docker run&apos; with the &apos;-e&apos; flag.   Example: &lt;/p&gt;

&lt;p&gt;-e &quot;FOLIO_UI_URL=&lt;a href=&quot;http://folio-ci10.aws.indexdata.com:80&quot; class=&quot;external-link&quot; rel=&quot;nofollow noreferrer&quot;&gt;http://folio-ci10.aws.indexdata.com:80&lt;/a&gt;&quot; &lt;/p&gt;

&lt;p&gt;Let me know if this works. &lt;/p&gt;</comment>
                                                            <comment id="188248" author="557058:b8e64633-1f7c-402d-9caf-9959a5ba5d0d" created="Thu, 30 Mar 2017 08:34:34 +0000"  >&lt;p&gt;&lt;a href=&quot;https://folio-org.atlassian.net/secure/ViewProfile.jspa?accountId=712020%3A95104f24-fe38-4929-9687-9b10fa9eac7e&quot; class=&quot;user-hover&quot; rel=&quot;712020:95104f24-fe38-4929-9687-9b10fa9eac7e&quot; data-account-id=&quot;712020:95104f24-fe38-4929-9687-9b10fa9eac7e&quot; accountid=&quot;712020:95104f24-fe38-4929-9687-9b10fa9eac7e&quot; rel=&quot;noreferrer&quot;&gt;Wolfram Schneider&lt;/a&gt; is this integrated with our CI?&lt;/p&gt;</comment>
                                                            <comment id="188249" author="712020:95104f24-fe38-4929-9687-9b10fa9eac7e" created="Thu, 30 Mar 2017 12:05:01 +0000"  >&lt;p&gt;I&apos;m working on the docker/jenkins integration. It is not done yet, sorry.&lt;/p&gt;</comment>
                                                            <comment id="188250" author="712020:95104f24-fe38-4929-9687-9b10fa9eac7e" created="Fri, 31 Mar 2017 18:22:43 +0000"  >&lt;p&gt;The system testing repo moved to&lt;br/&gt;
&lt;a href=&quot;https://github.com/folio-org/ui-testing&quot; class=&quot;external-link&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://github.com/folio-org/ui-testing&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;There is docker instance&lt;br/&gt;
&lt;a href=&quot;https://hub.docker.com/r/folioci/ui-testing/&quot; class=&quot;external-link&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://hub.docker.com/r/folioci/ui-testing/&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;The tests pass fine inside docker.&lt;/p&gt;
</comment>
                                                            <comment id="188251" author="712020:95104f24-fe38-4929-9687-9b10fa9eac7e" created="Fri, 31 Mar 2017 18:23:44 +0000"  >&lt;p&gt;John setup a jenkins job to re-build the docker images on demand&lt;br/&gt;
&lt;a href=&quot;https://jenkins-aws.indexdata.com/job/ui-testing&quot; class=&quot;external-link&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://jenkins-aws.indexdata.com/job/ui-testing&lt;/a&gt;&lt;/p&gt;</comment>
                                                            <comment id="188254" author="5f9abc1eb45b2e007453f423" created="Fri, 31 Mar 2017 19:33:20 +0000"  >&lt;p&gt;Just some details: &lt;/p&gt;

&lt;ul class=&quot;alternate&quot; type=&quot;square&quot;&gt;
	&lt;li&gt;I set up a Jenkin&apos;s job called ui-testing which looks for changes to the folio-org/ui-testing project and build and publishes docker images of the test tool to our folioci repo on Docker Hub.&lt;/li&gt;
&lt;/ul&gt;


&lt;ul class=&quot;alternate&quot; type=&quot;square&quot;&gt;
	&lt;li&gt;I added a build step to the FOLIO_UI_Demo_1 and FOLIO_UI_Demo_2 Jenkin&apos;s jobs (the jobs that build the FOLIO Demo at &lt;a href=&quot;http://folio-uidemo.aws.indexdata.com&quot; class=&quot;external-link&quot; rel=&quot;nofollow noreferrer&quot;&gt;http://folio-uidemo.aws.indexdata.com&lt;/a&gt;.    The build step runs the UI tests against the demo.   If there is a failure,  you will be notified via email.&lt;/li&gt;
&lt;/ul&gt;


&lt;ul class=&quot;alternate&quot; type=&quot;square&quot;&gt;
	&lt;li&gt;I modified the ui-testing Dockerfile so that it&apos;s easier to run. e.g:&lt;/li&gt;
&lt;/ul&gt;


&lt;p&gt;docker run -it --rm -e &quot;FOLIO_UI_URL=&lt;a href=&quot;http://folio-uidemo.aws.indexdata.com&quot; class=&quot;external-link&quot; rel=&quot;nofollow noreferrer&quot;&gt;http://folio-uidemo.aws.indexdata.com&lt;/a&gt;&quot; folioci/ui-testing&lt;/p&gt;

&lt;p&gt;Let me know if there&apos;s anything else. &lt;/p&gt;
</comment>
                                                            <comment id="188256" author="712020:95104f24-fe38-4929-9687-9b10fa9eac7e" created="Mon, 3 Apr 2017 13:12:00 +0000"  >&lt;p&gt;I enabled regression testing with Travis CI&lt;/p&gt;

&lt;p&gt;See &lt;a href=&quot;https://travis-ci.org/wschnrid/ui-testing&quot; class=&quot;external-link&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://travis-ci.org/wschnrid/ui-testing&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;It will run every time after a git push, or a github pull request.&lt;/p&gt;

&lt;p&gt;The config file is .travis.yml , see&lt;br/&gt;
&lt;a href=&quot;https://github.com/folio-org/ui-testing/blob/master/.travis.yml&quot; class=&quot;external-link&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://github.com/folio-org/ui-testing/blob/master/.travis.yml&lt;/a&gt;&lt;/p&gt;</comment>
                    </comments>
                <issuelinks>
                            <issuelinktype id="10000">
                    <name>Blocks</name>
                                            <outwardlinks description="blocks">
                                        <issuelink>
            <issuekey id="80111">FOLIO-447</issuekey>
        </issuelink>
                            </outwardlinks>
                                                        </issuelinktype>
                            <issuelinktype id="10003">
                    <name>Relates</name>
                                            <outwardlinks description="relates to">
                                        <issuelink>
            <issuekey id="79441">FOLIO-555</issuekey>
        </issuelink>
            <issuelink>
            <issuekey id="80263">FOLIO-549</issuekey>
        </issuelink>
            <issuelink>
            <issuekey id="61647">STCOR-27</issuekey>
        </issuelink>
            <issuelink>
            <issuekey id="60823">STRIPES-15</issuekey>
        </issuelink>
            <issuelink>
            <issuekey id="61180">STRIPES-300</issuekey>
        </issuelink>
                            </outwardlinks>
                                                                <inwardlinks description="relates to">
                                        <issuelink>
            <issuekey id="80157">FOLIO-539</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|hzxhu7:</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>Thu, 26 Jan 2017 09:18:58 +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>