def METHOD_NAME(self):
    b = self.browser
    m = self.machine
    m.execute("mkdir -p /tmp/dir1")
    self.createVm("subVmTest1", running=False)
    self.login_and_go("/machines")
    self.waitPageInit()
    self.goToVmPage("subVmTest1")
    m.execute("virt-xml subVmTest1 --add-device --filesystem source=/tmp/dir1/,target=dir1")
    b.wait_visible("tr[data-row-id='vm-subVmTest1-filesystem-/tmp/dir1/-dir1']")
    b.click("tr[data-row-id='vm-subVmTest1-filesystem-/tmp/dir1/-dir1'] button:contains(Remove)")
    b.wait_in_text(".pf-v5-c-modal-box__body .pf-v5-c-description-list", "removed from subVmTest1")
    b.wait_in_text("#delete-resource-modal-source-path", "/tmp/dir1/")
    b.wait_in_text("#delete-resource-modal-mount-tag", "dir1")
    b.click("#delete-resource-modal button:contains(Remove)")
    b.wait_not_present("tr[data-row-id='vm-subVmTest1-filesystem-/tmp/dir1/-dir1']")