-
Notifications
You must be signed in to change notification settings - Fork 356
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: add experiment list test for stop row action #10059
base: main
Are you sure you want to change the base?
Conversation
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## main #10059 +/- ##
==========================================
- Coverage 54.28% 50.78% -3.50%
==========================================
Files 1259 953 -306
Lines 157285 130301 -26984
Branches 3643 3643
==========================================
- Hits 85384 66179 -19205
+ Misses 71768 63989 -7779
Partials 133 133
Flags with carried forward coverage won't be shown. Click here to find out more. |
✅ Deploy Preview for determined-ui ready!
To edit notification comments on pull requests, go to your Netlify site configuration. |
This adds an experiment list test for the stop action. it also introduces a new test fixture to allow for creating new experiments to be cleaned up afterwards on the fly.
a8058c4
to
c453c34
Compare
metric: 'x', | ||
name: 'custom', | ||
unit: 'batches', | ||
name: 'random', |
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.
we got rid of the custom searcher last week.
await row.experimentActionDropdown.open(); | ||
await expect(row.experimentActionDropdown.pwLocator).toBeVisible(); | ||
await expect( | ||
row.experimentActionDropdown.pwLocator.getByRole('menuitem', { name: 'Stop' }), |
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.
i prefer experimentActionDropdown.menuItem
but i'm happy as long as it works
Ticket
ET-661
Description
This adds an experiment list test for the stop action. it also introduces a new test fixture to allow for creating new experiments to be cleaned up afterwards on the fly.
Test Plan
Tests should pass
Checklist
docs/release-notes/
See Release Note for details.