discourse/spec/system
Martin Brennan 30f0afe873
DEV: Fix flaky emoji deny list system spec (#21180)
This was failing quite often with the following error:

```
 1) Emoji deny list when using composer should remove denied emojis from emoji picker
     Failure/Error: find("#{COMPOSER_ID} .emoji-picker")

     Capybara::ElementNotFound:
       Unable to find css "#reply-control .emoji-picker"
```

This was because our `click_toolbar_button` call on the Composer
page object used a number for the position of the toolbar button,
which can be flaky since there are things that hide/show toolbar
buttons or change their position.

Each toolbar button in the composer has a CSS class, so it is
more reliable to use that instead. Also fixed an instance of
calling `has_X?` method directly instead of using the
`have_x` rspec matcher.
2023-04-21 10:55:05 +10:00
..
composer FEATURE: Add new don't feed the trolls feature (#21001) 2023-04-20 15:49:35 +08:00
emojis DEV: Fix flaky emoji deny list system spec (#21180) 2023-04-21 10:55:05 +10:00
page_objects DEV: Fix flaky emoji deny list system spec (#21180) 2023-04-21 10:55:05 +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: Show active categories in form templates customize table (#20498) 2023-03-01 12:37:14 -08:00
admin_customize_themes_spec.rb DEV: Apply syntax_tree formatting to `spec/*` 2023-01-09 11:49:28 +00:00
bookmarks_spec.rb FIX: Bookmark auto delete preference usage and default value (#19707) 2023-01-05 08:43:58 +10:00
category_edit_spec.rb DEV: Apply form template to categories (#20337) 2023-02-23 11:18:14 -08:00
custom_sidebar_sections_spec.rb DEV: Switch sidebar section link identifier to data attribute (#21051) 2023-04-12 15:52:10 +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 FIX: Fast edit doesn’t work on content with certain characters (#20410) 2023-02-23 11:30:16 +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 SECURITY: Default tags to show count of topics in unrestricted categories (#19916) 2023-01-20 09:50:24 +08:00
search_spec.rb DEV: skip failing spec (#20095) 2023-01-31 10:58:50 +01:00
tag_notification_level_spec.rb FIX: ensures tag notification level is changed (#21106) 2023-04-17 10:48:41 +02:00
tag_synonyms_spec.rb FEATURE: add new tags from edit tag synonyms page (#20553) 2023-03-08 14:26:20 +08:00
user_preferences_interface_spec.rb FIX: Remove user_option saving for bookmark auto delete pref (#19476) 2022-12-16 08:50:31 +10: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 FIX: corrects a regression hiding avatar in user selector (#20107) 2023-02-01 16:42:39 +01: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