robotframework / RIDE

Test data editor for Robot Framework
Apache License 2.0
954 stars 376 forks source link

Tag search does not handle spaces in query #2736

Open JFoederer opened 3 months ago

JFoederer commented 3 months ago

Using the Tag search dialog I am able to find tests tagged with TAG_A (underscore), but not the ones tagged with TAG B (space), when searching using the full tag name (Results: 0). It does work when using a wild card search TAG*B. image

v2.1dev22, Windows Python 3.11 and Linux Python 3.10

HelioGuilherme66 commented 3 months ago

@JFoederer The reason why the tags with spaces are not found, is because the space is the separator in the search field. You want to search for Test B but you are searching for Test or B. I tend to leave this as it is because it is similar of how we do in command line, we have to use theTest_B or TestB.

JFoederer commented 3 months ago

Ok, I had not guessed that TAG_B and tagB were also valid to match TAG B. I understand that command line has this limitation as it doesn't deal well with spaces in general. In Robot Framework spaces are very common in names, so I would expect a dedicated RF tool like RIDE to work equally well with such names.

But, if this was intended behaviour than it isn't a bug and with three workarounds available it certainly isn't a high prio feature request.