Skip to content

Commit

Permalink
subscription page failure fix
Browse files Browse the repository at this point in the history
  • Loading branch information
vijaysawant authored and sambible committed Oct 3, 2023
1 parent 0270ee4 commit 018be12
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion airgun/entities/subscription.py
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down Expand Up @@ -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"""
Expand Down

0 comments on commit 018be12

Please sign in to comment.