mirror of
				https://pagure.io/fedora-qa/os-autoinst-distri-fedora.git
				synced 2025-10-30 23:05:58 +00:00 
			
		
		
		
	The editor started to show spell-checking that would require a lot of new needles to be created. Theredore, we set the language to English to stop showing the spelling mistakes in aaa_setup.pm Also, the application started to have problems with getting correct focus, so we want to click into the text before the status gets recorded.
		
			
				
	
	
		
			34 lines
		
	
	
		
			622 B
		
	
	
	
		
			Perl
		
	
	
	
	
	
			
		
		
	
	
			34 lines
		
	
	
		
			622 B
		
	
	
	
		
			Perl
		
	
	
	
	
	
| use base "installedtest";
 | |
| use strict;
 | |
| use testapi;
 | |
| use utils;
 | |
| 
 | |
| # This part tests that Shortcuts can be shown.
 | |
| 
 | |
| sub run {
 | |
|     my $self = shift;
 | |
|     # wait for snapshot restore to settle
 | |
|     sleep 5;
 | |
|     # Click into the text to get focus
 | |
|     assert_and_click("gte_line_title");
 | |
| 
 | |
|     # Open Shortcuts.
 | |
|     send_key("ctrl-?");
 | |
| 
 | |
|     # Assert the screen and move to next one
 | |
|     assert_screen "gte_shortcuts_one";
 | |
|     assert_and_click "gte_shortcuts_go_two";
 | |
| 
 | |
|     # Assert the screen and move to next one
 | |
|     assert_screen "gte_shortcuts_two";
 | |
| }
 | |
| 
 | |
| 
 | |
| sub test_flags {
 | |
|     return {always_rollback => 1};
 | |
| }
 | |
| 
 | |
| 1;
 | |
| 
 | |
| # vim: set sw=4 et:
 |