discourse/spec/system/page_objects
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
..
components DEV: fix tag synonyms flakey specs (#21787) 2023-05-28 15:35:55 +02:00
modals DEV: configurable public sidebar sections (#20303) 2023-02-22 08:55:44 +11:00
pages DEV: fix tag synonyms flakey specs (#21787) 2023-05-28 15:35:55 +02:00
cdp.rb FEATURE: Reacting to MessageBus in chat thread panel (#21070) 2023-04-13 14:45:50 +02:00