-
Notifications
You must be signed in to change notification settings - Fork 350
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
feat: add e2e tests for multi-sort filter on experiments lista #9992
base: main
Are you sure you want to change the base?
Conversation
✅ Deploy Preview for determined-ui ready!
To edit notification comments on pull requests, go to your Netlify site configuration. |
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## main #9992 +/- ##
==========================================
- Coverage 59.17% 50.56% -8.62%
==========================================
Files 755 949 +194
Lines 104932 128621 +23689
Branches 3615 3616 +1
==========================================
+ Hits 62098 65039 +2941
- Misses 42701 63449 +20748
Partials 133 133
Flags with carried forward coverage won't be shown. Click here to find out more. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This test isn't testing the sort order. The sort settings aren't used in the cli call that you're using. You can also tell that the test isn't properly testing by swapping the checkTableOrder
calls.
Please test that the sort order is being applied and working in the frontend.
- ensure that you're picking columns that can be tested. Because we're using the same config for all the experiments in this project, sorting on trial count and searcher will not affect the sort order.
- check the status of the search in the dom. you can do this by checking that the column values are in the order that you expect them to be and/or ensuring that the call to
experiments-search
was made with the parameters you expect. Obviously given the context the former would be better than the latter.
387f6a2
to
350796f
Compare
350796f
to
387f6a2
Compare
387f6a2
to
c7918e0
Compare
…experimentList.spec.ts
Refactor the getColumnTextValue function in experimentList.spec.ts to simplify the code and improve readability. Update function calls to reflect changes in the function implementation.
Co-authored-by: Ashton G. <ashton.galloway@hpe.com>
1f56b90
to
6e2b1a8
Compare
after the last changes, my local are still passing, so, let's see how the CI env will handle 😅 cc @ashtonG |
cae358d
to
f072890
Compare
Ticket
ET-752
Description
This PR intends to add e2e tests for the multi-sort filter for the experiment list.
Test Plan
run the test
'Multi-sort menu'
test scripts on playwrite.Checklist
docs/release-notes/
See Release Note for details.