function checkDesigntimeMetadata(
			assert,
			oAction,
			oControl,
			oMovedElement,
			oElementDesignTimeMetadata,
			oAggregationDesignTimeMetadata
		) {
			if (Array.isArray(oAction.name)) {
				const oAddAction = oElementDesignTimeMetadata.getAction(
					oAction.name[0],
					oControl,
					oAction.name[1]
				);
				assert.ok(oAddAction,
					`the ${oAction[0]} via ${oAction.name[1]} action is available in the designtime`
				);
			} else if (oAction.name === "createContainer" || oAction.name === "addIFrame") {
				assert.ok(oAggregationDesignTimeMetadata.getAction(oAction.name, oControl),
					`the ${oAction.name} action is available in the calculated designtime metadata during execution`);
			} else if (oAction.name === "move") {
				assert.ok(oElementDesignTimeMetadata.getAction(oAction.name, oMovedElement),
					`the ${oAction.name} action is available in the calculated designtime metadata during execution`);
			} else {
				assert.ok(oElementDesignTimeMetadata.getAction(oAction.name, oControl),
					`the ${oAction.name} action is available in the calculated designtime metadata during execution`);
			}
		}
Checks if the provided action can be found in the calculated designtime metadata. According to the
action.name sometimes the elementdesigntime metadata or the aggregationdesigntime metadata is required
for the check.

@param {object} assert - QUnit Assert
@param {object} oAction - Test action parameters
@param {sap.ui.core.Control} oControl - Targeting control
@param {sap.ui.core.Control} oMovedElement - Moved element, only available with action.name move
@param {object} oElementDesignTimeMetadata - Element designtime metadata
@param {object} oAggregationDesignTimeMetadata - Aggregation designtime metadata