parent
78fb81e686
commit
1c74f5595f
2 changed files with 8 additions and 1 deletions
|
@ -0,0 +1,7 @@
|
|||
import NotificationsForm from '../../../../notifications_form';
|
||||
import notificationsDropdown from '../../../../notifications_dropdown';
|
||||
|
||||
document.addEventListener('DOMContentLoaded', () => {
|
||||
new NotificationsForm(); // eslint-disable-line no-new
|
||||
notificationsDropdown();
|
||||
});
|
|
@ -16,6 +16,6 @@ feature 'User visits the notifications tab', :js do
|
|||
first('#notifications-button').click
|
||||
click_link('On mention')
|
||||
|
||||
expect(page).to have_content('On mention')
|
||||
expect(page).to have_selector('#notifications-button', text: 'On mention')
|
||||
end
|
||||
end
|
||||
|
|
Loading…
Reference in a new issue