Fix kmail and kontakt tests

Fix to pass kontakt tests properly.
This commit is contained in:
Lukas Ruzicka 2019-03-27 16:37:30 +01:00
parent 7dd43daab8
commit f9201fb7d8
6 changed files with 44 additions and 0 deletions

View File

@ -0,0 +1,15 @@
{
"area": [
{
"xpos": 231,
"ypos": 303,
"width": 115,
"height": 18,
"type": "match"
}
],
"properties": [],
"tags": [
"enable_unified_mailboxes"
]
}

Binary file not shown.

After

Width:  |  Height:  |  Size: 282 KiB

View File

@ -0,0 +1,15 @@
{
"area": [
{
"ypos": 288,
"type": "match",
"width": 54,
"height": 19,
"xpos": 357
}
],
"properties": [],
"tags": [
"konversation_confirm_close"
]
}

Binary file not shown.

After

Width:  |  Height:  |  Size: 446 KiB

View File

@ -10,8 +10,15 @@ sub run {
# Start the application
start_with_launcher('kmail_launch','menu_applications','menu_internet');
# Enable unified mailboxes, if they appear
if (check_screen("enable_unified_mailboxes", 1)) {
assert_and_click "enable_unified_mailboxes";
}
# Cancel Kmail data wizard
assert_and_click 'kmail_cancel_data';
if (check_screen("kmail_cancel_data", 1)) {
assert_and_click "kmail_cancel_data";
}
# Check that it is started
assert_screen 'kmail_runs';
# Close the application

View File

@ -10,8 +10,15 @@ sub run {
# Start the application
start_with_launcher('kontact_launch','menu_applications','menu_office');
# Enable unified mailboxes, if they appear
if (check_screen("enable_unified_mailboxes", 1)) {
assert_and_click "enable_unified_mailboxes";
}
# Get rid of personal data
assert_and_click 'kontact_provide_data';
if (check_screen("enable_unified_mailboxes", 1)) {
assert_and_click "enable_unified_mailboxes";
}
# Check that it is started
assert_screen 'kontact_runs';
# Close the application