From 66289a4cf49153d59addcc12d2c0ac0cfdd92f24 Mon Sep 17 00:00:00 2001 From: Assunta DeSanto Date: Tue, 11 Apr 2023 18:46:50 -0400 Subject: [PATCH] adding error for assertion in assert_item_peek_includes --- lib/galaxy_test/selenium/framework.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/galaxy_test/selenium/framework.py b/lib/galaxy_test/selenium/framework.py index d095399cec8..12c5db00fa6 100644 --- a/lib/galaxy_test/selenium/framework.py +++ b/lib/galaxy_test/selenium/framework.py @@ -504,7 +504,7 @@ class UsesHistoryItemAssertions(NavigatesGalaxyMixin): def assert_item_peek_includes(self, hid, expected): item_body = self.history_panel_item_component(hid=hid) peek_text = item_body.peek.wait_for_text() - assert expected in peek_text + assert expected in peek_text, f"Expected peek [{expected}] not found in peek [{peek_text}]" def assert_item_info_includes(self, hid, expected): item_body = self.history_panel_item_component(hid=hid)