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

Upgrade Cypress Workflow: Streamlined Setup, Parallel Execution, and Artifact Management #140

Open
wants to merge 5 commits into
base: master
Choose a base branch
from

Conversation

lokeshwar777
Copy link
Collaborator

@lokeshwar777 lokeshwar777 commented Jun 7, 2024

This PR addresses issue #139 Upgrade Cypress Workflow for Improved Testing Efficiency.

Description

This pull request implements several enhancements to our Cypress workflow to improve testing efficiency and reliability. Key changes include:

  • Replaced test.yml with cypress.yml to align with Cypress-recommended practices.
  • Updated Cypress dependency to version 13.0.0.
  • Added Cypress test recording configuration.

Related Issue

closes #139

Motivation and Context

These changes are necessary to streamline our Cypress setup process, optimize test execution time through parallelization, and improve artifact management for easier access to test results and screenshots. These enhancements have resulted in a significant performance boost, reducing the test execution time from approximately 20 minutes to less than 3 minutes. This will greatly improve our development workflow and productivity.

Note: The changes have been made according to the Cypress documentation. However, please be aware that the tests are currently not working as expected due to the absence of package-lock.json.

How Has This Been Tested?

The changes have been tested in the following ways:

  • Local Testing: Ran the Cypress tests locally to ensure compatibility with the updated Cypress version and configuration changes.
  • Forked Repository Testing: Tested the changes in a different branch of my forked repository to validate their functionality in an environment similar to the upstream repo.

Types of changes

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to change)

Checklist:

  • My code follows the code style of this project.
  • My change requires a change to the documentation.
  • I have updated the documentation accordingly.
  • I have added tests to cover my changes.
  • All new and existing tests passed.

@lokeshwar777 lokeshwar777 changed the title Upgrade/cypress workflow Upgrade Cypress Workflow: Streamlined Setup, Parallel Execution, and Artifact Management Jun 7, 2024
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.

Upgrade Cypress Workflow for Improved Testing Efficiency
2 participants