https://progress.opensuse.org/https://progress.opensuse.org/themes/openSUSE/favicon/favicon.ico?15829177842019-03-15T06:53:19ZopenSUSE Project Management ToolopenQA Tests - action #49355: [functional][u][sporadic] test fails in gnucash to handle "welcome" popuphttps://progress.opensuse.org/issues/49355?journal_id=1997422019-03-15T06:53:19Zokurzokurz@suse.com
<ul><li><strong>Copied to</strong> <i><a class="issue tracker-4 status-3 priority-5 priority-high3 closed" href="/issues/49358">action #49358</a>: [functional][u][sporadic] test fails in wine to close pkcon install xterm</i> added</li></ul> openQA Tests - action #49355: [functional][u][sporadic] test fails in gnucash to handle "welcome" popuphttps://progress.opensuse.org/issues/49355?journal_id=2001502019-03-18T09:46:05Zzluo
<ul><li><strong>Status</strong> changed from <i>Workable</i> to <i>In Progress</i></li><li><strong>Assignee</strong> set to <i>zluo</i></li></ul><p>take over</p>
openQA Tests - action #49355: [functional][u][sporadic] test fails in gnucash to handle "welcome" popuphttps://progress.opensuse.org/issues/49355?journal_id=2001592019-03-18T10:06:45Zzluo
<ul></ul><p>x11_start_program('gnucash', target_match => [qw(gnucash gnucash-tip-close gnucash-assistant-close)]);<br>
if (match_has_tag('gnucash-tip-close')) {<br>
assert_and_click 'gnucash-tip-close';<br>
assert_screen([qw(gnucash gnucash-assistant-close)]);<br>
}</p>
<p>gnucash-tip-close has two areas and following assert_and_close won't work if mouse point is not on "close".</p>
openQA Tests - action #49355: [functional][u][sporadic] test fails in gnucash to handle "welcome" popuphttps://progress.opensuse.org/issues/49355?journal_id=2002222019-03-18T13:12:34Zzluo
<ul></ul><p>I think that loadling gnucash takes time and Tip of days shows up at once. So that is why assert_and_click doesn't work even the same issue got matched short before this action.</p>
<p>Trying with wait_screen_change now.</p>
openQA Tests - action #49355: [functional][u][sporadic] test fails in gnucash to handle "welcome" popuphttps://progress.opensuse.org/issues/49355?journal_id=2005492019-03-19T14:11:58Zzluo
<ul></ul><p>trying with</p>
<pre><code>x11_start_program('gnucash', target_match => [qw(gnucash gnucash-tip-close gnucash-assistant-close)]);
if (match_has_tag('gnucash-tip-close')) {
send_key 'esc';
assert_screen([qw(gnucash gnucash-assistant-close)]);
}
</code></pre> openQA Tests - action #49355: [functional][u][sporadic] test fails in gnucash to handle "welcome" popuphttps://progress.opensuse.org/issues/49355?journal_id=2006692019-03-20T08:48:48Zzluo
<ul></ul><p><a href="http://f40.suse.de/tests/2332#next_previous" class="external">http://f40.suse.de/tests/2332#next_previous</a> shows correct tests results, failures only related to pkcon install however.</p>
openQA Tests - action #49355: [functional][u][sporadic] test fails in gnucash to handle "welcome" popuphttps://progress.opensuse.org/issues/49355?journal_id=2006962019-03-20T08:50:52Zzluo
<ul><li><strong>Status</strong> changed from <i>In Progress</i> to <i>Feedback</i></li></ul><p>PR:<br>
<a href="https://github.com/os-autoinst/os-autoinst-distri-opensuse/pull/7101" class="external">https://github.com/os-autoinst/os-autoinst-distri-opensuse/pull/7101</a></p>
openQA Tests - action #49355: [functional][u][sporadic] test fails in gnucash to handle "welcome" popuphttps://progress.opensuse.org/issues/49355?journal_id=2007562019-03-20T10:51:50ZSLindoMansillaslindomansilla@suse.com
<ul></ul><p>zluo wrote:</p>
<blockquote>
<p>x11_start_program('gnucash', target_match => [qw(gnucash gnucash-tip-close gnucash-assistant-close)]);<br>
if (match_has_tag('gnucash-tip-close')) {<br>
assert_and_click 'gnucash-tip-close';<br>
assert_screen([qw(gnucash gnucash-assistant-close)]);<br>
}</p>
<p>gnucash-tip-close has two areas and following assert_and_close won't work if mouse point is not on "close".</p>
</blockquote>
<p>Hi zluo,</p>
<p>I find the send_key also ok as general approach to close that window. But, as a reminder for the future, the area to be clicked is the last area in the array from the json file: <a href="https://github.com/os-autoinst/os-autoinst/blob/a26db180945ce78ae789500c7f2164931ceccc10/testapi.pm#L467" class="external">https://github.com/os-autoinst/os-autoinst/blob/a26db180945ce78ae789500c7f2164931ceccc10/testapi.pm#L467</a></p>
openQA Tests - action #49355: [functional][u][sporadic] test fails in gnucash to handle "welcome" popuphttps://progress.opensuse.org/issues/49355?journal_id=2008252019-03-20T12:30:56ZSLindoMansillaslindomansilla@suse.com
<ul></ul><p>PR merged.</p>
<p>Waiting for verification run on O3:</p>
<pre><code class="bash syntaxhl" data-language="bash"><span class="k">for </span>i <span class="k">in</span> <span class="sb">`</span><span class="nb">seq</span> <span class="nt">-w</span> 1 200<span class="sb">`</span><span class="p">;</span> <span class="k">do
</span><span class="nb">echo</span> <span class="s2">"openqa-clone-job --skip-deps --skip-download --host https://openqa.opensuse.org --from https://openqa.opensuse.org 885505 _GROUP_ID=0 TEST=extra_tests_on_kde_</span><span class="nv">$i</span><span class="s2"> _PRIORITY=100 BUILD=poo49355_investigation"</span>
<span class="k">done</span>
</code></pre>
<ul>
<li><a href="https://openqa.opensuse.org/tests/overview?build=poo49355_investigation" class="external">https://openqa.opensuse.org/tests/overview?build=poo49355_investigation</a></li>
</ul>
openQA Tests - action #49355: [functional][u][sporadic] test fails in gnucash to handle "welcome" popuphttps://progress.opensuse.org/issues/49355?journal_id=2012422019-03-21T16:06:09ZSLindoMansillaslindomansilla@suse.com
<ul><li><strong>Status</strong> changed from <i>Feedback</i> to <i>Resolved</i></li></ul><p>Verified on OSD, 200 of 200 without the issue: <a href="https://openqa.opensuse.org/tests/overview?build=poo49355_investigation" class="external">https://openqa.opensuse.org/tests/overview?build=poo49355_investigation</a></p>