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

[Discover 2.0 Testing] TestId-69: Filtering #9047

Conversation

ArgusLi
Copy link
Contributor

@ArgusLi ArgusLi commented Dec 12, 2024

Description

Adds a Cypress test for filtering in the Discover page.

Issues Resolved

Closes #8945.

Screenshot

Changelog

  • test: Add cypress integration test for the new Data Explorer UI's Filtering.

Copy link

codecov bot commented Dec 12, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 60.83%. Comparing base (f06a478) to head (20fd33a).
Report is 1 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff             @@
##             main    #9047      +/-   ##
==========================================
- Coverage   60.86%   60.83%   -0.03%     
==========================================
  Files        3808     3808              
  Lines       91209    91209              
  Branches    14410    14410              
==========================================
- Hits        55514    55488      -26     
- Misses      32154    32224      +70     
+ Partials     3541     3497      -44     
Flag Coverage Δ
Linux_1 29.02% <ø> (ø)
Linux_2 ?
Linux_3 37.93% <ø> (?)
Linux_4 29.01% <ø> (ø)
Windows_1 29.03% <ø> (ø)
Windows_2 56.34% <ø> (ø)
Windows_3 ?
Windows_4 29.01% <ø> (ø)

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@Hailong-am
Copy link
Collaborator

can you rebase your changes with main, seems that lot of other PR changes included

@ArgusLi ArgusLi force-pushed the testid-69-filtering-suite-expanded-table branch from e48a294 to 70e15cb Compare December 17, 2024 17:23
@ArgusLi ArgusLi changed the base branch from cypress-unification to main December 17, 2024 17:24
ArgusLi and others added 26 commits December 22, 2024 15:19
… is almost complete, just working on removing the filter.
* Update Cypress to v12 (opensearch-project#8926)

* Update cypress to v12

Signed-off-by: Daniel Rowe <[email protected]>

* Add required e2e.js

Signed-off-by: Daniel Rowe <[email protected]>

* Changeset file for PR opensearch-project#8926 created/updated

* Update license header

Signed-off-by: Daniel Rowe <[email protected]>

* Update license in e2e.js

Signed-off-by: Daniel Rowe <[email protected]>

---------

Signed-off-by: Daniel Rowe <[email protected]>
Signed-off-by: Daniel Rowe <[email protected]>
Co-authored-by: Daniel Rowe <[email protected]>
Co-authored-by: opensearch-changeset-bot[bot] <154024398+opensearch-changeset-bot[bot]@users.noreply.github.com>

* fix: support imports without extensions in cypress webpack build (opensearch-project#8993)

* fix: support imports without extensions in cypress webpack build

Signed-off-by: Daniel Rowe <[email protected]>

* Changeset file for PR opensearch-project#8993 created/updated

* use typescript config

Signed-off-by: Daniel Rowe <[email protected]>

* fix lint

Signed-off-by: Daniel Rowe <[email protected]>

* disable new test isolation feature

This isolation was causing regressions

Signed-off-by: Daniel Rowe <[email protected]>

---------

Signed-off-by: Daniel Rowe <[email protected]>
Signed-off-by: Daniel Rowe <[email protected]>
Co-authored-by: opensearch-changeset-bot[bot] <154024398+opensearch-changeset-bot[bot]@users.noreply.github.com>

---------

Signed-off-by: Daniel Rowe <[email protected]>
Signed-off-by: Daniel Rowe <[email protected]>
Co-authored-by: opensearch-changeset-bot[bot] <154024398+opensearch-changeset-bot[bot]@users.noreply.github.com>
Refactor to match OSD-functional-tests-layout.
Change testIsolation to be false, ignore uncaught errors to be more selective.
Search bar objects that are non-page specific have been kept as commands.
Getting disabled filter buttons still not working.
…e new index and index pattern constants.

Signed-off-by: Argus Li <[email protected]>
…hanges to reduce test flakiness.

Add retries to improve test flakiness.

Signed-off-by: Argus Li <[email protected]>
Signed-off-by: Argus Li <[email protected]>
@ArgusLi ArgusLi force-pushed the testid-69-filtering-suite-expanded-table branch from b2398d9 to ad24614 Compare December 23, 2024 15:57
@ArgusLi
Copy link
Contributor Author

ArgusLi commented Dec 24, 2024

Superseded by #9119

@ArgusLi ArgusLi closed this Dec 24, 2024
@ArgusLi ArgusLi deleted the testid-69-filtering-suite-expanded-table branch December 24, 2024 20:11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
discover_2.0-test Issues that are specific to the Discover 2.0 testing initiative repeat-contributor
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[Field Display and Filtering] TESTID-69: Filtering
5 participants