Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions frontend/tests/window/test_window.py
Original file line number Diff line number Diff line change
Expand Up @@ -339,6 +339,8 @@ def listing(route):
eject = page.locator(".fl-imp-eject")
eject.wait_for(state="attached", timeout=15_000)
page.wait_for_function("() => document.querySelector('.fl-imp-row.is-on')?.dataset.path === 'E:\\\\'", timeout=15_000)
# The dialog marks the source row before it scans; Eject is set in the same step that writes the scan result, so wait for that.
page.wait_for_function("() => document.querySelector('.fl-imp-status')?.textContent === '0 photos'", timeout=15_000)
visible = eject.is_visible()
browser.close()
assert visible, "Eject after import stayed hidden on a removable Windows drive"
Expand Down
Loading