Skip to content
Snippets Groups Projects
Unverified Commit c0d7dd38 authored by Rémy Coutable's avatar Rémy Coutable
Browse files

Workaround a recaptcha pop-up that cannot be tested


Signed-off-by: default avatarRémy Coutable <remy@rymai.me>
parent 09da89e6
No related branches found
No related tags found
No related merge requests found
Loading
Loading
@@ -34,6 +34,9 @@ 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')
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment