Undo another Capybara refactor that causes CI to break
Alas. Closed #8331
This commit is contained in:
parent
107f118db4
commit
6fadfb30fe
2 changed files with 5 additions and 2 deletions
|
|
@ -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
|
||||
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue