aboutsummaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
Diffstat (limited to 'tests')
-rw-r--r--tests/test_gui.py5
1 files changed, 5 insertions, 0 deletions
diff --git a/tests/test_gui.py b/tests/test_gui.py
index 7d0b7dd..a12efdd 100644
--- a/tests/test_gui.py
+++ b/tests/test_gui.py
@@ -655,6 +655,11 @@ class SmokeTest(unittest.TestCase):
tab.link.linkActivated.emit("#")
self.assertIs(w.tabs.currentWidget(), w.packages_tab)
self.assertEqual(w.packages_tab.query.text(), "foo")
+ tab.table.setCurrentIndex(tab.proxy.index(0, 0))
+ tab.reload() # the reset drops the current row: no stale pane or link
+ self.wait(lambda: tab.stats.text() != "loading…")
+ self.assertTrue(tab.link.isHidden())
+ self.assertEqual(tab.detail.text(), "")
def test_repository_missing(self):
w, _remote = self.window()