Explicitly disable JavaScript with honeypot fields
These fields are hidden for users with a browser supporting CSS and is only there to fool bots, so we're testing the case of an attack by bots using browsers with no CSS support.
This commit is contained in:
@@ -501,7 +501,7 @@ describe "Budget Investments" do
|
||||
context "Phase I - Accepting" do
|
||||
before { budget.update(phase: "accepting") }
|
||||
|
||||
scenario "Create with invisible_captcha honeypot field" do
|
||||
scenario "Create with invisible_captcha honeypot field", :no_js do
|
||||
login_as(author)
|
||||
visit new_budget_investment_path(budget)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user