From 24537029154f327e5a52d66716b474f2ab3f0947 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Luk=C3=A1=C5=A1=20R=C5=AF=C5=BEi=C4=8Dka?= Date: Mon, 19 Sep 2022 14:08:49 +0200 Subject: [PATCH] Change accordingly. --- tests/applications/bugreporter/aaa_setup.pm | 27 +-------------------- 1 file changed, 1 insertion(+), 26 deletions(-) diff --git a/tests/applications/bugreporter/aaa_setup.pm b/tests/applications/bugreporter/aaa_setup.pm index d7d7d494..3e435237 100644 --- a/tests/applications/bugreporter/aaa_setup.pm +++ b/tests/applications/bugreporter/aaa_setup.pm @@ -12,35 +12,10 @@ sub run { $self->root_console(tty => 3); # Install will-crash -> we will use this to generate some Abrt problems. + assert_script_run("dnf install -y will-crash"); # Return to Desktop 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 {