storage: Handle multi-line text in functional test

Signed-off-by: James Valleroy <jvalleroy@mailbox.org>
This commit is contained in:
James Valleroy 2020-06-24 07:20:55 -04:00
parent 3fd0921e0f
commit 2c1a868567
No known key found for this signature in database
GPG Key ID: 77C0C75E7B650808

View File

@ -22,4 +22,4 @@ def go_to_module(session_browser, name):
def _is_root_disk_shown(browser):
table_cells = browser.find_by_tag('td')
return any(cell.text == '/' for cell in table_cells)
return any(cell.text.split('\n')[0] == '/' for cell in table_cells)