diff options
author | GitLab Bot <gitlab-bot@gitlab.com> | 2021-02-18 21:10:41 +0300 |
---|---|---|
committer | GitLab Bot <gitlab-bot@gitlab.com> | 2021-02-18 21:10:41 +0300 |
commit | fca2dd4d550d90398b07f7afb93159f0d8534e94 (patch) | |
tree | 394e58a5ff4185bb8359dea3e8d6988a85519f98 /spec/frontend/sidebar | |
parent | 15714832c817685512f2ea1f2d91a94cb1cf67b9 (diff) |
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'spec/frontend/sidebar')
-rw-r--r-- | spec/frontend/sidebar/subscriptions_spec.js | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/spec/frontend/sidebar/subscriptions_spec.js b/spec/frontend/sidebar/subscriptions_spec.js index e7ae59e26cf..6ab8e1e0ebc 100644 --- a/spec/frontend/sidebar/subscriptions_spec.js +++ b/spec/frontend/sidebar/subscriptions_spec.js @@ -84,6 +84,15 @@ describe('Subscriptions', () => { spy.mockRestore(); }); + it('has visually hidden label', () => { + wrapper = mountComponent(); + + expect(findToggleButton().props()).toMatchObject({ + label: 'Notifications', + labelPosition: 'hidden', + }); + }); + describe('given project emails are disabled', () => { const subscribeDisabledDescription = 'Notifications have been disabled'; |