summaryrefslogtreecommitdiff
path: root/spec
diff options
context:
space:
mode:
authorFilipa Lacerda <filipa@gitlab.com>2017-12-05 11:56:03 +0000
committerFilipa Lacerda <filipa@gitlab.com>2017-12-05 11:56:03 +0000
commit1e9eb3ea222d68b84ac698942076c0fa4bf07e3c (patch)
tree058ee0224a5f1ac6c2580c6aafb76366642233d6 /spec
parent4ca4b0ff702a68a9aed5da70d9170da410eefafa (diff)
downloadgitlab-ce-1e9eb3ea222d68b84ac698942076c0fa4bf07e3c.tar.gz
Init zenmode in snippets pages40508-snippets-zen-mode
Diffstat (limited to 'spec')
-rw-r--r--spec/features/projects/snippets_spec.rb5
1 files changed, 5 insertions, 0 deletions
diff --git a/spec/features/projects/snippets_spec.rb b/spec/features/projects/snippets_spec.rb
index 1cfbbb4cb62..0fa7ca9afd4 100644
--- a/spec/features/projects/snippets_spec.rb
+++ b/spec/features/projects/snippets_spec.rb
@@ -39,6 +39,11 @@ describe 'Project snippets', :js do
expect(page).to have_selector('.atwho-view')
end
+
+ it 'should have zen mode' do
+ find('.js-zen-enter').click()
+ expect(page).to have_selector('.fullscreen')
+ end
end
end
end