mirror of
https://github.com/rocky-linux/os-autoinst-distri-rocky.git
synced 2024-12-23 19:28:29 +00:00
Fix kmail and kontakt tests
Fix to pass kontakt tests properly.
This commit is contained in:
parent
7dd43daab8
commit
f9201fb7d8
15
needles/kde/apps/enable_unified_mailboxes.json
Normal file
15
needles/kde/apps/enable_unified_mailboxes.json
Normal file
@ -0,0 +1,15 @@
|
||||
{
|
||||
"area": [
|
||||
{
|
||||
"xpos": 231,
|
||||
"ypos": 303,
|
||||
"width": 115,
|
||||
"height": 18,
|
||||
"type": "match"
|
||||
}
|
||||
],
|
||||
"properties": [],
|
||||
"tags": [
|
||||
"enable_unified_mailboxes"
|
||||
]
|
||||
}
|
BIN
needles/kde/apps/enable_unified_mailboxes.png
Normal file
BIN
needles/kde/apps/enable_unified_mailboxes.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 282 KiB |
15
needles/kde/apps/konversation_confirm_close-20190327.json
Normal file
15
needles/kde/apps/konversation_confirm_close-20190327.json
Normal file
@ -0,0 +1,15 @@
|
||||
{
|
||||
"area": [
|
||||
{
|
||||
"ypos": 288,
|
||||
"type": "match",
|
||||
"width": 54,
|
||||
"height": 19,
|
||||
"xpos": 357
|
||||
}
|
||||
],
|
||||
"properties": [],
|
||||
"tags": [
|
||||
"konversation_confirm_close"
|
||||
]
|
||||
}
|
BIN
needles/kde/apps/konversation_confirm_close-20190327.png
Normal file
BIN
needles/kde/apps/konversation_confirm_close-20190327.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 446 KiB |
@ -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
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user