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
path: root/spec
diff options
context:
space:
mode:
authorStan Hu <stanhu@gmail.com>2018-04-07 01:38:37 +0300
committerFilipa Lacerda <filipa@gitlab.com>2018-04-24 17:42:01 +0300
commitc1e22c4226c3cf0cc79dea4e2e7966cfb552aefc (patch)
treef8ecd933023bbff29b55b9b5f1d9e5287b262aad /spec
parentda8f9992bed1375323ce9c77a491878d2ff09bce (diff)
Merge branch 'sh-fix-recaptcha-test' into 'master'
Fix the reCAPTCHA spec failures by not rendering the widget in test mode Closes #45138 See merge request gitlab-org/gitlab-ce!18235
Diffstat (limited to 'spec')
-rw-r--r--spec/features/issues/spam_issues_spec.rb3
1 files changed, 0 insertions, 3 deletions
diff --git a/spec/features/issues/spam_issues_spec.rb b/spec/features/issues/spam_issues_spec.rb
index a75ca1d42b3..73022afbda2 100644
--- a/spec/features/issues/spam_issues_spec.rb
+++ b/spec/features/issues/spam_issues_spec.rb
@@ -34,9 +34,6 @@ describe 'New issue', :js do
click_button 'Submit issue'
- # reCAPTCHA alerts when it can't contact the server, so just accept it and move on
- page.driver.browser.switch_to.alert.accept
-
# it is impossible to test recaptcha automatically and there is no possibility to fill in recaptcha
# recaptcha verification is skipped in test environment and it always returns true
expect(page).not_to have_content('issue title')