-
Notifications
You must be signed in to change notification settings - Fork 3.1k
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
Tried to make cypress test stable: features/annotation_actions.js #8208
Conversation
Important Review skippedAuto incremental reviews are disabled on this repository. Please check the settings in the CodeRabbit UI or the You can disable this status message by setting the WalkthroughThis update refines the export annotations functionality within the Cypress test suite by removing the Changes
Poem
Thank you for using CodeRabbit. We offer it for free to the OSS community and would appreciate your support in helping us grow. If you find it useful, would you consider giving us a shout-out on your favorite social media? TipsChatThere are 3 ways to chat with CodeRabbit:
Note: Be mindful of the bot's finite context window. It's strongly recommended to break down tasks such as reading entire modules into smaller chunks. For a focused discussion, use review comments to chat about specific files and their changes, instead of using the PR comments. CodeRabbit Commands (invoked as PR comments)
Additionally, you can add CodeRabbit Configuration File (
|
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.
Actionable comments posted: 0
Review details
Configuration used: CodeRabbit UI
Review profile: CHILL
Files selected for processing (2)
- tests/cypress/e2e/features/annotations_actions.js (1 hunks)
- tests/cypress/support/commands.js (1 hunks)
Additional comments not posted (1)
tests/cypress/support/commands.js (1)
1265-1270
: LGTM! But verify the function usage in the codebase.The code changes are approved.
However, ensure that all function calls to
exportJob
are updated to match the new implementation.Verification successful
The function usage of
exportJob
has been verified and matches the new implementation.All occurrences of
cy.exportJob
in the codebase align with the updated structure, ensuring the robustness of the interaction with dropdown elements.
tests/cypress/e2e/issues_prs2/issue_5274_upload_annotations_different_file_formats.js
tests/cypress/e2e/issues_prs2/issue_1568_cuboid_dump_annotation.js
tests/cypress/e2e/features/annotations_actions.js
tests/cypress/e2e/canvas3d_functionality/case_92_canvas3d_functionality_dump_upload_annotation_velodyne_points_format.js
tests/cypress/e2e/actions_tasks3/case_47_export_dataset.js
tests/cypress/e2e/canvas3d_functionality/case_93_canvas3d_functionality_export_dataset.js
tests/cypress/e2e/actions_tasks3/case_114_use_default_task_storage_for_import_export_annotations.js
tests/cypress/e2e/canvas3d_functionality/case_91_canvas3d_functionality_dump_upload_annotation_point_cloud_format.js
tests/cypress/e2e/actions_tasks3/case_115_use_custom_storage_for_import_export_annotations.js
tests/cypress/e2e/actions_tasks3/case_113_use_default_project_storage_for_import_export_annotations.js
tests/cypress/e2e/actions_tasks/case_52_dump_upload_annotation.js
Scripts executed
The following scripts were executed for the analysis:
Script:
#!/bin/bash # Description: Verify all function calls to `exportJob` match the new implementation. # Test: Search for the function usage. Expect: Only occurrences of the new implementation. rg --type js 'exportJob'Length of output: 2513
Script:
#!/bin/bash # Description: Verify the context around each `cy.exportJob` usage to ensure they match the new implementation. # Extract context lines around each occurrence of `cy.exportJob` rg --type js 'cy.exportJob' -A 3 -B 3Length of output: 16217
Quality Gate passedIssues Measures |
/check |
❌ Some checks failed |
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## develop #8208 +/- ##
========================================
Coverage 83.37% 83.37%
========================================
Files 388 388
Lines 41315 41315
Branches 3855 3855
========================================
+ Hits 34445 34446 +1
+ Misses 6870 6869 -1
|
Okay, this test did not fail after 3 tries |
Motivation and context
How has this been tested?
Checklist
develop
branch(cvat-canvas,
cvat-core,
cvat-data and
cvat-ui)
License
Feel free to contact the maintainers if that's a concern.
Summary by CodeRabbit
Bug Fixes
Chores