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

feat(core): Add tests for shipping estimates #769

Merged
merged 2 commits into from
Apr 16, 2024

Conversation

avattipalli
Copy link
Contributor

What/Why?

Add UI tests for calculating shipping estimates on cart items.

Testing

Newly added tests should run on this PR.

@avattipalli avattipalli self-assigned this Apr 15, 2024
@avattipalli avattipalli requested a review from a team as a code owner April 15, 2024 20:22
Copy link

changeset-bot bot commented Apr 15, 2024

🦋 Changeset detected

Latest commit: 57d3aa6

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 3 packages
Name Type
@bigcommerce/components Patch
@bigcommerce/catalyst-core Patch
@bigcommerce/docs Patch

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

Copy link

vercel bot commented Apr 15, 2024

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
catalyst-latest ✅ Ready (Inspect) Visit Preview 💬 Add feedback Apr 16, 2024 4:44pm
catalyst-test-store ✅ Ready (Inspect) Visit Preview 💬 Add feedback Apr 16, 2024 4:44pm
4 Ignored Deployments
Name Status Preview Comments Updated (UTC)
catalyst-1millionproducts-store ⬜️ Ignored (Inspect) Visit Preview Apr 16, 2024 4:44pm
catalyst-au ⬜️ Ignored (Inspect) Visit Preview Apr 16, 2024 4:44pm
catalyst-storybook ⬜️ Ignored (Inspect) Visit Preview Apr 16, 2024 4:44pm
catalyst-uk ⬜️ Ignored (Inspect) Visit Preview Apr 16, 2024 4:44pm

@@ -128,13 +128,17 @@
},
"ShippingInfo": {
"country": "Country",
"countryPlaceholder": "Select county",
Copy link
Contributor Author

Choose a reason for hiding this comment

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

Corrected a typo and added a few aria-label attributes.

@avattipalli avattipalli changed the title feat(core): Add tests for shipping estimatesg feat(core): Add tests for shipping estimates Apr 16, 2024
Copy link
Contributor

@chanceaclark chanceaclark left a comment

Choose a reason for hiding this comment

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

Tests look good, just some accessibility comments about the labels you added.

Copy link
Contributor

⚡️🏠 Lighthouse report

Lighthouse ran against https://catalyst-latest-b5kxam9ak-bigcommerce-platform.vercel.app

🖥️ Desktop

We ran Lighthouse against the changes on a desktop and produced this report. Here's the summary:

Category Score
🟢 Performance 100
🟢 Accessibility 100
🟠 Best practices 78
🟢 SEO 90

📱 Mobile

We ran Lighthouse against the changes on a mobile and produced this report. Here's the summary:

Category Score
🟢 Performance 97
🟢 Accessibility 100
🟠 Best practices 78
🟢 SEO 92

@avattipalli avattipalli added this pull request to the merge queue Apr 16, 2024
Merged via the queue into main with commit 1fa1c38 Apr 16, 2024
15 checks passed
@avattipalli avattipalli deleted the shipping_estimate_tests branch April 16, 2024 16:48
@github-actions github-actions bot mentioned this pull request Apr 16, 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.

2 participants