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

Allow to skip frontend specs from extensions #400

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

tvdeyen
Copy link
Member

@tvdeyen tvdeyen commented Dec 19, 2024

Summary

When we test extensions with the new starter frontend we run this template to generate the dummy app. This template also installs all frontend specs. This leads to unnecessary long build times, flaky sepcs and simply wastes a lot of resources.

Since the extension tests it's own behavior in the dummy app we simply must not duplicate every single spec we also test in this repo.

Checklist

Check out our PR guidelines for more details.

The following are mandatory for all PRs:

The following are not always needed:

  • 📖 I have updated the README to account for my changes.
  • 📑 I have documented new code with YARD.
  • 🛣️ I have opened a PR to update the guides.
  • ✅ I have added automated tests to cover my changes.
  • 📸 I have attached screenshots to demo visual changes.

@tvdeyen tvdeyen requested a review from a team December 19, 2024 09:36
tvdeyen added a commit to tvdeyen/solidus that referenced this pull request Dec 19, 2024
We want to be able to skip frontend specs from extension that
run system specs against the generated dummy app.

See solidusio/solidus_starter_frontend#400
Copy link

codecov bot commented Dec 19, 2024

Codecov Report

Attention: Patch coverage is 66.66667% with 1 line in your changes missing coverage. Please review.

Project coverage is 95.95%. Comparing base (9f6d397) to head (65126b7).

Files with missing lines Patch % Lines
template.rb 66.66% 1 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##             main     #400      +/-   ##
==========================================
- Coverage   95.98%   95.95%   -0.03%     
==========================================
  Files         207      207              
  Lines        4880     4870      -10     
==========================================
- Hits         4684     4673      -11     
- Misses        196      197       +1     

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

When we test extensions with the new starter frontend
we run this template to generate the dummy app. This
template also installs all frontend specs. This leads
to unnecessary long build times, flaky sepcs and simply
wastes a lot of resources.

Since the extension tests it's own behavior in the dummy app
we simply must not duplicate every single spec we also test
in this repo.
@fthobe
Copy link
Contributor

fthobe commented Dec 20, 2024

@jarednorman can we create a clean slate and merge this?

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