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

Update Flow Framework tests #1678

Merged
merged 1 commit into from
Jan 25, 2025
Merged

Conversation

ohltyler
Copy link
Member

@ohltyler ohltyler commented Jan 23, 2025

Description

Updates the Flow Framework tests to work properly with the latest UX overhauls.

Check List

  • 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.

Signed-off-by: Tyler Ohlsen <ohltyler@amazon.com>
@ohltyler
Copy link
Member Author

Result of running from local (with opensearch-project/dashboards-flow-framework#580 changes):

  Creating Workflows Using Various Methods
    ✓ Import workflow with valid configuration (44499ms)
    ✓ Attempt to import workflow with invalid configuration (24303ms)
    ✓ Create workflow using semantic search template (44944ms)
    ✓ Create workflow from hybrid search template (24392ms)
    ✓ Create workflow from multimodal template (24525ms)
    ✓ Create workflow from custom template (25237ms)


  6 passing (3m)


  (Results)

  ┌────────────────────────────────────────────────────────────────────────────────────────────────┐
  │ Tests:        6                                                                                │
  │ Passing:      6                                                                                │
  │ Failing:      0                                                                                │
  │ Pending:      0                                                                                │
  │ Skipped:      0                                                                                │
  │ Screenshots:  0                                                                                │
  │ Video:        true                                                                             │
  │ Duration:     3 minutes, 8 seconds                                                             │
  │ Spec Ran:     plugins/dashboards-flow-framework/create_workflow_spec.js                        │
  └────────────────────────────────────────────────────────────────────────────────────────────────┘


  (Video)

  -  Started processing:  Compressing to 32 CRF                                                     
  -  Finished processing: /Users/ohltyler/workspace/opensearch/3.0/opensearch-dashboa   (10 seconds)
                          rds-functional-test/cypress/videos/plugins/dashboards-flow-               
                          framework/create_workflow_spec.js.mp4                                     

    Compression progress:  100%

====================================================================================================

  (Run Finished)


       Spec                                              Tests  Passing  Failing  Pending  Skipped  
  ┌────────────────────────────────────────────────────────────────────────────────────────────────┐
  │ ✔  plugins/dashboards-flow-framework/c      03:08        6        6        -        -        - │
  │    reate_workflow_spec.js                                                                      │
  └────────────────────────────────────────────────────────────────────────────────────────────────┘
    ✔  All specs passed!                        03:08        6        6        -        -        -  

@ohltyler
Copy link
Member Author

Tests may fail due to 3.0 bundle not including all of the dependencies; known issue, same as #1664.

@SuZhou-Joe SuZhou-Joe merged commit 8308657 into opensearch-project:main Jan 25, 2025
42 of 43 checks passed
opensearch-trigger-bot bot pushed a commit that referenced this pull request Jan 25, 2025
Signed-off-by: Tyler Ohlsen <ohltyler@amazon.com>
(cherry picked from commit 8308657)
ohltyler added a commit that referenced this pull request Jan 27, 2025
Signed-off-by: Tyler Ohlsen <ohltyler@amazon.com>
(cherry picked from commit 8308657)

Co-authored-by: Tyler Ohlsen <ohltyler@amazon.com>
@ohltyler ohltyler deleted the fix-flow-it branch January 27, 2025 16:22
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