-
Notifications
You must be signed in to change notification settings - Fork 359
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
test: make explist e2e sort test more reliable #10067
Conversation
this updates the experiment list e2e multi sort test: 1) the test could flake if the table was comparing numeric values lower than 10 with numeric values larger than 10. 2) the test helper now handles both the setup and scenario steps, allowing for more levels of sorting. the multi sort menu is also updated to output the values of the direction selector to the dom to allow selections during the e2e tests that don't need to be aware of the column copy.
✅ 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 #10067 +/- ##
==========================================
- Coverage 54.41% 50.38% -4.03%
==========================================
Files 1262 952 -310
Lines 158886 130251 -28635
Branches 3632 3632
==========================================
- Hits 86454 65625 -20829
+ Misses 72298 64492 -7806
Partials 134 134
Flags with carried forward coverage won't be shown. Click here to find out more.
|
await multiSortMenu.open(); | ||
await multiSortMenu.multiSort.reset.pwLocator.click(); | ||
// weirdness alert: reset closes the sort menu normally, but doesn't |
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.
thanks for the comment
await checkTableOrder('Trial count', 'Searcher Metric', true); | ||
}); | ||
}); | ||
testSorts([ |
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.
very clean!
Ticket
ET-828
Description
this updates the experiment list e2e multi sort test:
the test could flake if the table was comparing numeric values lower than 10 with numeric values larger than 10.
the test helper now handles both the setup and scenario steps, allowing for more levels of sorting.
the multi sort menu is also updated to output the values of the direction selector to the dom to allow selections during the e2e tests that don't need to be aware of the column copy.
Test Plan
react e2e tests should pass. will run back-to-back test suites on circleci to validate non-flakiness.
Checklist
docs/release-notes/
See Release Note for details.