<!-- 
RSS generated by JIRA (9.4.2#940002-sha1:46d1a51de284217efdcb32434eab47a99af2938b) at Mon Feb 12 07:44:36 CET 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 append 'field=key&field=summary' to the URL of your request.
-->
<rss version="0.92" >
<channel>
    <title>Magnolia - Issue tracker</title>
    <link>https://jira.magnolia-cms.com</link>
    <description>This file is an XML representation of an issue</description>
    <language>en-uk</language>    <build-info>
        <version>9.4.2</version>
        <build-number>940002</build-number>
        <build-date>19-01-2023</build-date>
    </build-info>


<item>
            <title>[MGNLTEST-4] Page Object for chooser dialog</title>
                <link>https://jira.magnolia-cms.com/browse/MGNLTEST-4</link>
                <project id="17084" key="MGNLTEST">Magnolia Test Framework</project>
                    <description>&lt;h3&gt;&lt;a name=&quot;Overview%26context&quot;&gt;&lt;/a&gt;Overview &amp;amp; context&lt;/h3&gt;

&lt;p&gt;Provide a page object for the chooser dialog. It should work for different types of items which can be choosen (pages, assets, ...)&lt;/p&gt;

&lt;p&gt;Since the chooser dialog usually / per default (always?) wraps a grid, the API could be similar or &quot;the same&quot; as the API from the &lt;tt&gt;Grid&lt;/tt&gt; P.O.,&lt;br/&gt;
 when it comes to choose an item - e.g. &lt;tt&gt;selectRowByPath&lt;/tt&gt;&lt;/p&gt;

&lt;p&gt;Foreseen basic APIs for:&lt;/p&gt;
&lt;ul&gt;
	&lt;li&gt;selecting&lt;/li&gt;
	&lt;li&gt;expanding&lt;/li&gt;
	&lt;li&gt;choosing&lt;/li&gt;
&lt;/ul&gt;


&lt;hr /&gt;
&lt;h3&gt;&lt;a name=&quot;APIminimal&quot;&gt;&lt;/a&gt;API - minimal&lt;/h3&gt;
&lt;h4&gt;&lt;a name=&quot;NewPOChooserDialog&quot;&gt;&lt;/a&gt;New PO ChooserDialog&lt;/h4&gt;

&lt;p&gt;Note that we have other dialogs which we reference so far via form, e.g. &lt;tt&gt;expect.form(&quot;Add page&quot;)&lt;/tt&gt;.&lt;br/&gt;
 For the chooser dialog, i propose to create a distinct PO &lt;tt&gt;Chooser&lt;/tt&gt; or &lt;tt&gt;ChooserDialog&lt;/tt&gt; - which can be accessed via pageObjects:&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;
ChooserDialog chooser = expect.chooser(&lt;span class=&quot;code-quote&quot;&gt;&quot;Select&quot;&lt;/span&gt;);&#160;&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;
&lt;h4&gt;&lt;a name=&quot;%28Maybe%29Exposingthegrid&quot;&gt;&lt;/a&gt;(Maybe) Exposing the grid&lt;/h4&gt;

&lt;p&gt;The ChooserDialog wraps a &quot;grid&quot; - I expect we can use&#160;&lt;tt&gt;info.magnolia.test.selenium.pageobjects.Grid&lt;/tt&gt;&#160;within ChooserDialog.&lt;br/&gt;
 The chooser dialog would then expose the Grid:&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;
Grid grid = chooser.grid(); &lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;
&lt;h4&gt;&lt;a name=&quot;Selecting%C2%A0&quot;&gt;&lt;/a&gt;Selecting&#160;&lt;/h4&gt;

&lt;p&gt;Chooser dialog should expose for convenience methods originating in the grid for selection. &lt;br/&gt;
 (We did some very similar stuff on &lt;tt&gt;info.magnolia.test.selenium.pageobjects.ContentApp&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;
ChooserDialog chooser.selectRowByPath(string){}
ChooserDialog chooser.clickRow(string){}
&lt;span class=&quot;code-comment&quot;&gt;//maybe:
&lt;/span&gt;&lt;span class=&quot;code-object&quot;&gt;boolean&lt;/span&gt; chooser.hasRow(string){}
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;
&lt;h4&gt;&lt;a name=&quot;Expanding&quot;&gt;&lt;/a&gt;Expanding&lt;/h4&gt;

&lt;p&gt;Calling #expand assumes that an &quot;expandable node&quot; is already selected.&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;
ChooserDialog expand();&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;
&lt;p&gt;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;
chooser.selectRowByPath(&lt;span class=&quot;code-quote&quot;&gt;&quot;ASIA&quot;&lt;/span&gt;).expand();
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;
&lt;h4&gt;&lt;a name=&quot;Choosing%C2%A0&quot;&gt;&lt;/a&gt;Choosing&#160;&lt;/h4&gt;

&lt;p&gt;&#160;To confirm the selection: &lt;tt&gt;chooser.select()&lt;/tt&gt; which actually should hit the button &quot;Select&quot;.&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;
void select();&#160;&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;
&lt;h4&gt;&lt;a name=&quot;Example%3A&quot;&gt;&lt;/a&gt;Example:&lt;/h4&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;
ChooserDialog chooser = expect(&lt;span class=&quot;code-quote&quot;&gt;&quot;Select&quot;&lt;/span&gt;);
chooser.clickRow(&lt;span class=&quot;code-quote&quot;&gt;&quot;Foobar&quot;&lt;/span&gt;)
    .select();
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;
&lt;hr /&gt;
&lt;h3&gt;&lt;a name=&quot;APIextended&quot;&gt;&lt;/a&gt;API - extended&lt;/h3&gt;
&lt;h4&gt;&lt;a name=&quot;Setactiveview&quot;&gt;&lt;/a&gt;Set active view&lt;/h4&gt;

&lt;p&gt;Basically to choose between the (available) views.&lt;br/&gt;
 Not sure whether we need this. For the INT-/UI-test it could be sufficient to operate on the tree only. &lt;br/&gt;
 (See &lt;tt&gt;info.magnolia.test.selenium.pageobjects.ContentApp#setActiveView&lt;/tt&gt;.)&lt;/p&gt;
&lt;h4&gt;&lt;a name=&quot;Miscellaneous&quot;&gt;&lt;/a&gt;Miscellaneous&lt;/h4&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;
void close(); &lt;span class=&quot;code-comment&quot;&gt;// could also be named cancel. To close the chooser.&lt;/span&gt;
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;
&lt;p&gt;&#160;&lt;/p&gt;
&lt;hr /&gt;
&lt;h3&gt;&lt;a name=&quot;Usecases&quot;&gt;&lt;/a&gt;Use cases&lt;/h3&gt;
&lt;ul class=&quot;alternate&quot; type=&quot;square&quot;&gt;
	&lt;li&gt;move (various) items (in the browser subapp of various content apps)&lt;/li&gt;
	&lt;li&gt;select (various) items (e.g. in page editor)&lt;/li&gt;
&lt;/ul&gt;
</description>
                <environment></environment>
        <key id="87015">MGNLTEST-4</key>
            <summary>Page Object for chooser dialog</summary>
                <type id="3" iconUrl="https://jira.magnolia-cms.com/secure/viewavatar?size=xsmall&amp;avatarId=10898&amp;avatarType=issuetype">Task</type>
                                            <priority id="10000" iconUrl="https://jira.magnolia-cms.com/images/icons/priorities/critical.svg">High</priority>
                        <status id="6" iconUrl="https://jira.magnolia-cms.com/images/icons/statuses/closed.png" description="The issue is considered finished, the resolution is correct. Issues which are not closed can be reopened.">Closed</status>
                    <statusCategory id="3" key="done" colorName="success"/>
                                    <resolution id="1">Fixed</resolution>
                                        <assignee username="mdivilek">Milan Divilek</assignee>
                                    <reporter username="cmeier">Christoph Meier</reporter>
                        <labels>
                            <label>QA&amp;amp;Testing</label>
                            <label>VN-Testing</label>
                            <label>form-element</label>
                            <label>ui-test-fwk</label>
                    </labels>
                <created>Mon, 25 May 2020 10:29:39 +0200</created>
                <updated>Wed, 30 Jun 2021 09:14:21 +0200</updated>
                            <resolved>Mon, 26 Apr 2021 14:13:15 +0200</resolved>
                                                    <fixVersion>1.2.0</fixVersion>
                                        <due></due>
                            <votes>1</votes>
                                    <watches>1</watches>
                                                    <progress percentage="100">
                                    <originalProgress>
                                                    <row percentage="0" backgroundColor="#89afd7"/>
                                                    <row percentage="100" backgroundColor="transparent"/>
                                            </originalProgress>
                                                    <currentProgress>
                                                    <row percentage="100" backgroundColor="#51a825"/>
                                                    <row percentage="0" backgroundColor="#ec8e00"/>
                                            </currentProgress>
                            </progress>
                                    <aggregateprogress percentage="100">
                                    <originalProgress>
                                                    <row percentage="0" backgroundColor="#89afd7"/>
                                                    <row percentage="100" backgroundColor="transparent"/>
                                            </originalProgress>
                                                    <currentProgress>
                                                    <row percentage="100" backgroundColor="#51a825"/>
                                                    <row percentage="0" backgroundColor="#ec8e00"/>
                                            </currentProgress>
                            </aggregateprogress>
                                                    <timespent seconds="14400">0.5d</timespent>
                                <comments>
                            <comment id="255678" author="cmeier" created="Mon, 22 Mar 2021 11:17:10 +0100"  >&lt;p&gt;&lt;a href=&quot;https://jira.magnolia-cms.com/secure/ViewProfile.jspa?name=mgeljic&quot; class=&quot;user-hover&quot; rel=&quot;mgeljic&quot;&gt;mgeljic&lt;/a&gt;, cc &lt;a href=&quot;https://jira.magnolia-cms.com/secure/ViewProfile.jspa?name=asiska&quot; class=&quot;user-hover&quot; rel=&quot;asiska&quot;&gt;asiska&lt;/a&gt;&#160;- I have proposed a (more concrete) API in the description above.&lt;br/&gt;
I have a minimal version&#160; ... plus a few bits for an extended versions.&lt;br/&gt;
Right now I assume the &quot;minimal&quot; version would already cover a lot.&lt;/p&gt;

&lt;p&gt;Idk how much it complicates things when we allow to switch to another view.&lt;/p&gt;

&lt;p&gt;wdyt?&lt;/p&gt;</comment>
                    </comments>
                <issuelinks>
                            <issuelinktype id="10160">
                    <name>Relates</name>
                                                                <inwardlinks description="relates to">
                                        <issuelink>
            <issuekey id="94140">MGNLTEST-131</issuekey>
        </issuelink>
            <issuelink>
            <issuekey id="95852">MGNLTEST-141</issuekey>
        </issuelink>
                            </inwardlinks>
                                    </issuelinktype>
                            <issuelinktype id="10020">
                    <name>dependency</name>
                                                                <inwardlinks description="is depended upon by">
                                        <issuelink>
            <issuekey id="80703">MGNLTEST-10</issuekey>
        </issuelink>
            <issuelink>
            <issuekey id="98384">MGNLCE-273</issuekey>
        </issuelink>
                            </inwardlinks>
                                    </issuelinktype>
                    </issuelinks>
                <attachments>
                    </attachments>
                <subtasks>
                    </subtasks>
                <customfields>
                                                                            <customfield id="customfield_14166" key="com.okapya.jira.checklist:checklist">
                        <customfieldname>Acceptance criteria</customfieldname>
                        <customfieldvalues>
                            
        <checklist>
        <![CDATA[
                            




                
                                    <div class="o-completion" style="display: flex; flex-shrink: 0;"><span  class="aui-lozenge aui-lozenge-complete" style="font-size: 12px; font-weight: normal; display: flex; flex-direction: row; align-items: center;" ><span style="padding-right: 4px; vertical-align: middle;"><svg width="15" height="15" viewBox="0 0 15 15" xmlns="http://www.w3.org/2000/svg" fill="white"><path clip-rule="evenodd" d="m10.41037,3.42544l-7.86501,0c-0.72395,0 -1.31084,0.58688 -1.31084,1.31084l0,7.86508c0,0.7239 0.58689,1.3108 1.31084,1.3108l7.86501,0c0.724,0 1.3109,-0.5869 1.3109,-1.3108l0,-7.86508c0,-0.72396 -0.5869,-1.31084 -1.3109,-1.31084zm-7.86501,-0.65542c-1.08593,0 -1.96626,0.88032 -1.96626,1.96626l0,7.86508c0,1.0859 0.88033,1.9662 1.96626,1.9662l7.86501,0c1.086,0 1.9663,-0.8803 1.9663,-1.9662l0,-7.86508c0,-1.08594 -0.8803,-1.96626 -1.9663,-1.96626l-7.86501,0z" fill-rule="evenodd"/><path d="m5.09049,10.18526l-1.82767,-1.82766l-0.78479,0.78479l2.61246,2.61246l5.38758,-5.38754l-0.78483,-0.78479l-4.60275,4.60274z"/></svg></span><span>Empty</span></span></div>
                        ]]>
    </checklist>


                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                <customfield id="customfield_10111" key="com.atlassian.jira.toolkit:reporterdomain">
                        <customfieldname>Company</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>magnolia-cms.com</customfieldvalue>
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                            <customfield id="customfield_12730" key="com.atlassian.jira.plugins.jira-development-integration-plugin:devsummary">
                        <customfieldname>Development</customfieldname>
                        <customfieldvalues>
                            
                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_14151" key="com.atlassian.jira.toolkit:message">
                        <customfieldname>Docu info</customfieldname>
                        <customfieldvalues>
                            
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                            <customfield id="customfield_10246" key="com.pyxis.greenhopper.jira:gh-epic-link">
                        <customfieldname>Epic Link</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>DEV-1810</customfieldvalue>
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    <customfield id="customfield_10061" key="com.atlassian.jira.toolkit:lastusercommented">
                        <customfieldname>Last comm is not jira-dev</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>true</customfieldvalue>
                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_10071" key="com.atlassian.jira.toolkit:lastupdaterorcommenter">
                        <customfieldname>Last participant</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>asiska</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_13136" key="com.atlassian.jira.toolkit:LastCommentDate">
                        <customfieldname>Last public comment date</customfieldname>
                        <customfieldvalues>
                            2 years, 46 weeks, 6 days ago
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                            <customfield id="customfield_10020" key="com.atlassian.jira.toolkit:attachments">
                        <customfieldname>Number of attachments</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>0.0</customfieldvalue>
                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_10150" key="com.atlassian.jira.toolkit:comments">
                        <customfieldname>Number of comments</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>1.0</customfieldvalue>
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        <customfield id="customfield_10011" key="com.atlassian.jira.toolkit:participants">
                        <customfieldname>Participants</customfieldname>
                        <customfieldvalues>
                                        <customfieldvalue>cmeier</customfieldvalue>
            <customfieldvalue>mdivilek</customfieldvalue>
    
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                <customfield id="customfield_10833" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>0|hzzxnu:0w4dc</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_10244" key="com.pyxis.greenhopper.jira:gh-global-rank">
                        <customfieldname>Rank (Obsolete)</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>9223372036854775807</customfieldvalue>
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                                                                            <customfield id="customfield_10245" key="com.pyxis.greenhopper.jira:gh-sprint">
                        <customfieldname>Sprint</customfieldname>
                        <customfieldvalues>
                                <customfieldvalue id="1400">UI FW 25</customfieldvalue>
    <customfieldvalue id="1410">UI FW 26</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                                            <customfield id="customfield_10242" key="com.atlassian.jira.plugin.system.customfieldtypes:float">
                        <customfieldname>Story Points</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>8.0</customfieldvalue>
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                                                <customfield id="customfield_14167" key="com.okapya.jira.checklist:checklist">
                        <customfieldname>Task DoR</customfieldname>
                        <customfieldvalues>
                            
        <checklist>
        <![CDATA[
                            




                
                                    <div class="o-completion" style="display: flex; flex-shrink: 0;"><span  class="aui-lozenge aui-lozenge-complete" style="font-size: 12px; font-weight: normal; display: flex; flex-direction: row; align-items: center;" ><span style="padding-right: 4px; vertical-align: middle;"><svg width="15" height="15" viewBox="0 0 15 15" xmlns="http://www.w3.org/2000/svg" fill="white"><path clip-rule="evenodd" d="m10.41037,3.42544l-7.86501,0c-0.72395,0 -1.31084,0.58688 -1.31084,1.31084l0,7.86508c0,0.7239 0.58689,1.3108 1.31084,1.3108l7.86501,0c0.724,0 1.3109,-0.5869 1.3109,-1.3108l0,-7.86508c0,-0.72396 -0.5869,-1.31084 -1.3109,-1.31084zm-7.86501,-0.65542c-1.08593,0 -1.96626,0.88032 -1.96626,1.96626l0,7.86508c0,1.0859 0.88033,1.9662 1.96626,1.9662l7.86501,0c1.086,0 1.9663,-0.8803 1.9663,-1.9662l0,-7.86508c0,-1.08594 -0.8803,-1.96626 -1.9663,-1.96626l-7.86501,0z" fill-rule="evenodd"/><path d="m5.09049,10.18526l-1.82767,-1.82766l-0.78479,0.78479l2.61246,2.61246l5.38758,-5.38754l-0.78483,-0.78479l-4.60275,4.60274z"/></svg></span><span>Empty</span></span></div>
                        ]]>
    </checklist>


                        </customfieldvalues>
                    </customfield>
                                                                                                                                                    <customfield id="customfield_14145" key="com.intenso.jira.issue-templates:issue-templates-customfield">
                        <customfieldname>Template</customfieldname>
                        <customfieldvalues>
                            


                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                            <customfield id="customfield_15131" key="com.onresolve.jira.groovy.groovyrunner:scripted-field">
                        <customfieldname>Time in Discovery</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>0</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_10032" key="com.atlassian.jira.ext.charting:timeinstatus">
                        <customfieldname>Time in Status</customfieldname>
                        <customfieldvalues>
                            
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        </customfields>
    </item>
</channel>
</rss>