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

test: add experiment list test for stop row action #10059

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

ashtonG
Copy link
Contributor

@ashtonG ashtonG commented Oct 15, 2024

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

  • Changes have been manually QA'd
  • New features have been approved by the corresponding PM
  • User-facing API changes have the "User-facing API Change" label
  • Release notes have been added as a separate file under docs/release-notes/
    See Release Note for details.
  • Licenses have been included for new code which was copied and/or modified from any external code

@ashtonG ashtonG requested a review from a team as a code owner October 15, 2024 16:53
@cla-bot cla-bot bot added the cla-signed label Oct 15, 2024
Copy link

codecov bot commented Oct 15, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 50.78%. Comparing base (9a30f26) to head (723e94c).
Report is 10 commits behind head on main.

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              
Flag Coverage Δ
harness ?
web 54.30% <ø> (ø)

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

see 309 files with indirect coverage changes

Copy link

netlify bot commented Oct 15, 2024

Deploy Preview for determined-ui ready!

Name Link
🔨 Latest commit 723e94c
🔍 Latest deploy log https://app.netlify.com/sites/determined-ui/deploys/67251680af14d70008c35091
😎 Deploy Preview https://deploy-preview-10059--determined-ui.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site configuration.

@ashtonG ashtonG requested a review from a team October 15, 2024 19:13
@ashtonG ashtonG requested review from a team, julian-determined-ai and jesse-amano-hpe and removed request for julian-determined-ai October 25, 2024 18:40
@ashtonG ashtonG requested review from JComins000 and removed request for JComins000 October 30, 2024 15:13
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.
@ashtonG ashtonG force-pushed the test/ET-661/test-actions-stop branch from a8058c4 to c453c34 Compare October 30, 2024 20:02
@ashtonG ashtonG requested a review from JComins000 October 30, 2024 20:23
metric: 'x',
name: 'custom',
unit: 'batches',
name: 'random',
Copy link
Contributor Author

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' }),
Copy link
Contributor

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants