test: Fix expected error message when failing to stop a MDRAID

The actual text includes quotes around the device name and wouldn't
match.  Let's not look for that part of the sentence at all.

Closes #12805
This commit is contained in:
Marius Vollmer 2019-09-16 15:57:16 +03:00 committed by Matej Marušák
parent bef85e2447
commit 472e9097ef
1 changed files with 1 additions and 1 deletions

View File

@ -77,7 +77,7 @@ class TestStorage(StorageCase):
raise
print("Stopping failed, retrying...")
if self.browser.is_present("#dialog"):
self.browser.wait_in_text("#dialog", "Error stopping RAID array /dev/md127")
self.browser.wait_in_text("#dialog", "Error stopping RAID array")
self.dialog_cancel()
self.dialog_wait_close()
do_click()