Skip to content

Commit

Permalink
Manifest expiration date appearance of header and message (#1443)
Browse files Browse the repository at this point in the history
* verify manifest expiration message display on page or not

* addressed review comments
  • Loading branch information
vijaysawant authored Jun 26, 2024
1 parent 9fef01a commit db0ea25
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions airgun/entities/subscription.py
Original file line number Diff line number Diff line change
Expand Up @@ -139,6 +139,17 @@ def read_subscription_manifest_expiration_date_only(self):
manage_view.close_button.click()
return manifest_expiration_date

def is_subscription_manifest_header_message_display(self):
"""Checks header and massage present in the manage manifest modal"""
view = self.navigate_to(self, 'Manage Manifest')
view.wait_animation_end()
result = view.manifest.alert_message.is_displayed
# close opened modal dialogs views
manage_view = ManageManifestView(self.browser)
if manage_view.is_displayed:
manage_view.close_button.click()
return result

def add(self, entity_name, quantity=1):
"""Attach new subscriptions
:param entity_name: Name of subscription to attach
Expand Down

0 comments on commit db0ea25

Please sign in to comment.