discourse/spec/system
Alan Guo Xiang Tan 7ef2eaa892
DEV: Fix system test assertion to avoid stale element reference error (#21944)
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.
2023-06-06 15:43:49 +08:00
..
composer DEV: Unskip supposedly flaky test (#21922) 2023-06-05 17:21:09 +08:00
emojis DEV: Speed up core system tests (#21394) 2023-05-05 07:45:53 +08:00
page_objects FIX: change Community icons (#21904) 2023-06-02 11:58:54 +10:00
user_page FIX: all staff_counters should be pluralized strings (#21048) 2023-04-12 17:13:37 +08:00
admin_customize_form_templates_spec.rb DEV: Call MessageBus.stop() after each system test (#21848) 2023-05-31 21:00:35 +08:00
admin_customize_themes_spec.rb PERF: Don't serialize value for theme_fields unnecessarily (#21201) 2023-04-24 09:30:51 -05:00
bookmarks_spec.rb DEV: Speed up core system tests (#21394) 2023-05-05 07:45:53 +08:00
category_edit_spec.rb DEV: Speed up core system tests (#21394) 2023-05-05 07:45:53 +08:00
custom_sidebar_sections_spec.rb FIX: simplify review community section link (#21907) 2023-06-05 11:25:29 +08:00
discovery_breadcrumb_navigation_spec.rb FIX: default_list_filter = none navigation and preloading (#20641) 2023-03-14 10:46:05 +00:00
ember_deprecation_test.rb DEV: Include ember deprecation messages in production builds (#20587) 2023-03-10 10:37:28 +00:00
fast_edit_spec.rb DEV: Fix system test assertion to avoid stale element reference error (#21944) 2023-06-06 15:43:49 +08:00
filtering_topics_spec.rb DEV: Update experimental /filter route with tags support (#20874) 2023-03-30 09:00:42 +08:00
hashtag_autocomplete_spec.rb DEV: prevents flakey in autocomplete hashtag (#21786) 2023-05-28 14:17:39 +02:00
network_disconnected_spec.rb DEV: Skip flaky network disconnected test (#21945) 2023-06-06 15:39:18 +08:00
reviewables_spec.rb UX: Add show more btn to reviewable item (#21579) 2023-06-01 11:55:27 -07:00
search_spec.rb DEV: Speed up core system tests (#21394) 2023-05-05 07:45:53 +08:00
tag_notification_level_spec.rb DEV: fix tag synonyms flakey specs (#21787) 2023-05-28 15:35:55 +02:00
tag_synonyms_spec.rb DEV: fix tag synonyms flakey specs (#21787) 2023-05-28 15:35:55 +02:00
user_preferences_interface_spec.rb DEV: uses select-kit component for interface spec (#21790) 2023-05-29 10:48:59 +02:00
user_preferences_navigation_spec.rb UX: Release new user profile navigation for sidebar compatibility (#20134) 2023-02-21 10:16:16 +08:00
user_selector_spec.rb DEV: Disable SearchIndexer after fabrication (#21378) 2023-05-04 09:20:52 +08:00
viewing_category_spec.rb FIX: Incorrect topic tracking state count when a new category is created (#20506) 2023-03-06 10:13:10 +08:00
viewing_sidebar_mobile_spec.rb DEV: Port sidebar mobile view acceptance tests to system tests (#20421) 2023-02-23 15:01:39 +08:00
viewing_sidebar_preferences_spec.rb DEV: Apply syntax_tree formatting to spec/* 2023-01-09 11:49:28 +00:00
viewing_sidebar_spec.rb DEV: Change sidebar header dropdown to use wait_for_animation (#20627) 2023-03-10 14:54:57 +10:00