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

[Manual][Backport 2.x] [Tests] Add Github workflow for Test Orchestrator in FT Repo to run cypress tests within Dashboards repo #6095

Merged

Conversation

manasvinibs
Copy link
Member

Backport #5725

ToDo:
Add fallback mechanism for using snapshot URL when release bundle url is not accessible. Enable this workflow for each PR/push event.

#5720

Signed-off-by: Manasvini B Suryanarayana [email protected]
(cherry picked from commit 55443f7)

Description

Issues Resolved

Screenshot

Testing the changes

Check List

  • All tests pass
    • yarn test:jest
    • yarn test:jest_integration
  • New functionality includes testing.
  • New functionality has been documented.
  • Update CHANGELOG.md
  • Commits are signed per the DCO using --signoff

…ypress tests within Dashboards repo (opensearch-project#5725)

 * Adds Github workflow which gets triggered on dispatch event sent from FT Repo Orchestrator. Currently this workflow defaults to using release bundle artifact for Opensearch and Dashboards.
 * In this iteration, pulling out few of the dashboards sanity test from FT repo into the Dashboards repo -  https://github.com/opensearch-project/opensearch-dashboards-functional-test/blob/main/cypress/integration/common/dashboard_sample_data_spec.js
 * Introduces Cypress dependency into the package json to run cypress tests within repo. Currently, I'm pulling the version which matches the one in FT repo.
 * Adds cypress config file.

ToDo:
Add fallback mechanism for using snapshot URL when release bundle url is not accessible.
Enable this workflow for each PR/push event.

opensearch-project#5720

Signed-off-by: Manasvini B Suryanarayana <[email protected]>
(cherry picked from commit 55443f7)
@manasvinibs manasvinibs changed the title [Manual]{Backport 2.x] [Tests] Add Github workflow for Test Orchestrator in FT Repo to run cypress tests within Dashboards repo [Manual][Backport 2.x] [Tests] Add Github workflow for Test Orchestrator in FT Repo to run cypress tests within Dashboards repo Mar 8, 2024
Copy link

codecov bot commented Mar 8, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 67.12%. Comparing base (8ccc90e) to head (668d5fb).

Additional details and impacted files
@@            Coverage Diff             @@
##              2.x    #6095      +/-   ##
==========================================
- Coverage   67.12%   67.12%   -0.01%     
==========================================
  Files        3314     3314              
  Lines       63875    63875              
  Branches    10186    10186              
==========================================
- Hits        42877    42875       -2     
- Misses      18525    18526       +1     
- Partials     2473     2474       +1     
Flag Coverage Δ
Linux_1 35.21% <ø> (ø)
Linux_2 55.12% <ø> (ø)
Linux_3 44.67% <ø> (-0.01%) ⬇️
Linux_4 35.32% <ø> (ø)
Windows_1 35.23% <ø> (ø)
Windows_2 55.09% <ø> (ø)
Windows_3 44.67% <ø> (ø)
Windows_4 35.32% <ø> (ø)

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@kavilla kavilla merged commit 385fce4 into opensearch-project:2.x Mar 12, 2024
82 of 83 checks passed
manasvinibs added a commit to manasvinibs/OpenSearch-Dashboards that referenced this pull request Mar 15, 2024
manasvinibs added a commit to manasvinibs/OpenSearch-Dashboards that referenced this pull request Mar 15, 2024
…to run cypress tests within Dashboards repo (opensearch-project#5725) (opensearch-project#6095)"

This reverts commit 385fce4.

Signed-off-by: Manasvini B Suryanarayana <[email protected]>
manasvinibs added a commit that referenced this pull request Mar 15, 2024
…to run cypress tests within Dashboards repo and Rename cypress config file to its version supported convention (#6166)

* Revert "Rename cypress config file to its version supported convention (#6137) (#6141)"

This reverts commit ed2e38d.

* Revert "[Tests] Add Github workflow for Test Orchestrator in FT Repo to run cypress tests within Dashboards repo (#5725) (#6095)"

This reverts commit 385fce4.

Signed-off-by: Manasvini B Suryanarayana <[email protected]>

---------

Signed-off-by: Manasvini B Suryanarayana <[email protected]>
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