GH Auto: Upstream dependencies ADF:7.0.0-alpha.2-11070706321 JS-API:8.0.0-alpha.2-11070706321 using Tag:7.0.0-alpha.2-11070706321 (#4144)

* [ci:force][auto-commit] Update dependencies ADF:7.0.0-alpha.2-11070706321  JS:8.0.0-alpha.2-11070706321

* fix test

---------

Co-authored-by: nikita-web-ua <nikita-web-ua@users.noreply.github.com>
Co-authored-by: Mykyta Maliarchuk <mykyta.maliarchuk@hyland.com>
This commit is contained in:
Alfresco Build
2024-09-27 19:46:24 +05:30
committed by GitHub
parent 8b0cd8a958
commit 2c347eaa7f
3 changed files with 38 additions and 38 deletions

View File

@@ -72,7 +72,7 @@ describe('RuleActionUiComponent', () => {
loader = TestbedHarnessEnvironment.loader(fixture);
});
it('should clear empty parameters', async () => {
it('should not accept empty parameters', async () => {
component.actionDefinitions = actionsTransformedListMock;
component.parameterConstraints = dummyConstraints;
fixture.detectChanges();
@@ -87,7 +87,7 @@ describe('RuleActionUiComponent', () => {
setInputValue('');
await fixture.whenStable();
expect(component.parameters).toEqual({ 'mock-action-parameter-boolean': false });
expect(component.parameters).toEqual({ 'mock-action-parameter-boolean': false, 'mock-action-parameter-text': 'test' });
});
it('should populate the dropdown selector with the action definitions', async () => {