From c6c9178ccd55838d8e113456e6aec6dda35a87cc Mon Sep 17 00:00:00 2001 From: Satellite QE <115476073+Satellite-QE@users.noreply.github.com> Date: Tue, 3 Oct 2023 18:27:06 -0400 Subject: [PATCH] subscription page failure fix (#994) (cherry picked from commit 018be1281e5336e0e859e479128dc15d4694210b) Co-authored-by: vijaysawant --- airgun/entities/subscription.py | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/airgun/entities/subscription.py b/airgun/entities/subscription.py index 4173d37bb..348634538 100644 --- a/airgun/entities/subscription.py +++ b/airgun/entities/subscription.py @@ -36,8 +36,8 @@ def _wait_for_process_to_finish( timeout=timeout, logger=view.progressbar.logger, ) - view.flash.assert_no_error(ignore_messages=ignore_error_messages) view.flash.dismiss() + view.flash.assert_no_error(ignore_messages=ignore_error_messages) wait_for( lambda: self.has_manifest == has_manifest, handle_exception=True, @@ -173,6 +173,11 @@ def delete(self, entity_name): view.confirm_deletion.confirm() self._wait_for_process_to_finish('Delete Upstream Subscription', has_manifest=True) + def read_subscriptions(self): + """Return subscriptions table""" + view = self.navigate_to(self, 'All') + return view.table.read() + class SubscriptionNavigationStep(NavigateStep): """To ensure that we reached the destination, some targets need extra post navigation tasks"""