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

Write Playwright test for search flow #1578

Open
seanes opened this issue Dec 12, 2024 · 0 comments
Open

Write Playwright test for search flow #1578

seanes opened this issue Dec 12, 2024 · 0 comments
Labels
dev developer task quality/engineering Technical or architectural improvements. For example refactoring or upgrading.

Comments

@seanes
Copy link
Collaborator

seanes commented Dec 12, 2024

Regression test for current implementation (requirements may change later, but then the test will be updated).
This can be a separate test or a combination of all:

A user should be able to find dialogs:

  1. query search less than 3 characters is not allowed (first item in autocomplete should be disabled). This is a backend limitation.
  2. number of results should appear in badge if there are results and some of them (not all) should be listed. it's capped at 5 now.
  3. enter should show active element (by default this is "<> in innboks") and return results
  4. Clicking on the item should have the same behaviour
  5. You should be navigated back to results independent on the route you are at, e.g. if you are looking at details of a dialog (inbox/id), search should return you to inbox to display the results.
@seanes seanes added dev developer task quality/engineering Technical or architectural improvements. For example refactoring or upgrading. labels Dec 12, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
dev developer task quality/engineering Technical or architectural improvements. For example refactoring or upgrading.
Projects
Status: Ready
Development

No branches or pull requests

1 participant