Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Make impress template selection window optional #3210

Merged
merged 1 commit into from Jul 4, 2017

Conversation

czerw
Copy link
Contributor

@czerw czerw commented Jul 3, 2017

Fix poo#20070: Window with template selection is optional now, to don't
break tests on SLE12-SP3.
Verification:
SLE12-SP3: http://pc-pha-base-1.suse.cz/tests/877#step/libreoffice_mainmenu_components/33
SLE12-SP2: http://pc-pha-base-1.suse.cz/tests/878#step/libreoffice_mainmenu_components/33

@@ -74,53 +74,51 @@ sub run() {

$self->open_mainmenu();
assert_and_click 'mainmenu-office-impress'; #open impress
assert_screen 'ooimpress-select-a-template';
send_key "alt-f4"; #close template window
send_key 'alt-f4' if check_screen 'ooimpress-select-a-template'; #if there is template window, close it
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please don't do this check_screen with no timeout by default. You will waste 30 seconds here.

Better use a multi-tag assert_screen plus match_has_tag. Or, if you must, use check_screen …, 0

Fix poo#20070: Window with template selection is optional now, to don't
break tests on SLE12-SP3.
Copy link
Member

@SergioAtSUSE SergioAtSUSE left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@SergioAtSUSE SergioAtSUSE merged commit 65e855d into os-autoinst:master Jul 4, 2017
@czerw czerw deleted the libreoffice-fix branch July 4, 2017 12:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
3 participants