-
Notifications
You must be signed in to change notification settings - Fork 268
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
[AAE-18450] fixed form value not updating instantly on radio change #9141
Conversation
...vices-cloud/src/lib/form/components/widgets/radio-buttons/radio-buttons-cloud.widget.spec.ts
Show resolved
Hide resolved
...vices-cloud/src/lib/form/components/widgets/radio-buttons/radio-buttons-cloud.widget.spec.ts
Show resolved
Hide resolved
@@ -149,8 +151,8 @@ describe('RadioButtonsCloudWidgetComponent', () => { | |||
}); | |||
|
|||
fixture.detectChanges(); | |||
const selectedOption = element.querySelector<HTMLElement>('[class*="mat-radio-checked"]'); | |||
expect(selectedOption.innerText).toBe('opt-name-2'); | |||
const selectedOption = await loader.getHarness(MatRadioButtonHarness.with({ checked: true })); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
you can add label directly to the filters
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
fixed
9c0fc23
to
2a280ed
Compare
fixture.detectChanges(); | ||
const selectedOption = element.querySelector<HTMLElement>('[class*="mat-radio-checked"]'); | ||
expect(selectedOption.innerText).toBe('opt-name-1'); | ||
const selectedOption = await loader.getHarness(MatRadioButtonHarness.with({ checked: true })); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
same as below, label can be added to the filter
Kudos, SonarCloud Quality Gate passed! 0 Bugs No Coverage information |
Please check if the PR fulfills these requirements
What kind of change does this PR introduce? (check one with "x")
What is the current behaviour? (You can also link to an open issue here)
https://alfresco.atlassian.net/browse/AAE-18450
What is the new behaviour?
Does this PR introduce a breaking change? (check one with "x")
If this PR contains a breaking change, please describe the impact and migration path for existing applications: ...
Other information: