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 e2e tests to the "move project" functionality on the "List View" #10037

Merged
merged 5 commits into from
Oct 10, 2024

Conversation

thiagodallacqua-hpe
Copy link
Contributor

Ticket

ET-757

Description

Adds e2e tests for the "move project" functionality on the "List View" for the WorkspaceProjects.

Test Plan

  • run the e2e tests on the projects.spec file
    • all tests should pass

Screenshot 2024-10-09 at 17 59 57

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

@cla-bot cla-bot bot added the cla-signed label Oct 10, 2024
Copy link

netlify bot commented Oct 10, 2024

Deploy Preview for determined-ui canceled.

Name Link
🔨 Latest commit 12e77b0
🔍 Latest deploy log https://app.netlify.com/sites/determined-ui/deploys/67082c1025062e00088a45c3

Copy link

codecov bot commented Oct 10, 2024

Codecov Report

Attention: Patch coverage is 0% with 7 lines in your changes missing coverage. Please review.

Project coverage is 50.59%. Comparing base (0613cc6) to head (12e77b0).
Report is 1 commits behind head on main.

Files with missing lines Patch % Lines
...t/src/pages/WorkspaceDetails/WorkspaceProjects.tsx 0.00% 7 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##             main   #10037      +/-   ##
==========================================
- Coverage   54.62%   50.59%   -4.03%     
==========================================
  Files        1260      950     -310     
  Lines      157558   128921   -28637     
  Branches     3631     3632       +1     
==========================================
- Hits        86066    65230   -20836     
+ Misses      71358    63557    -7801     
  Partials      134      134              
Flag Coverage Δ
harness ?
web 54.37% <0.00%> (-0.01%) ⬇️

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

Files with missing lines Coverage Δ
...t/src/pages/WorkspaceDetails/WorkspaceProjects.tsx 0.00% <0.00%> (ø)

... and 310 files with indirect coverage changes

webui/react/src/e2e/tests/projects.spec.ts Outdated Show resolved Hide resolved
webui/react/src/e2e/tests/projects.spec.ts Outdated Show resolved Hide resolved
webui/react/src/e2e/tests/projects.spec.ts Outdated Show resolved Hide resolved
webui/react/src/e2e/tests/projects.spec.ts Outdated Show resolved Hide resolved
@@ -42,4 +42,6 @@ export class InteractiveTable<

readonly table: Table<RowType, HeadRowType>;
readonly skeleton = new SkeletonTable({ parent: this });

// TODO: add getRowByColumnValue (maybe base on the DataGrid model)
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

you can file this on me in the TESTENG project for basetable

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

webui/react/src/e2e/tests/projects.spec.ts Outdated Show resolved Hide resolved
webui/react/src/e2e/tests/projects.spec.ts Outdated Show resolved Hide resolved
webui/react/src/e2e/tests/projects.spec.ts Outdated Show resolved Hide resolved
Copy link
Contributor

@johnkim-det johnkim-det left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

thanks for changes, looks good but just have a few more comments

webui/react/src/e2e/tests/projects.spec.ts Outdated Show resolved Hide resolved
webui/react/src/e2e/tests/projects.spec.ts Outdated Show resolved Hide resolved
webui/react/src/e2e/tests/projects.spec.ts Outdated Show resolved Hide resolved
webui/react/src/e2e/tests/projects.spec.ts Outdated Show resolved Hide resolved
webui/react/src/e2e/tests/projects.spec.ts Outdated Show resolved Hide resolved
@thiagodallacqua-hpe thiagodallacqua-hpe enabled auto-merge (squash) October 10, 2024 19:56
@thiagodallacqua-hpe thiagodallacqua-hpe merged commit 3c1630f into main Oct 10, 2024
82 of 94 checks passed
@thiagodallacqua-hpe thiagodallacqua-hpe deleted the thiago/ET-757-1 branch October 10, 2024 20:08
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