Пример #1
0
 def delete_notification(notificationID):
     if isinstance(notificationID, tuple):
         notificationID = notificationID[0]
     delete_button = Constants.Dashboard.Avatar.Notifications.\
         DeleteNotification.ID + notificationID
     # Click on delete button.
     Click.id(delete_button, wait_for_page=True)
     Wait.id_to_dissappear(delete_button)
Пример #2
0
 def check_notification_number_is_not_presented():
     FEGeneral.refresh()
     Wait.id_to_dissappear(
         Constants.Dashboard.Avatar.Notifications.Count.ID,
         wait_for_page=True)