Merge pull request #665 from PR0M3TH3AN/codex/update-python-ci-workflow-for-cross-platform-testing

Run GUI desktop tests on all platforms
This commit is contained in:
thePR0M3TH3AN
2025-07-19 19:30:16 -04:00
committed by GitHub
3 changed files with 47 additions and 2 deletions

View File

@@ -108,7 +108,8 @@ def test_totp_viewer_refresh_on_sync(monkeypatch):
viewer = seedpass_gui.app.TotpViewerWindow(ctrl, entries)
bus.subscribe("sync_finished", viewer.refresh_codes)
assert viewer.table.data[0][1] == "111111"
# Table rows are Row objects with attribute access
assert viewer.table.data[0].code == "111111"
entries.code = "222222"
bus.publish("sync_finished")
assert viewer.table.data[0][1] == "222222"
assert viewer.table.data[0].code == "222222"