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

WIP: Cypress tests for the Facets feature #2667

Merged
merged 9 commits into from
Apr 13, 2022
Merged

Conversation

felipeelia
Copy link
Member

Description of the Change

This PR adds cypress tests related to the Facets feature

  • If feature is activated, user should see “ElasticPress - Facet” widget in dashboard.
  • If user adds the Facet widget, it should render the items of the selected taxonomy in the widget
  • If user adds the Facet widget and the length of the taxonomy is greater than 15, it should render an input search, and the items of the selected taxonomy
  • If user adds a category called “New York” and assign a post to it, it should be possible to type for “New Y” and find the term
  • If user adds two Facet widgets and the length of the selected taxonomy is greater than 15, the user should be able to search in both widgets independently
  • If user visits a paginated facet, clicking on a new facet should reset pagination

Related to #2614

Changelog Entry

Added: e2e tests for the Facets feature.

Credits

Props @felipeelia

@felipeelia felipeelia added this to the 4.1.0 milestone Mar 18, 2022
@felipeelia felipeelia self-assigned this Mar 18, 2022
@felipeelia felipeelia mentioned this pull request Mar 18, 2022
46 tasks
@felipeelia felipeelia modified the milestones: 4.1.0, 4.2.0 Apr 5, 2022
@felipeelia felipeelia assigned JakePT and unassigned felipeelia Apr 8, 2022
@felipeelia felipeelia requested a review from JakePT April 8, 2022 19:22
@felipeelia felipeelia merged commit 5e45390 into develop Apr 13, 2022
@felipeelia felipeelia deleted the tests/e2e-facets branch April 13, 2022 12:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants