Skip to content

Support shared Cypress test suites #2422

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

Open
Airiinnn opened this issue Apr 17, 2025 · 0 comments
Open

Support shared Cypress test suites #2422

Airiinnn opened this issue Apr 17, 2025 · 0 comments

Comments

@Airiinnn
Copy link
Contributor

What feature(s) would you like to see in RepoSense

With the recent addition of the portfolio mode of the report, we now have 2 different modes of the report. The previously existing Cypress tests only run on the default mode. There is an entirely different set of Cypress tests for the portfolio mode.

This is not ideal as we expect some of the existing functionalities to work the same way on both modes, but is currently not being tested for the portfolio mode.

Is the feature request related to a problem?

If possible, describe the solution

I propose refactoring the Cypress tests into:

  • cypress/tests/common: Majority of the older tests should for under here and ran on both report modes.
  • cypress/tests/default: For default exclusive behavior.
  • cypress/tests/portfolio: For portfolio exclusive behavior.

This would make tests easier to maintain while ensuring better test coverage of the portfolio mode.

If applicable, describe alternatives you've considered

Additional context

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Status: No status
Development

No branches or pull requests

1 participant