[gnome-build-meta/cfoch/openqa_templates] openqa: Save state of resulting installation as an image



commit 8e1abf58b008c5c47638b5d7cbc76d121faa05ad
Author: Fabian Orccon <cfoch fabian gmail com>
Date:   Fri Oct 22 03:41:15 2021 +0200

    openqa: Save state of resulting installation as an image

 openqa/templates              | 6 ++++--
 openqa/tests/gnome_desktop.pm | 2 ++
 2 files changed, 6 insertions(+), 2 deletions(-)
---
diff --git a/openqa/templates b/openqa/templates
index d5e69c992..d6039d169 100755
--- a/openqa/templates
+++ b/openqa/templates
@@ -34,11 +34,13 @@
                   ],
   TestSuites   => [
                     {
-                      description => "gnome os CI",
-                      name => "gnomeos",
+                      name => "gnomeos_install",
+                      description => "GNOME OS installation",
                       settings => [
                         { key => "DESKTOP", value => "gnomeos" },
                         { key => "FLAVOR", value => "iso" },
+                        { key => "STORE_HDD_1", value => "disk_%FLAVOR%_%MACHINE%.qcow2" },
+                        { key => "PUBLISH_HDD_1", value => "disk_%FLAVOR%_%MACHINE%.qcow2" },
                       ],
                     },
                   ],
diff --git a/openqa/tests/gnome_desktop.pm b/openqa/tests/gnome_desktop.pm
index 16f459b96..a8c700035 100644
--- a/openqa/tests/gnome_desktop.pm
+++ b/openqa/tests/gnome_desktop.pm
@@ -6,6 +6,8 @@ sub run {
     my $self = shift;
     assert_and_click('gnome_desktop_tour', timeout => 60, 'left');
     assert_screen('gnome_desktop_desktop', 60);
+
+    power('off');
 }
 
 sub test_flags {


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