Skip to content

Conversation

@adeldhis2
Copy link

@adeldhis2 adeldhis2 commented Jun 3, 2024

Key Changes:

Conditional Recording Triggers: Implemented conditional recording triggers via commit messages and GitHub labels to ensure that Cypress tests are only recorded when necessary.
Parallel Execution Strategies: Refined parallel execution strategies to improve efficiency and resolve test redundancies in GitHub Actions.
Debugging Enhancements: Added detailed debugging outputs to help track the dynamic values of the test environment variables and ensure correct parameter passing in the workflow.
Update Documentation: Updated the documentation to reflect the changes and ensure clarity on the new CI/CD processes.

Expected Outcomes:

Reduced Cypress Cloud Credit Usage: By optimising the conditions under which tests are recorded and uploaded to Cypress Cloud, we anticipate a significant reduction in credit usage.
Increased CI Efficiency: With better management of parallel execution and conditional testing, the CI process should be more efficient, leading to quicker test cycles.

Relevant Links:

GitHub Actions Run: View Run
Cypress Cloud Run: View Run

Jira Ticket:

For more details, please refer to the Jira ticket: DHIS2-17373.

@adeldhis2 adeldhis2 force-pushed the cypress-cloud-record branch from b77008d to 0ef277d Compare June 3, 2024 11:51
@dhis2-bot
Copy link
Contributor

dhis2-bot commented Jun 3, 2024

🚀 Deployed on https://pr-1395--dhis2-user.netlify.app

@adeldhis2 adeldhis2 added e2e record Apply this label to a pull request to trigger recording of E2E tests on Cypress Cloud and removed e2e record Apply this label to a pull request to trigger recording of E2E tests on Cypress Cloud labels Jun 4, 2024
with conditional e2e tests recording in Cypress Cloud
and parallel execution in GitHub Actions

chore: lint d2-style apply
@adeldhis2 adeldhis2 force-pushed the cypress-cloud-record branch from 580b385 to 6505d44 Compare June 4, 2024 12:30
@adeldhis2 adeldhis2 marked this pull request as ready for review June 4, 2024 12:30
@kabaros kabaros enabled auto-merge June 4, 2024 14:10
@adeldhis2 adeldhis2 disabled auto-merge June 4, 2024 14:18
@sonarqubecloud
Copy link

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.

4 participants