mirror of
https://github.com/discourse/discourse.git
synced 2024-11-29 04:03:57 -06: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. |
||
---|---|---|
.. | ||
composer | ||
emojis | ||
page_objects | ||
user_page | ||
admin_customize_form_templates_spec.rb | ||
admin_customize_themes_spec.rb | ||
bookmarks_spec.rb | ||
category_edit_spec.rb | ||
custom_sidebar_sections_spec.rb | ||
discovery_breadcrumb_navigation_spec.rb | ||
ember_deprecation_test.rb | ||
fast_edit_spec.rb | ||
filtering_topics_spec.rb | ||
hashtag_autocomplete_spec.rb | ||
network_disconnected_spec.rb | ||
reviewables_spec.rb | ||
search_spec.rb | ||
tag_notification_level_spec.rb | ||
tag_synonyms_spec.rb | ||
user_preferences_interface_spec.rb | ||
user_preferences_navigation_spec.rb | ||
user_selector_spec.rb | ||
viewing_category_spec.rb | ||
viewing_sidebar_mobile_spec.rb | ||
viewing_sidebar_preferences_spec.rb | ||
viewing_sidebar_spec.rb |