add(ui/ux): show the target library in the import row, trim the scissors
This commit is contained in:
@@ -77,6 +77,14 @@ def test_dialogs_start_closed(page):
|
||||
assert not page.locator("#quick-dialog").is_visible()
|
||||
|
||||
|
||||
def test_hidden_elements_really_are_hidden(page):
|
||||
"""A CSS display rule can override the hidden attribute - it did for the
|
||||
dialog and again for the progress bar."""
|
||||
page.click("nav button[data-view=import]")
|
||||
for sel in ("#import-progress", "#import-btn", "#import-table", "#missing-badge"):
|
||||
assert not page.locator(sel).is_visible(), sel
|
||||
|
||||
|
||||
def test_import_dialog_opens_and_closes(page):
|
||||
page.click("nav button[data-view=import]")
|
||||
page.click("#scan-btn")
|
||||
|
||||
Reference in New Issue
Block a user