-
Notifications
You must be signed in to change notification settings - Fork 318
Refine UI test scripts. #2282
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
Refine UI test scripts. #2282
Conversation
Signed-off-by: ZePan110 <[email protected]>
Signed-off-by: ZePan110 <[email protected]>
Signed-off-by: ZePan110 <[email protected]>
Signed-off-by: ZePan110 <[email protected]>
Signed-off-by: ZePan110 <[email protected]>
Signed-off-by: ZePan110 <[email protected]>
Signed-off-by: ZePan110 <[email protected]>
Dependency Review✅ No vulnerabilities or license issues found.Scanned FilesNone |
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.
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.
12c8c99
to
e1d8193
Compare
Signed-off-by: ZePan110 <[email protected]>
SearchQnA ui test failure will fix by another PR. |
SearchQnA known issue: #2292 |
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.
Dependencies
List the newly introduced 3rd party dependency if exists.
Tests
Describe the tests that you ran to verify your changes.