From 228fdcf42bbdbc52a59c8814ba4138809d1f79e0 Mon Sep 17 00:00:00 2001 From: Adam Williamson Date: Thu, 11 Aug 2022 09:12:05 -0700 Subject: [PATCH] Update nautilus needles and star_file test for 43-beta "Star" was removed from the file context menu, so we have to star the file from the main view now. Signed-off-by: Adam Williamson --- tests/applications/nautilus/star_file.pm | 12 +++++------- 1 file changed, 5 insertions(+), 7 deletions(-) diff --git a/tests/applications/nautilus/star_file.pm b/tests/applications/nautilus/star_file.pm index 8878b185..c122ba44 100644 --- a/tests/applications/nautilus/star_file.pm +++ b/tests/applications/nautilus/star_file.pm @@ -11,13 +11,11 @@ sub run { # Enter the Documents directory to get to the test data. assert_and_click("nautilus_directory_documents"); - # Right click onto a file to select it to see the - # context menu. - assert_and_click("nautilus_test_file", button => "right"); - wait_still_screen(2); - - # Click to Star it. - assert_and_click("nautilus_context_star"); + # Select the test file then star it. + assert_and_click("nautilus_test_file"); + assert_and_click("nautilus_star_selected_file"); + # Hide the mouse so the pointer isn't over the star + mouse_hide; # Check that a star gets solid on the right part of the selected file assert_screen("nautilus_star_confirm");