mirror of
https://github.com/freedombox/FreedomBox.git
synced 2026-05-27 10:44:33 +00:00
storage: Handle multi-line text in functional test
Signed-off-by: James Valleroy <jvalleroy@mailbox.org>
This commit is contained in:
parent
3fd0921e0f
commit
2c1a868567
@ -22,4 +22,4 @@ def go_to_module(session_browser, name):
|
|||||||
|
|
||||||
def _is_root_disk_shown(browser):
|
def _is_root_disk_shown(browser):
|
||||||
table_cells = browser.find_by_tag('td')
|
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)
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user