diff --git a/src/machines.scss b/src/machines.scss index 54153bfbc..f6ea6fdca 100644 --- a/src/machines.scss +++ b/src/machines.scss @@ -81,7 +81,7 @@ } .ct-monospace { - font-family: var(--pf-v5-global--FontFamily--redhat--monospace); + font-family: var(--pf-v5-global--FontFamily--monospace); } // Do not add a box-shadow to a "subsection", while it's technically correct it looks weird. diff --git a/test/check-machines-disks b/test/check-machines-disks index 0b253a8d2..ed395a193 100755 --- a/test/check-machines-disks +++ b/test/check-machines-disks @@ -302,6 +302,7 @@ class TestMachinesDisks(VirtualMachinesCase): pool_name=None, volume_name=None, file_path=None, force=False, + pixel_tag=None, ): self.test_obj = test_obj self.mode = mode @@ -311,6 +312,7 @@ class TestMachinesDisks(VirtualMachinesCase): self.volume_name = volume_name self.target = target self.force = force + self.pixel_tag = pixel_tag, def _get_disks(self): m = self.test_obj.machine @@ -403,6 +405,9 @@ class TestMachinesDisks(VirtualMachinesCase): b.click(f"#vm-{self.vm_name}-disks-{self.target}-eject-button") # button b.wait_in_text(".pf-v5-c-modal-box__title", "Eject disc from VM") + if self.pixel_tag: + b.assert_pixels(".pf-v5-c-modal-box", self.pixel_tag) + if self.mode == "custom-path": b.wait_in_text(f"#vm-{self.vm_name}-disks-{self.target}-modal-description-file", self.file_path) elif self.mode == "use-existing": @@ -1632,6 +1637,7 @@ class TestMachinesDisks(VirtualMachinesCase): mode='custom-path', target='sda', file_path='/var/lib/libvirt/novell.iso', + pixel_tag='vm-disc-eject-modal', ).execute() self.VMInsertMediaDialog(