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

fix: checkout shipping selection error and test #798

Merged
merged 2 commits into from
Jul 26, 2021

Conversation

MaxKless
Copy link
Collaborator

@MaxKless MaxKless commented Jul 26, 2021



## PR Type



[x] Bugfix
[ ] Feature
[ ] Code style update (formatting, local variables)
[ ] Refactoring (no functional changes, no API changes)
[ ] Build-related changes
[ ] CI-related changes
[ ] Documentation content changes
[ ] Application / infrastructure changes
[ ] Other:

## What Is the Current Behavior?

Currently, the checkout shipping page has a skipped test and an error message is not shown. This is because the nextDisabled variable is changed inside a subscribe block and not automatically updated in the template.

## What Is the New Behavior?

Now, the subscription updates the component to be checked in the next change detection cycle. This fixes the issue and lets the test run again.

## Does this PR Introduce a Breaking Change?



[ ] Yes
[ x] No

## Other Information

AB#65492

@MaxKless MaxKless self-assigned this Jul 26, 2021
@MaxKless MaxKless added this to the 1.0 milestone Jul 26, 2021
@MaxKless MaxKless changed the title fix: mark for check after nextDisabled change fix: checkout shipping selection error and test Jul 26, 2021
@MaxKless MaxKless requested a review from SGrueber July 26, 2021 14:54
@MaxKless MaxKless merged commit 50d9413 into develop Jul 26, 2021
@MaxKless MaxKless deleted the test/remove-skipped-test branch July 26, 2021 15:22
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants