use base "installedtest"; use strict; use testapi; use utils; # This is to check up the Application tab. sub run { my $self = shift; assert_and_click("settings_menu_applications"); # Choose the Calculator application and switch on the details assert_and_click("settings_applications_calculator"); # Check that the Calculator page has opened assert_screen("settings_applications_calculator_opened"); # Check that an Application can be opened using the Open button assert_and_click("settings_applications_app_open"); # Check that the Application has opened assert_screen("apps_run_calculator"); # Close the application send_key("alt-f4"); # Click on View Details to see if application details will open assert_and_click("settings_applications_details_open"); # Check that Software is opened and provides the detailed information assert_screen("settings_applications_details_shown"); } sub test_flags { return {fatal => 1, always_rollback => 1}; } 1; # vim: set sw=4 et: