rails/actiontext/test
Sean Doyle 67a4ac6c56 Focus editor after calling fill_in_rich_text_area
When System Tests call `fill_in_rich_text_area`, they interact with
`<trix-editor>` elements by changing the contents programmatically.

This is unlike how end-users will interact with the element. Overhauling
the test helper to more accurately reflect Real World usage would
require a sizable effort.

With that being said, leaving the `<trix-editor>` with focus after
populating its contents is a minor change that makes it a more genuine
recreation.
2022-12-09 09:48:27 -05:00
..
dummy Update mailer templates meta tag mailer.html.erb 2022-11-14 21:38:07 -04:00
fixtures Improve ActionText extensiblibility 2020-12-29 20:06:45 -05:00
integration Fix deprecation warnings in Action Text tests 2022-03-19 07:20:31 +00:00
system Focus editor after calling fill_in_rich_text_area 2022-12-09 09:48:27 -05:00
template Revert #38957 (#44287) 2022-01-29 14:27:45 +01:00
unit Support has_rich_text with strict_loading: 2022-10-18 17:06:26 -04:00
application_system_test_case.rb Add ActionDispatch::SystemTestCase#fill_in_rich_text_area 2019-05-13 12:44:06 -04:00
test_helper.rb Implicitly assert no exception is raised in assert_queries & al 2022-02-19 09:11:14 +01:00