Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions .changeset/calm-coupons-ship.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@godaddy/react": patch
---

Keep shipping rates, discounts, taxes, and express checkout in sync when coupons change.
Original file line number Diff line number Diff line change
Expand Up @@ -342,7 +342,7 @@ describe('Digital fulfillment checkout', () => {
).toBeVisible();
});

it('hides express for mixed digital and pickup orders', async () => {
it('shows express for mixed digital and pickup orders when shipping is enabled', async () => {
renderCheckout({
draftOrderOverrides: {
lineItems: [
Expand All @@ -362,8 +362,8 @@ describe('Digital fulfillment checkout', () => {
await waitForCheckoutReady();

expect(
screen.queryByTestId('mock-godaddy-express-button')
).not.toBeInTheDocument();
await screen.findByTestId('mock-godaddy-express-button')
).toBeVisible();
});

it('does not let digital NONE lines trigger shipping fulfillment sync', async () => {
Expand Down
Loading