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

Adding unit tests for new_workflow, workflow_list, import_workflow_modal components #317

Merged
merged 1 commit into from
Aug 29, 2024

Conversation

saimedhi
Copy link
Collaborator

Description

Adding unit tests for new_workflow, workflow_list, import_workflow_modal components

Issues Resolved

Related to #96 , #97

Check List

  • New functionality includes testing.
    • All tests pass
  • New functionality has been documented.
  • Commits are signed per the DCO using --signoff

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.
For more information on following Developer Certificate of Origin and signing off your commits, please check here.

Sorry, something went wrong.

@saimedhi
Copy link
Collaborator Author

I'll be adding additional tests to the above components in my upcoming PRs to ensure better coverage

@saimedhi saimedhi marked this pull request as draft August 27, 2024 20:10

Verified

This commit was signed with the committer’s verified signature.
saimedhi Sai Medhini Reddy Maryada
Signed-off-by: saimedhi <saimedhi@amazon.com>
@saimedhi saimedhi force-pushed the test_workflow_list branch from 3bcc86d to 06ee915 Compare August 27, 2024 20:46
@saimedhi saimedhi marked this pull request as ready for review August 28, 2024 19:37
Copy link
Member

@ohltyler ohltyler 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 setting up. For more examples of detailed coverage, you can look at the AD detector list page tests. In general, we should test some basic functionality of the pages. For example, on the list page, test different states (empty / no workflow state, populated state, populated and filtered state, etc.), and that the components within the page are rendering as expected.

@saimedhi saimedhi merged commit 7cf2ac2 into opensearch-project:main Aug 29, 2024
5 of 6 checks passed
opensearch-trigger-bot bot pushed a commit that referenced this pull request Aug 29, 2024
Signed-off-by: saimedhi <saimedhi@amazon.com>
(cherry picked from commit 7cf2ac2)
ohltyler pushed a commit that referenced this pull request Aug 29, 2024

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
Signed-off-by: saimedhi <saimedhi@amazon.com>
(cherry picked from commit 7cf2ac2)

Co-authored-by: Sai Medhini Reddy Maryada <117196660+saimedhi@users.noreply.github.com>
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.

None yet

3 participants