Fix the Konqueror test - handle Locations dialogue.

This commit is contained in:
Lukáš Růžička 2020-03-26 10:57:00 +01:00
parent 37f597229a
commit d784bf54ca
3 changed files with 20 additions and 1 deletions

View File

@ -0,0 +1,15 @@
{
"properties": [],
"tags": [
"konqueror_locations"
],
"area": [
{
"xpos": 379,
"ypos": 126,
"width": 68,
"height": 18,
"type": "match"
}
]
}

Binary file not shown.

After

Width:  |  Height:  |  Size: 58 KiB

View File

@ -10,7 +10,11 @@ sub run {
# Start the application
menu_launch_type 'konqueror';
# Check that it is started
# Confirm the Locations dialog if it is present
if (check_screen "konqueror_locations") {
assert_and_click "kde_ok";
}
# Check that Konqueror has started
assert_screen 'konqueror_runs';
# Close the application
quit_with_shortcut();