Benjamin Neff
022f367692
Fix some keyword args for ruby 3 compatibility
2022-07-21 01:25:53 +02:00
Benjamin Neff
d4079070ed
Merge branch 'next-minor' into develop
2022-07-20 21:34:39 +02:00
Benjamin Neff
b5a46cf7bb
Fix deprecation warnings for rails 6.0
2022-07-20 21:26:58 +02:00
Benjamin Neff
6c9e7f283f
Merge branch 'next-minor' into develop
2022-06-19 19:30:56 +02:00
Sage Ross
4588ce11c9
Replace "execute_script" for uploading images in specs
2022-06-19 19:29:57 +02:00
Benjamin Neff
95c0bb9ef2
Merge branch 'next-minor' into develop
2021-10-25 03:46:48 +02:00
Thorsten Claus
88e2e593a4
Update open_graph_reader gem
...
closes #8307
2021-10-25 03:28:56 +02:00
Jonne Haß
28213b1a47
Merge branch 'next-minor' into develop
2021-04-11 17:29:57 +02:00
Jonne Haß
2412ee390d
update capybara and cucumber-rails
2021-04-11 17:25:18 +02:00
Jonne Haß
7960a51d12
update open_graph_reader to 0.7.1
2021-04-11 17:25:18 +02:00
Jonne Haß
cc5fca99be
Fixup rubocop warnings from factory_bot introduction
2021-04-11 01:59:47 +02:00
Ntavranis Serafeim
671e8476ba
Update factory_girl to factory_bot
2021-04-11 01:51:38 +02:00
Jonne Haß
7d9f18fda1
Merge branch 'next-minor' into develop
2021-04-10 23:17:47 +02:00
Jonne Haß
7154fc3ccc
Port cukes from poltergeist to aparition
...
closes #8234
2021-04-10 23:17:39 +02:00
Jonne Haß
bbd4a68151
Merge branch 'next-minor' into develop
2020-11-02 19:55:41 +01:00
Jonne Haß
e1aff7e3ab
drop coveralls
2020-11-02 19:55:36 +01:00
Jonne Haß
995f3394a8
Merge branch 'next-minor' into develop
2019-09-01 02:44:02 +02:00
Jonne Haß
6a7e937d90
Update open_graph_reader to 0.7.0
...
This should fix undefined method `og' for #<OpenGraphReader::Base:0x00007f73c53f2308 @bases={}>
for sites that have OpenGraph tags of other namespaces but no actual OpenGraph core tags
2019-09-01 02:42:11 +02:00
lislis
9d5b981809
Two factor authentication ( #7751 )
2019-04-28 23:24:40 +02:00
lislis
1da118780e
Two factor authentication ( #7751 )
2019-04-28 19:06:48 +02:00
Benjamin Neff
5b0066a426
Merge branch 'next-minor' into develop
2018-11-18 19:36:51 +01:00
Benjamin Neff
7a958bce69
Bump cucumber
2018-11-18 19:32:16 +01:00
Benjamin Neff
d3bb7ade78
Merge branch 'next-minor' into develop
2018-11-02 01:39:11 +01:00
flaburgan
b977e9c39a
Save a screenshot of the page in tmp/capybara when a cucumber test is failing
...
closes #7912
2018-11-02 01:39:04 +01:00
Benjamin Neff
d06ef4505c
Wait for the image actually uploaded and removed again
2018-07-17 20:48:37 +02:00
Benjamin Neff
e0a8a5e34c
Bump database_cleaner
2018-04-12 02:41:56 +02:00
cmrd Senya
b32c844314
Support for embedding HTML5 media links
...
Use markdown-it-html5-embed plugin so user can embed audio and
video using the markdown link syntax []() in the HTML5 way.
2018-02-17 19:21:10 +01:00
Benjamin Neff
e82690963d
Add # frozen_string_literal: true to all files
2017-09-17 19:29:15 +02:00
Benjamin Neff
45e714776e
Don't truncate ar_internal_metadata after cucumber scenarios
...
This is an internal active record table and shouldn't be touched. When
this is truncated you need to fix it again by running
`bin/rails db:environment:set RAILS_ENV=test`
This is a temporary fix until there is a new version of
database_cleaner.
closes #7606
2017-09-04 02:49:07 +02:00
Steffen van Bergerem
7729635485
Replace publisher_textarea_wrapper with publisher-textarea-wrapper
2017-08-31 02:44:53 +02:00
Steffen van Bergerem
b4e3f84607
Replace main_stream with main-stream
2017-08-31 02:44:47 +02:00
Benjamin Neff
4ef0c19ce3
Change order of fields in fill_in_new_user_form
...
The user_email is the first field anyway, and login form as a
user_username field too, so it maybe happens that we already fill in the
user_username filed there before page load finished.
closes #7556
2017-08-19 15:04:04 +02:00
Benjamin Neff
6b2c010ecc
Wait for like to finish
2017-08-12 15:39:28 +02:00
Benjamin Neff
955ef43a0e
Replace use_transactional_fixtures with use_transactional_tests
2017-08-12 15:39:23 +02:00
flaburgan
0798bfbc8c
Refactor ids to classes, reorder css properties, css selectors depth
2017-08-10 17:51:01 +02:00
Benjamin Neff
b0ac09a0a3
Cache assets-cache for cucumber on travis
2017-07-23 18:02:56 +02:00
Finn Woelm
14b7c10567
Fix: Use Capybara#fill_in for appending to publisher
...
Capybara's native#send_key function is slow when it is passed a string
longer than just a few characters. This often results in timeout issues
and Capybara (falsely) reporting feature as failing.
To fix this, we use the faster function #fill_in. This does not trigger
JavaScript events on the input, so we manually trigger them after
fill_in by just sending a single key. This can be any key but since we
do not want to modify the text in the input, non-text keys should be
used. For a list of non-text keys, see
http://www.rubydoc.info/github/jnicklas/capybara/Capybara%2FNode%2FElement%3Asend_keys
There is an alternative to the above:
1) Use #fill_in to enter all text except for the last character:
fill_in ..., with: "#{status_message_text} #{txt[0..-2]}"
2) And then use #send_key to send that last character:
find("#status_message_text").native.send_key(txt.last)
At the moment, both approaches work equally well but the second approach
is documented here just in case it becomes relevant in the future.
2017-07-14 12:33:30 +07:00
Benjamin Neff
2dc129d9be
Merge branch 'next-minor' into develop
2017-07-06 02:55:31 +02:00
flaburgan
59c343c0c6
Increase poltegeist timeout
...
closes #7478
2017-07-06 02:51:14 +02:00
Steffen van Bergerem
a61031710c
Merge branch 'next-minor' into develop
2017-04-02 12:51:35 +02:00
cmrd Senya
483f738a0f
Remove unused json_spec gem
2017-04-02 12:48:37 +02:00
Steffen van Bergerem
b076a1a1ff
Merge branch 'next-minor' into develop
2017-03-23 13:55:23 +01:00
flaburgan
ce15f41a04
Check the publisher is closed when submitted, test it is expanded when filled
2017-03-23 13:55:08 +01:00
Benjamin Neff
e82ac2199f
Merge branch 'next-minor' into develop
2017-03-04 22:11:22 +01:00
Steffen van Bergerem
f1ecb8e121
Bump open_graph_reader
2017-03-04 22:09:54 +01:00
Steffen van Bergerem
c4b6b9534c
No more fake text in the publisher
2017-02-12 18:36:26 +01:00
Frédéric Bolvin
7cc4b46d7e
Replaced fileuploader-custom with FineUploader
...
closes #7083
2017-01-07 18:32:08 +01:00
Augier
523f1e848e
Replace .stream_element by .stream-element
2016-09-25 03:12:28 +02:00
cmrd Senya
4b3f36e92a
Fix aspect dropdown when person is being fetched
...
fix #6989
2016-08-15 23:43:24 +03:00
Benjamin Neff
3b1a5c6bdf
don't reduce number of invites when registration is open
...
otherwise the counter goes into negative ;)
also reset all negative counters
2016-08-13 13:51:02 +02:00