Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Greiling <mike@pixelcog.com>2017-10-20 09:05:18 +0300
committerMike Greiling <mike@pixelcog.com>2017-10-20 09:05:18 +0300
commitce7449ce032039467c7b6b1271b4b00a642a1c81 (patch)
treea183c0d6c051818e8c5e92cfaa54f35af4b07090 /spec/features/issues
parent95d629a1ea20f84e9286fbe5ae73ed3302a67c1c (diff)
clear localStorage after each capybara test (global)
Diffstat (limited to 'spec/features/issues')
-rw-r--r--spec/features/issues/gfm_autocomplete_spec.rb4
-rw-r--r--spec/features/issues/markdown_toolbar_spec.rb4
2 files changed, 0 insertions, 8 deletions
diff --git a/spec/features/issues/gfm_autocomplete_spec.rb b/spec/features/issues/gfm_autocomplete_spec.rb
index 31291aed349..ac75b1fcdba 100644
--- a/spec/features/issues/gfm_autocomplete_spec.rb
+++ b/spec/features/issues/gfm_autocomplete_spec.rb
@@ -16,10 +16,6 @@ feature 'GFM autocomplete', :js do
wait_for_requests
end
- after do
- execute_script("localStorage.clear();")
- end
-
it 'updates issue descripton with GFM reference' do
find('.issuable-edit').click
diff --git a/spec/features/issues/markdown_toolbar_spec.rb b/spec/features/issues/markdown_toolbar_spec.rb
index ee68dfc7a04..6869c2c869d 100644
--- a/spec/features/issues/markdown_toolbar_spec.rb
+++ b/spec/features/issues/markdown_toolbar_spec.rb
@@ -11,10 +11,6 @@ feature 'Issue markdown toolbar', :js do
visit project_issue_path(project, issue)
end
- after do
- execute_script("localStorage.clear();")
- end
-
it "doesn't include first new line when adding bold" do
find('#note-body').native.send_keys('test')
find('#note-body').native.send_key(:enter)