pwa-studio icon indicating copy to clipboard operation
pwa-studio copied to clipboard

PWA-3172: [bug]: Regions select stuck in loading state in checkout when US is disabled

Open Tarun50745 opened this issue 1 year ago • 1 comments

Description

When United States is not selected in the backend General > Country Options > Allow Countries configuration, the checkout fails to load the "States" field in the checkout. This is because it passes US to the GetRegions by default but this returns a graphql error when US is not active. When there is only one country available this causes the checkout to fully break as there's no way to trigger the load of the states.

Related Issue

Closes https://jira.corp.adobe.com/browse/PWA-3172.

Acceptance

Verification Stakeholders

Specification

Verification Steps

Test scenario(s) for direct fix/feature

Test scenario(s) for any existing impacted features/areas

Test scenario(s) for any Magento Backend Supported Configurations

Is Browser/Device testing needed?

Any ad-hoc/edge case scenarios that need to be considered?

Screenshots / Screen Captures (if appropriate)

Breaking Changes (if any)

Checklist

  • I have added tests to cover my changes, if necessary.
  • I have added translations for new strings, if necessary.
  • I have updated the documentation accordingly, if necessary.

Tarun50745 avatar Aug 17 '23 05:08 Tarun50745

Fails
:no_entry_sign: A version label is required. A maintainer must add one.
Messages
:book:

Associated JIRA tickets: PWA-3172.

:book: DangerCI Failures related to missing labels/description/linked issues/etc will persist until the next push or next pr-test build run (assuming they are fixed).
:book:

Access a deployed version of this PR here. Make sure to wait for the "pwa-pull-request-deploy" job to complete.

Generated by :no_entry_sign: dangerJS against 7c6b46e7b4539c688784b66557d36a717e6d4492

pwa-studio-bot avatar Aug 17 '23 06:08 pwa-studio-bot