Skip to content

Conversation

ZePan110
Copy link
Collaborator

@ZePan110 ZePan110 commented Sep 23, 2025

Description

Refine UI test scripts

Issues

List the issue or RFC link this PR is working on. If there is no such link, please mark it as n/a.

Type of change

List the type of change like below. Please delete options that are not relevant.

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds new functionality)
  • Breaking change (fix or feature that would break existing design and interface)
  • Others (enhancement, documentation, validation, etc.)

Dependencies

List the newly introduced 3rd party dependency if exists.

Tests

Describe the tests that you ran to verify your changes.

Signed-off-by: ZePan110 <[email protected]>
Signed-off-by: ZePan110 <[email protected]>
Signed-off-by: ZePan110 <[email protected]>
Copy link

github-actions bot commented Sep 23, 2025

Dependency Review

✅ No vulnerabilities or license issues found.

Scanned Files

None

Copy link
Contributor

@Copilot Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull Request Overview

This PR refines UI test scripts across multiple components by consolidating frontend testing logic and removing duplicate validation functions. The main purpose is to reduce code duplication by removing redundant validate_frontend functions from compose test scripts while preserving them in dedicated UI test scripts.

  • Adds new dedicated UI test scripts for multiple components (VisualQnA, VideoQnA, Translation, SearchQnA, ProductivitySuite, HybridRAG, GraphRAG, DBQnA, CodeTrans, CodeGen)
  • Removes duplicate validate_frontend functions from existing compose test scripts
  • Makes minor configuration adjustments to Docker compose files and ESLint configuration

Reviewed Changes

Copilot reviewed 52 out of 53 changed files in this pull request and generated 3 comments.

File Description
Multiple **/tests/test_ui_on_*.sh New dedicated UI test scripts for various components
Multiple **/tests/test_compose_*.sh Removed duplicate validate_frontend functions and associated calls
ChatQnA/docker_compose/intel/hpu/gaudi/*.yaml Updated Docker image references to use opea registry
ChatQnA/ui/svelte/.eslintrc.cjs Added comment line to ESLint configuration

Tip: Customize your code reviews with copilot-instructions.md. Create the file or learn how to get started.

Signed-off-by: ZePan110 <[email protected]>
@ZePan110
Copy link
Collaborator Author

SearchQnA ui test failure will fix by another PR.

@ZePan110
Copy link
Collaborator Author

SearchQnA known issue: #2292

@ZePan110 ZePan110 merged commit 86c7ac7 into main Sep 29, 2025
440 of 449 checks passed
@ZePan110 ZePan110 deleted the ze-opt/ui2 branch September 29, 2025 05:08
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants