discourse/spec/system/composer
Joffrey JAFFEUX 9392bd0f79
DEV: fix tag synonyms flakey specs (#21787)
The fix use the SelectKit component in the spec and improves reliability of SelectKit component to ensure expanded/collapsed state effectively set/present.

Multiple lines have also been removed as they are not necessary, eg: 

- check button is present
- click button

The check is un-necesssary as we won't find the button on click if not present. This kind of checks are only necessary when another element has to be present before the button is show, eg:

- check modal is displayed
- click button

FInally this commit changes the way the SelectKit component initializes component and now uses a css selector instead of a finder, it ensures we are always getting fresh object and allows to build complete selectors: ".context[data-id=1].foo:enabled"
2023-05-28 15:35:55 +02:00
..
default_to_subcategory_spec.rb DEV: fix tag synonyms flakey specs (#21787) 2023-05-28 15:35:55 +02:00
dont_feed_the_trolls_popup_spec.rb FEATURE: Add new don't feed the trolls feature (#21001) 2023-04-20 15:49:35 +08:00
review_media_unless_trust_level_spec.rb WIP: Skip system specs with upload fabricators (#20821) 2023-03-27 13:11:17 -04:00