diff options
Diffstat (limited to 'Echo/tests/browser/features/support/components/notifications.rb')
-rw-r--r-- | Echo/tests/browser/features/support/components/notifications.rb | 21 |
1 files changed, 0 insertions, 21 deletions
diff --git a/Echo/tests/browser/features/support/components/notifications.rb b/Echo/tests/browser/features/support/components/notifications.rb deleted file mode 100644 index 6f8d5ab8..00000000 --- a/Echo/tests/browser/features/support/components/notifications.rb +++ /dev/null @@ -1,21 +0,0 @@ -class Notifications - include PageObject - - link(:badge, css: '.mw-echo-notifications-badge') - link(:badge_unseen, css: '.mw-echo-unseen-notifications') - link(:mark_all_as_read, css: '.mw-echo-ui-notificationsListWidget-markAllReadButton > a') - div(:popup, css: '.mw-echo-ui-notificationBadgeButtonPopupWidget-popup') - span(:title, css: '.oo-ui-popupWidget-head > .oo-ui-labelElement-label') - div( - :notifications_container, - css: '.mw-echo-ui-notificationsListWidget > .mw-echo-ui-notificationItemWidget') - - def when_loaded - title_element.when_present - notifications_container_element.when_present - end - - def num_unread_notifications - div_elements(css: '.mw-echo-ui-notificationItemWidget-unread').size - end -end |