Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Searchbar In Test Report #324

Open
3 tasks
lemonlion opened this issue Aug 7, 2023 · 1 comment
Open
3 tasks

Searchbar In Test Report #324

lemonlion opened this issue Aug 7, 2023 · 1 comment
Labels
enhancement An enhancement of the feature or new feature LightBDD 4.X Future version of LightBDD
Milestone

Comments

@lemonlion
Copy link

lemonlion commented Aug 7, 2023

Description

Background - when using a test report as more of a specifications document, it is not always easy to find exactly what you are looking for - you can use the browser search, but I would suggest a cleaner approach, a built in search bar (arguably a filter bar).

Default Behaviour (On text change in searchbar):

  • It collapses all features
  • It trims the text in the searchbar, then compares (case insensitve) the text in the searchbar with all the text in each feature
  • It hides (display:none) features that don't include the text from the searchbar in their title or contents

There would also be a checkbox with a label "Search By Feature Title Only"
Behaviour When Search-By-Title-Only Checkbox Is Ticked (On text change in searchbar):

  • It collapses all features
  • It trims the text in the searchbar, then compares (case insensitve) the text in the searchbar with all the titles in each feature
  • It hides (display:none) features that don't include the text from the searchbar in their title

Progress

  • Feature is implemented,
  • Ensured backward-compatibility,
  • Ensured good debugging experience
@Suremaker
Copy link
Collaborator

Hey @lemonlion , I will take a look at it as part of LightBDD 4.x work

@Suremaker Suremaker added this to the 4.0.0 milestone Aug 7, 2023
@Suremaker Suremaker added the enhancement An enhancement of the feature or new feature label Aug 7, 2023
@Suremaker Suremaker added the LightBDD 4.X Future version of LightBDD label Aug 20, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement An enhancement of the feature or new feature LightBDD 4.X Future version of LightBDD
Projects
None yet
Development

No branches or pull requests

2 participants