aboutsummaryrefslogtreecommitdiffstats
path: root/tests/test_gui.py
diff options
context:
space:
mode:
Diffstat (limited to 'tests/test_gui.py')
-rw-r--r--tests/test_gui.py7
1 files changed, 7 insertions, 0 deletions
diff --git a/tests/test_gui.py b/tests/test_gui.py
index aa6d681..ca415d3 100644
--- a/tests/test_gui.py
+++ b/tests/test_gui.py
@@ -461,6 +461,13 @@ class SmokeTest(unittest.TestCase):
self.assertIs(w.tabs.currentWidget(), w.packages_tab)
self.assertEqual([n for n, c in w.packages_tab.chips.items() if c.isChecked()], ["orphaned"])
+ def test_recent_jobs_caps_title(self):
+ w, _ = self.window()
+ w.dashboard.show_jobs([dict(JOB, args=["pkg"] * 100)])
+ text = w.dashboard.jobs_list.text()
+ self.assertIn("…", text)
+ self.assertNotIn("pkg " * 40, text)
+
def test_slackpkg_dot(self):
old = dict(STATS, slackpkg={"update": None, "upgrade": 1})
w, _ = self.window(stats=(old, None))