Skip to content

Cleanup test files copied over the host application#350

Merged
kennyadsl merged 4 commits into
mainfrom
kennyadsl/align-with-testing-guide
Jul 7, 2023
Merged

Cleanup test files copied over the host application#350
kennyadsl merged 4 commits into
mainfrom
kennyadsl/align-with-testing-guide

Conversation

@kennyadsl

Copy link
Copy Markdown
Member

Summary

There were multiple inconsistencies and outdated code. Please read commit by commit for more details.

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.

@kennyadsl kennyadsl self-assigned this Jul 6, 2023
@codecov

codecov Bot commented Jul 6, 2023

Copy link
Copy Markdown

Codecov Report

Merging #350 (dc83686) into main (09c253e) will increase coverage by 0.02%.
The diff coverage is 96.77%.

@@            Coverage Diff             @@
##             main     #350      +/-   ##
==========================================
+ Coverage   97.28%   97.31%   +0.02%     
==========================================
  Files         189      187       -2     
  Lines        4526     4501      -25     
==========================================
- Hits         4403     4380      -23     
+ Misses        123      121       -2     
Impacted Files Coverage Δ
template.rb 85.13% <ø> (ø)
.../spec/support/solidus_starter_frontend/capybara.rb 70.58% <ø> (-0.85%) ⬇️
.../support/solidus_starter_frontend/system/assets.rb 100.00% <ø> (ø)
...olidus_starter_frontend/system/checkout_helpers.rb 95.83% <95.83%> (ø)
templates/spec/system/address_spec.rb 100.00% <100.00%> (ø)
...plates/spec/system/authentication/checkout_spec.rb 100.00% <100.00%> (ø)
templates/spec/system/checkout_spec.rb 100.00% <100.00%> (ø)
templates/spec/system/coupon_code_spec.rb 100.00% <100.00%> (ø)
...emplates/spec/system/first_order_promotion_spec.rb 100.00% <100.00%> (ø)
...lates/spec/system/free_shipping_promotions_spec.rb 100.00% <100.00%> (ø)
... and 1 more

... and 1 file with indirect coverage changes

📣 We’re building smart automated test selection to slash your CI/CD build times. Learn more

@elia elia left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

All great ✨

I left a couple of optional comment, the one about clearing the cache deserving particular attention.

Comment thread templates/spec/support/solidus_starter_frontend/capybara.rb
Comment thread templates/spec/support/solidus_starter_frontend/system/checkout_helpers.rb Outdated
Comment thread templates/spec/solidus_starter_frontend_spec_helper.rb

@waiting-for-dev waiting-for-dev left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👏

Comment thread templates/spec/solidus_starter_frontend_spec_helper.rb
kennyadsl added 4 commits July 7, 2023 15:55
It's no more present, we can clean it up.
We don't have feature specs anymore. This change also groups
multiple support helper files into a single one because they
are all related to checkout.
This generic support file for specs is useless because
all of its content is already included in the main
spec_helper provided with the starter frontend
@kennyadsl kennyadsl force-pushed the kennyadsl/align-with-testing-guide branch from f1fc2cf to dc83686 Compare July 7, 2023 14:18
@kennyadsl

Copy link
Copy Markdown
Member Author

@elia @waiting-for-dev everything addressed, waiting for the CI before merging, thanks!

@kennyadsl kennyadsl merged commit 6620766 into main Jul 7, 2023
@kennyadsl kennyadsl deleted the kennyadsl/align-with-testing-guide branch July 7, 2023 16:30
kennyadsl added a commit to solidusio/solidus_stripe that referenced this pull request Jul 10, 2023
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.

3 participants