mirror of
https://github.com/Alfresco/alfresco-content-app.git
synced 2026-09-09 18:02:54 +00:00
GH Auto: Upstream dependencies ADF:9.2.0-29815065241 JS-API:10.2.0-29815065241 using Tag:9.2.0-29815065241 (#5302)
* [ci:force][auto-commit] Update dependencies ADF:9.2.0-29815065241 JS:10.2.0-29815065241 * [ACS-11406] Align unit tests with refactored UnitTestingUtils (#5288) * [ACS-11406] Align unit tests with refactored UnitTestingUtils [ci:force] * [link-adf:dev-mmaliarchuk/ACS-11406-refactor-UnitTestingUtils][ci:force] * empty commit --------- Co-authored-by: alfresco-engineering-contributor[bot] <293808901+alfresco-engineering-contributor[bot]@users.noreply.github.com> Co-authored-by: Mykyta Maliarchuk <84377976+nikita-web-ua@users.noreply.github.com> Co-authored-by: Mykyta Maliarchuk <mykyta.maliarchuk@hyland.com>
This commit is contained in:
co-authored by
Mykyta Maliarchuk
Mykyta Maliarchuk
parent
f089e84da5
commit
dd2d1f8711
+2
-2
@@ -103,12 +103,12 @@ describe('RuleActionUiComponent', () => {
|
||||
|
||||
await changeMatSelectValue('Action 1 title');
|
||||
|
||||
await unitTestingUtils.fillMatInput('test');
|
||||
await unitTestingUtils.input.fill('test');
|
||||
await fixture.whenStable();
|
||||
|
||||
expect(component.parameters).toEqual({ 'mock-action-parameter-boolean': false, 'mock-action-parameter-text': 'test' });
|
||||
|
||||
await unitTestingUtils.fillMatInput('');
|
||||
await unitTestingUtils.input.fill('');
|
||||
await fixture.whenStable();
|
||||
|
||||
expect(component.parameters).toEqual({ 'mock-action-parameter-boolean': false });
|
||||
|
||||
+1
-1
@@ -43,7 +43,7 @@ describe('RuleTriggerUiComponent', () => {
|
||||
const getCheckboxOutbound = (): DebugElement => unitTestingUtils.getByDataAutomationId('rule-trigger-checkbox-outbound');
|
||||
|
||||
const toggleMatCheckbox = async (dataAutomationId: string) => {
|
||||
const checkbox = await unitTestingUtils.getMatCheckboxByDataAutomationId(dataAutomationId);
|
||||
const checkbox = await unitTestingUtils.checkbox.getByDataAutomationId(dataAutomationId);
|
||||
await checkbox.toggle();
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user