-
Notifications
You must be signed in to change notification settings - Fork 917
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
[RFC] Moving future tests out of Functional Test Repo #5392
Comments
…e functional test repo for cypress tests Issue details - opensearch-project/OpenSearch-Dashboards#5392 Signed-off-by: manasvinibs <[email protected]>
…e functional test repo for cypress tests Issue details - opensearch-project/OpenSearch-Dashboards#5392 Signed-off-by: manasvinibs <[email protected]>
…e functional test repo for cypress tests Issue details - opensearch-project/OpenSearch-Dashboards#5392 Signed-off-by: manasvinibs <[email protected]>
…e functional test repo for cypress tests (#971) Issue details - opensearch-project/OpenSearch-Dashboards#5392 Signed-off-by: manasvinibs <[email protected]>
…e functional test repo for cypress tests (#971) Issue details - opensearch-project/OpenSearch-Dashboards#5392 Signed-off-by: manasvinibs <[email protected]> (cherry picked from commit 76270ea)
For |
As we have security plugin, how will all the test cases be triggered under security mode and unsecurity mode? |
|
@manasvinibs How will this change impact the current Jenkins integration test workflows? |
This change is incorporated by integrating it within |
…e functional test repo for cypress tests (#971) (#986) Issue details - opensearch-project/OpenSearch-Dashboards#5392 Signed-off-by: manasvinibs <[email protected]> (cherry picked from commit 76270ea) Co-authored-by: Manasvini B Suryanarayana <[email protected]>
I will be doing POC on moving future tests out of FT repo. I will be eager for feedback now and on the first PR for this.
Problem:
Today we have Functional test repo which hosts integration tests for OpenSearch Dashboards along with tests for plugin components.
The existing system we employ involves a separation between the tests and test infrastructure (located in a functional test repo) and the primary repository containing our application code (OpenSearch Dashboards). This separation was initially implemented to centralize the test architecture in a single location, thereby allowing Dashboards, other plugin repositories, and hosted services to leverage a complete test library for their testing needs. However, this setup introduces an unintended challenge known as the "chicken and egg" problem. This problem arises because tests and code changes cannot occur simultaneously. Instead, one must precede the other, which can disrupt the continuous integration (CI) testing process of the other component.
GOAL:
* Note: Infra/Build team will continue to rely on Functional Test repo as-is. They can opt into running it better if they want. But ideally it can be ran without any changes on their side, and solves the problems we see today.
[Proposal] Test orchestration and execution across multiple repositories
To address the "chicken and egg" problem and the associated issues of overwriting global Cypress functions, we can use test-library, available for component repos and functional test repo to write in-house tests. Here's a proposed design:
Pros:
Cons:
Changes to existing Functional Test Repo:
Reference doc: #3728
To ensure that the existing Functional Test Repo can run continuous integration (CI) checks as part of the release workflow on all the plugin components' tests in one place, we can establish a CI/CD workflow that coordinates the execution of tests across all repositories.
https://github.com/opensearch-project/opensearch-dashboards-test-library
Please add your suggestion in the comments below.
The text was updated successfully, but these errors were encountered: