diff --git a/Changelog.md b/Changelog.md index 79abb3442..20ed84cd0 100644 --- a/Changelog.md +++ b/Changelog.md @@ -2,10 +2,11 @@ ## Refactor * Fix order-dependent jasmine test failures and switch to random order [#8333](https://github.com/diaspora/diaspora/pull/8333) +* Get rid of some uses of "execute_script" in feature specs [#8331](https://github.com/diaspora/diaspora/pull/8331) ## Bug fixes -## Bug fixes +## Features # 0.7.17.0 diff --git a/features/step_definitions/modal_steps.rb b/features/step_definitions/modal_steps.rb index a166a5ec9..ceea1f667 100644 --- a/features/step_definitions/modal_steps.rb +++ b/features/step_definitions/modal_steps.rb @@ -9,7 +9,9 @@ Then /^I should see the mention modal$/ do end When /^I put in my password in the close account modal$/ do - fill_in("#close_account_password", with: @me.password) + # Capybara helpers fill_in, set and send_keys currently don't work + # inside of Bootstrap modals on Travis CI + execute_script("$(\"#closeAccountModal input#close_account_password\").val(\"#{@me.password}\")") expect(find("#closeAccountModal input#close_account_password").value).to eq(@me.password) end