mirror of
https://github.com/discourse/discourse.git
synced 2024-11-26 17:43:42 +08:00
7ef2eaa892
What is this change required? We were seeing this error on CI ``` 1) Fast edit when editing text that has strange characters saves when paragraph contains apostrophe Failure/Error: expect(find("#{topic_page.post_by_number_selector(2)} .cooked p")).to have_content( "It ‘twas a great’ “day”!", ) Selenium::WebDriver::Error::StaleElementReferenceError: stale element reference: stale element not found (Session info: chrome=114.0.5735.90) ``` I believe this is because the element that is "found" using `find` is eventually re-rendered before the `have_content` matcher is called on it. |
||
---|---|---|
.. | ||
fabricators | ||
fixtures | ||
helpers | ||
import_export | ||
initializers | ||
integration | ||
integrity | ||
jobs | ||
lib | ||
mailers | ||
models | ||
multisite | ||
requests | ||
script/import_scripts | ||
serializers | ||
services | ||
support | ||
system | ||
tasks | ||
views | ||
rails_helper.rb | ||
regenerate_swagger_docs | ||
swagger_helper.rb |