From 7e93d8b85e765f58a3a5a4b569083048f3c7335f Mon Sep 17 00:00:00 2001 From: Marius Vollmer Date: Thu, 16 Nov 2023 16:43:40 +0200 Subject: [PATCH] WIP - a few more pixels --- test/verify/check-storage-basic | 1 + test/verify/check-storage-lvm2 | 4 ++++ test/verify/check-storage-mdraid | 2 ++ 3 files changed, 7 insertions(+) diff --git a/test/verify/check-storage-basic b/test/verify/check-storage-basic index 7fe4376d420..0a3f2292400 100755 --- a/test/verify/check-storage-basic +++ b/test/verify/check-storage-basic @@ -68,6 +68,7 @@ class TestStorageBasic(storagelib.StorageCase): b.go("#/") b.wait_visible(self.card("Storage")) b.wait_visible(self.card_row("Storage", name=disk)) + b.assert_pixels(self.card("Storage"), "overview") self.force_remove_disk(disk) b.wait_not_present(self.card_row("Storage", name=disk)) diff --git a/test/verify/check-storage-lvm2 b/test/verify/check-storage-lvm2 index 3bce1bca112..bd904c5e35e 100755 --- a/test/verify/check-storage-lvm2 +++ b/test/verify/check-storage-lvm2 @@ -237,6 +237,8 @@ class TestStorageLvm2(storagelib.StorageCase): b.click(self.card_parent_link()) b.wait_text(self.card_row_col("Thinly provisioned LVM2 logical volumes", 1, 3), mount_point_thin) + b.assert_pixels('body', "pool-page") + # remove pool b.click(self.card_button("Pool for thinly provisioned LVM2 logical volumes", "Delete")) self.confirm() @@ -260,6 +262,8 @@ class TestStorageLvm2(storagelib.StorageCase): b.wait_text(self.card_row_col("LVM2 logical volumes", 1, 2), "ext4 filesystem") b.wait_text(self.card_row_col("LVM2 logical volumes", 1, 3), mount_point_one) + b.assert_pixels('body', "page") + # rename volume group b.click(self.card_desc_action("LVM2 volume group", "Name")) self.dialog_wait_open() diff --git a/test/verify/check-storage-mdraid b/test/verify/check-storage-mdraid index 49edd557d6f..f9e6105bff3 100755 --- a/test/verify/check-storage-mdraid +++ b/test/verify/check-storage-mdraid @@ -192,6 +192,8 @@ class TestStorageMdRaid(storagelib.StorageCase): b.wait_text(self.card_row_col("Partitions", 2, 1), part_prefix + "2") b.wait_not_present(self.card_row("Partitions", name="Free space")) + b.assert_pixels('body', "page") + # Replace a disk by adding a spare and then removing a "In sync" disk # Add a spare