mirror of
https://pagure.io/fedora-qa/os-autoinst-distri-fedora.git
synced 2024-11-29 00:53:09 +00:00
Change accordingly.
This commit is contained in:
parent
2cb11283ac
commit
2453702915
@ -12,35 +12,10 @@ sub run {
|
|||||||
$self->root_console(tty => 3);
|
$self->root_console(tty => 3);
|
||||||
|
|
||||||
# Install will-crash -> we will use this to generate some Abrt problems.
|
# Install will-crash -> we will use this to generate some Abrt problems.
|
||||||
|
assert_script_run("dnf install -y will-crash");
|
||||||
|
|
||||||
# Return to Desktop
|
# Return to Desktop
|
||||||
desktop_vt();
|
desktop_vt();
|
||||||
|
|
||||||
# Start the application
|
|
||||||
menu_launch_type("text-editor");
|
|
||||||
# Check that it started
|
|
||||||
assert_screen("apps_run_texteditor");
|
|
||||||
|
|
||||||
# Open the test file
|
|
||||||
send_key("ctrl-o");
|
|
||||||
wait_still_screen(2);
|
|
||||||
|
|
||||||
# Open the documents location
|
|
||||||
assert_and_click("gnome_open_location_documents");
|
|
||||||
|
|
||||||
# Choose the file
|
|
||||||
assert_and_click("gte_txt_file");
|
|
||||||
|
|
||||||
# Open it
|
|
||||||
send_key("ret");
|
|
||||||
wait_still_screen(3);
|
|
||||||
|
|
||||||
# Make the application fullscreen
|
|
||||||
send_key("super-up");
|
|
||||||
wait_still_screen(3);
|
|
||||||
|
|
||||||
# Check that the document has been opened
|
|
||||||
assert_screen("gte_text_file_opened");
|
|
||||||
}
|
}
|
||||||
|
|
||||||
sub test_flags {
|
sub test_flags {
|
||||||
|
Loading…
Reference in New Issue
Block a user