[eog] tests: give nice name for screenshot tests and add more locales



commit 1dc3d06a51bfede953cfb11a81590592e17ae242
Author: Vadim Rutkovsky <vrutkovs redhat com>
Date:   Sun Jul 27 15:51:11 2014 +0200

    tests: give nice name for screenshot tests and add more locales

 Makefile.am                   |    2 +-
 tests/screenshot_tour.feature |   54 +++++++++++++++++++++++++++++++----------
 2 files changed, 42 insertions(+), 14 deletions(-)
---
diff --git a/Makefile.am b/Makefile.am
index d44a35c..135c931 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -34,7 +34,7 @@ MAINTAINERCLEANFILES = \
        $(srcdir)/mkinstalldirs
 
 @BEHAVE_INSTALLED_TESTS_RULE@
-INSTALLED_TESTS=about undo sidepane fullscreen wallpaper screenshot
+INSTALLED_TESTS=about undo sidepane fullscreen wallpaper screenshot_tour1 screenshot_tour2 screenshot_tour3
 INSTALLED_TESTS_TYPE=session-exclusive
 
 -include $(top_srcdir)/git.mk
diff --git a/tests/screenshot_tour.feature b/tests/screenshot_tour.feature
index 10c90fd..8b4a7fd 100644
--- a/tests/screenshot_tour.feature
+++ b/tests/screenshot_tour.feature
@@ -1,6 +1,6 @@
- screenshot
 Feature: Screenshot tour
 
+    @screenshot_tour1
     Scenario Outline: Main dialogs
      * Set locale to "<locale>"
      * Make sure that eog is running
@@ -22,18 +22,46 @@ Feature: Screenshot tour
      | ru_RU  |
      | id_ID  |
 
-     # Need a new test for those
-     #| hu_HU  |
-     #| pl_PL  |
-     #| fr_FR  |
-     #| sl_SI  |
-     #| zh_CN  |
-     #| it_IT  |
-     #| da_DK  |
-     #| de_DE  |
-     #| ca_ES  |
-     #| sr_RS  |
-     #| sr_RS latin |
+    @screenshot_tour2
+    Scenario Outline: Main dialogs
+     * Set locale to "<locale>"
+     * Make sure that eog is running
+     * Select and close "Image" menu
+     * Select and close "Edit" menu
+     * Select and close "View" menu
+     * Select and close "Go" menu
+     * Select and close "Help" menu
+     * Open "/tmp/gnome-logo.png" via menu
+     * Open context menu for current image
+
+    Examples:
+     | locale |
+     | hu_HU  |
+     | pl_PL  |
+     | fr_FR  |
+     | sl_SI  |
+     | zh_CN  |
+     | it_IT  |
+     | da_DK  |
+
+    @screenshot_tour3
+    Scenario Outline: Main dialogs
+     * Set locale to "<locale>"
+     * Make sure that eog is running
+     * Select and close "Image" menu
+     * Select and close "Edit" menu
+     * Select and close "View" menu
+     * Select and close "Go" menu
+     * Select and close "Help" menu
+     * Open "/tmp/gnome-logo.png" via menu
+     * Open context menu for current image
+
+    Examples:
+     | locale |
+     | de_DE  |
+     | ca_ES  |
+     | sr_RS  |
+     | sr_RS latin |
 
 
      # Error selecting translations


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]