data-visualizer-app icon indicating copy to clipboard operation
data-visualizer-app copied to clipboard

chore: optimize Cypress recordings with conditional triggers

Open adeldhis2 opened this issue 1 year ago • 2 comments
trafficstars

This PR optimises our Cypress test recording triggers and updates the documentation to reflect these changes.

Key Updates:

Workflow Trigger Changes:

Updated the trigger types to include labeled events and removed the edited trigger, preventing unnecessary re-runs due to PR description or title edits.

Recording Trigger Logic:

Introduced logic to activate recordings via commit messages ([e2e record]) or GitHub labels (e2e record), providing versatility in how recordings are triggered.

README Update:

Update Readme to guide the use of commit messages and labels for triggering recordings.

Impact: These updates simplify the process of managing Cypress Cloud credits and enable precise control over when recordings are made, reducing resource waste.

adeldhis2 avatar May 02 '24 15:05 adeldhis2

🚀 Deployed on https://pr-3043--dhis2-data-visualizer.netlify.app

dhis2-bot avatar May 02 '24 15:05 dhis2-bot

Passing run #2859 ↗︎

0 741 2 0 Flakiness 0

Details:

Merge 7131b9ae0c49a31513da35a7ae7ecb290c054bd7 into 682b4a081cf526b7b1063f79b3ef...
Project: Data Visualizer App Commit: ea78e5de74 ℹ️
Status: Passed Duration: 08:23 💡
Started: May 29, 2024 8:17 AM Ended: May 29, 2024 8:26 AM

Review all test suite changes for PR #3043 ↗︎

cypress[bot] avatar May 20 '24 13:05 cypress[bot]

:tada: This PR is included in version 100.5.5 :tada:

The release is available on:

Your semantic-release bot :package::rocket:

dhis2-bot avatar Jun 06 '24 13:06 dhis2-bot