discourse/spec/system/page_objects/components
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
..
ace_editor.rb DEV: Create form templates (#20189) 2023-02-08 11:21:39 -08:00
base.rb DEV: Change sidebar header dropdown to use wait_for_animation (#20627) 2023-03-10 14:54:57 +10:00
composer.rb DEV: Fix flaky emoji deny list system spec (#21180) 2023-04-21 10:55:05 +10:00
dialog.rb FIX: Blank dialog when auto-join selected in channel creation modal (#20405) 2023-02-22 17:38:54 +10:00
emoji_picker.rb DEV: Fix flaky emoji deny list system spec (#21180) 2023-04-21 10:55:05 +10:00
fast_editor.rb FIX: Fast edit doesn’t work on content with certain characters (#20410) 2023-02-23 11:30:16 +08:00
legacy_header_dropdown.rb FIX: Override navigation menu to "legacy" via query param not working (#20402) 2023-02-22 06:43:14 +08:00
select_kit.rb FIX: ensures tag notification level is changed (#21106) 2023-04-17 10:48:41 +02:00
sidebar.rb DEV: Switch sidebar section link identifier to data attribute (#21051) 2023-04-12 15:52:10 +08:00
sidebar_header_dropdown.rb DEV: Switch sidebar section link identifier to data attribute (#21051) 2023-04-12 15:52:10 +08:00
topic_list.rb FIX: Incorrect topic tracking state count when a new category is created (#20506) 2023-03-06 10:13:10 +08:00
topic_query_filter.rb UX: Styling adjustments for filters page (#20768) 2023-03-23 06:28:47 +08:00