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

Add E2E Test for Filters #4068

Closed
jpaten opened this issue Jul 6, 2024 · 0 comments · Fixed by #4071
Closed

Add E2E Test for Filters #4068

jpaten opened this issue Jul 6, 2024 · 0 comments · Fixed by #4071
Assignees
Labels
canary Done by the Clever Canary team

Comments

@jpaten
Copy link
Contributor

jpaten commented Jul 6, 2024

Add the following tests:

  • Check that all filters defined in explorer/e2e/anvilTabs.js display on each tab, are clickable, and cause a checkbox to be displayed
  • Check that selecting the first 5 checkboxes on one arbitrary filter on the datasets tab does not remove any elements from the table
  • Check that selecting the first checkbox on an one arbitrary filter on the datasets causes that box to remain checked when each of the other tabs is selected
  • Check that the stated number of entries visible matches the number displayed next to the entry on the filter menu
  • Check that the blue filter bubbles match the filter settings
  • Check that the "Clear All" button functions correctly
@jpaten jpaten self-assigned this Jul 6, 2024
@github-actions github-actions bot added the canary Done by the Clever Canary team label Jul 6, 2024
@jpaten jpaten linked a pull request Jul 8, 2024 that will close this issue
jpaten added a commit that referenced this issue Jul 12, 2024
jpaten added a commit that referenced this issue Jul 12, 2024
jpaten added a commit that referenced this issue Jul 13, 2024
jpaten added a commit that referenced this issue Jul 15, 2024
jpaten added a commit that referenced this issue Jul 15, 2024
jpaten added a commit that referenced this issue Jul 15, 2024
jpaten added a commit that referenced this issue Aug 1, 2024
jpaten added a commit that referenced this issue Aug 23, 2024
jpaten added a commit that referenced this issue Aug 23, 2024
* feat: first draft of anvil-cmg filter tests (#4068)

* fix: refactored and debugged filter tests (#4068)

* fix: added extra check to testFilterPresence (#4068)

* fix: refactored tests (#4068)

* fix: refactored tests (#4068)

* fix: refactored tests (#4068)

* fix: attempted fix for filter test issues (#4068)

* fix: switched setchecked to click action (#4068)

* fix: fixed typo that caused tests to fail, added clear all test (#4068)

* fix: shortened certain tests that would timeout (#4068)

* fix: fixed redundant code and bad timeouts (#4068)

* fix: made all variables camelcase in filter tests (#4068)

* fix: updated variable names and created constants (#4068)

* fix: updated variable names, created constants, fixed bug in persistence test on webkit (#4068)

* fix: updated variable names and tsdocs for e2e tests (#4068)

* fix: fixed filter persistence test errors (#4068)
jpaten added a commit that referenced this issue Aug 23, 2024
jpaten added a commit that referenced this issue Aug 23, 2024
jpaten added a commit that referenced this issue Aug 24, 2024
jpaten added a commit that referenced this issue Aug 31, 2024
jpaten added a commit that referenced this issue Aug 31, 2024
jpaten added a commit that referenced this issue Sep 3, 2024
jpaten added a commit that referenced this issue Sep 3, 2024
jpaten added a commit that referenced this issue Sep 6, 2024
jpaten added a commit that referenced this issue Sep 6, 2024
jpaten added a commit that referenced this issue Sep 10, 2024
* fix: refactored tests (#4068)

* fix: refactored tests (#4068)

* fix: refactored locators and cleaned up typos in tests (#4078)

* test: added tests for anvil-cmg datasets backpages (#4080)

* test: fixed changes that broke with rebasing and made export tests skip (#4080)

* test: documented backpage tests in `testReadme.md`(#4080)

* test: fixed comment and readme typos, revised backpage tests (#4080)

* test: refactored constants and backpage export test (#4080)

* test: made backpages tests skip again (#4080)

* test: fixed another typo in testReadme.md... (#4080)
jpaten added a commit that referenced this issue Sep 11, 2024
jpaten added a commit that referenced this issue Sep 11, 2024
jpaten added a commit that referenced this issue Sep 11, 2024
jpaten added a commit that referenced this issue Sep 12, 2024
jpaten added a commit that referenced this issue Sep 12, 2024
jpaten added a commit that referenced this issue Sep 12, 2024
jpaten added a commit that referenced this issue Sep 12, 2024
jpaten added a commit that referenced this issue Sep 12, 2024
jpaten added a commit that referenced this issue Sep 12, 2024
jpaten added a commit that referenced this issue Sep 13, 2024
* fix: refactored tests (#4068)

* fix: refactored tests (#4068)

* fix: refactored locators and cleaned up typos in tests (#4078)

* test: added tests for anvil-cmg datasets backpages (#4080)

* test: fixed changes that broke with rebasing and made export tests skip (#4080)

* fix: refactored tests (#4068)

* fix: refactored locators and cleaned up typos in tests (#4078)

* fix: removed redundant file-level configuration, increased anvil-catalog timeout to 60s (#4078)

* test: corrected errors in complex rebase (#4078)

* test: cleaned up pagination tests (#4078)

* test: switched to MACRO_CASE for test constants (#4078)

* test: fixed issues from rebase (#4078)

* test: made tests not dependent on tab order and refactored constants to constants.ts (#4078)

* test: removed redundant TODO (#4078)

* test: attempt to fix flakiness with filter counts (#4078)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
canary Done by the Clever Canary team
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant