@openui5/sap.ui.mdc 1.103.1 → 1.104.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.reuse/dep5 +17 -0
- package/LICENSES/LicenseRef-tzdata-PublicDomain.txt +5 -0
- package/THIRDPARTY.txt +35 -2
- package/package.json +4 -4
- package/src/sap/ui/mdc/.library +1 -1
- package/src/sap/ui/mdc/ActionToolbar.js +1 -1
- package/src/sap/ui/mdc/AggregationBaseDelegate.js +1 -1
- package/src/sap/ui/mdc/Chart.js +31 -3
- package/src/sap/ui/mdc/Control.js +1 -1
- package/src/sap/ui/mdc/Element.js +1 -1
- package/src/sap/ui/mdc/Field.js +2 -2
- package/src/sap/ui/mdc/FilterBar.js +1 -1
- package/src/sap/ui/mdc/FilterField.js +2 -2
- package/src/sap/ui/mdc/Link.js +74 -12
- package/src/sap/ui/mdc/LinkDelegate.js +81 -76
- package/src/sap/ui/mdc/MultiValueField.js +1 -1
- package/src/sap/ui/mdc/Table.js +7 -1
- package/src/sap/ui/mdc/TableDelegate.js +25 -9
- package/src/sap/ui/mdc/ValueHelp.js +1 -1
- package/src/sap/ui/mdc/actiontoolbar/ActionToolbarAction.js +1 -1
- package/src/sap/ui/mdc/actiontoolbar/ActionToolbarActionRenderer.js +1 -2
- package/src/sap/ui/mdc/chart/ChartSelectionDetails.js +1 -1
- package/src/sap/ui/mdc/chart/ChartToolbar.js +10 -4
- package/src/sap/ui/mdc/chart/PropertyHelper.js +1 -1
- package/src/sap/ui/mdc/condition/Condition.js +1 -1
- package/src/sap/ui/mdc/condition/ConditionConverter.js +1 -1
- package/src/sap/ui/mdc/condition/ConditionModel.js +1 -1
- package/src/sap/ui/mdc/condition/FilterConverter.js +1 -1
- package/src/sap/ui/mdc/condition/FilterOperatorUtil.js +1 -1
- package/src/sap/ui/mdc/condition/Operator.js +1 -1
- package/src/sap/ui/mdc/condition/OperatorDynamicDateOption.js +1 -1
- package/src/sap/ui/mdc/condition/RangeOperator.js +1 -1
- package/src/sap/ui/mdc/designtime/actiontoolbar/ActionToolbar.designtime.js +13 -2
- package/src/sap/ui/mdc/designtime/chart/Chart.designtime.js +3 -0
- package/src/sap/ui/mdc/designtime/table/Table.designtime.js +3 -1
- package/src/sap/ui/mdc/field/BoolFieldHelp.js +1 -1
- package/src/sap/ui/mdc/field/ConditionFieldHelp.js +1 -1
- package/src/sap/ui/mdc/field/ConditionType.js +1 -1
- package/src/sap/ui/mdc/field/ConditionsType.js +1 -1
- package/src/sap/ui/mdc/field/CustomFieldHelp.js +1 -1
- package/src/sap/ui/mdc/field/CustomFieldInfo.js +1 -1
- package/src/sap/ui/mdc/field/DefineConditionPanel.js +1 -1
- package/src/sap/ui/mdc/field/DynamicDateRangeConditionsType.js +1 -1
- package/src/sap/ui/mdc/field/FieldBase.js +4 -5
- package/src/sap/ui/mdc/field/FieldHelpBase.js +1 -1
- package/src/sap/ui/mdc/field/FieldInfoBase.js +23 -21
- package/src/sap/ui/mdc/field/FieldInput.js +1 -1
- package/src/sap/ui/mdc/field/FieldInputRenderUtil.js +1 -1
- package/src/sap/ui/mdc/field/FieldMultiInput.js +1 -1
- package/src/sap/ui/mdc/field/FieldValueHelp.js +1 -1
- package/src/sap/ui/mdc/field/FieldValueHelpContentWrapperBase.js +1 -1
- package/src/sap/ui/mdc/field/FieldValueHelpMTableWrapper.js +1 -1
- package/src/sap/ui/mdc/field/FieldValueHelpMdcTableWrapper.js +1 -1
- package/src/sap/ui/mdc/field/FieldValueHelpTableWrapperBase.js +1 -1
- package/src/sap/ui/mdc/field/FieldValueHelpUITableWrapper.js +1 -1
- package/src/sap/ui/mdc/field/InParameter.js +1 -1
- package/src/sap/ui/mdc/field/ListFieldHelp.js +1 -1
- package/src/sap/ui/mdc/field/ListFieldHelpItem.js +1 -1
- package/src/sap/ui/mdc/field/MultiValueFieldItem.js +1 -1
- package/src/sap/ui/mdc/field/OutParameter.js +1 -1
- package/src/sap/ui/mdc/field/TokenDisplay.js +1 -1
- package/src/sap/ui/mdc/field/TokenizerDisplay.js +1 -1
- package/src/sap/ui/mdc/field/ValueHelpPanel.js +1 -1
- package/src/sap/ui/mdc/filterbar/FilterBarBase.js +1 -1
- package/src/sap/ui/mdc/filterbar/PropertyHelper.js +1 -1
- package/src/sap/ui/mdc/filterbar/p13n/AdaptationFilterBar.js +1 -1
- package/src/sap/ui/mdc/filterbar/vh/FilterBar.js +1 -1
- package/src/sap/ui/mdc/flexibility/Chart.flexibility.js +1 -1
- package/src/sap/ui/mdc/flexibility/FilterBar.flexibility.js +1 -1
- package/src/sap/ui/mdc/flexibility/FilterItemFlex.js +1 -1
- package/src/sap/ui/mdc/flexibility/ItemBaseFlex.js +19 -17
- package/src/sap/ui/mdc/library.js +2 -2
- package/src/sap/ui/mdc/link/ContactDetails.js +1 -1
- package/src/sap/ui/mdc/link/ContactDetailsAddressItem.js +1 -1
- package/src/sap/ui/mdc/link/ContactDetailsEmailItem.js +1 -1
- package/src/sap/ui/mdc/link/ContactDetailsItem.js +1 -1
- package/src/sap/ui/mdc/link/ContactDetailsPhoneItem.js +1 -1
- package/src/sap/ui/mdc/link/Factory.js +1 -1
- package/src/sap/ui/mdc/link/FakeFlpConnector.js +1 -1
- package/src/sap/ui/mdc/link/LinkItem.js +1 -1
- package/src/sap/ui/mdc/link/Panel.js +3 -2
- package/src/sap/ui/mdc/link/PanelItem.js +1 -1
- package/src/sap/ui/mdc/link/SemanticObjectMapping.js +1 -1
- package/src/sap/ui/mdc/link/SemanticObjectMappingItem.js +1 -1
- package/src/sap/ui/mdc/link/SemanticObjectUnavailableAction.js +1 -1
- package/src/sap/ui/mdc/messagebundle.properties +7 -3
- package/src/sap/ui/mdc/messagebundle_ar.properties +4 -2
- package/src/sap/ui/mdc/messagebundle_bg.properties +4 -2
- package/src/sap/ui/mdc/messagebundle_ca.properties +4 -2
- package/src/sap/ui/mdc/messagebundle_cs.properties +7 -5
- package/src/sap/ui/mdc/messagebundle_cy.properties +4 -2
- package/src/sap/ui/mdc/messagebundle_da.properties +4 -2
- package/src/sap/ui/mdc/messagebundle_de.properties +4 -2
- package/src/sap/ui/mdc/messagebundle_el.properties +5 -3
- package/src/sap/ui/mdc/messagebundle_en.properties +4 -2
- package/src/sap/ui/mdc/messagebundle_en_GB.properties +4 -2
- package/src/sap/ui/mdc/messagebundle_en_US_sappsd.properties +4 -2
- package/src/sap/ui/mdc/messagebundle_en_US_saprigi.properties +4 -2
- package/src/sap/ui/mdc/messagebundle_en_US_saptrc.properties +4 -2
- package/src/sap/ui/mdc/messagebundle_es.properties +4 -2
- package/src/sap/ui/mdc/messagebundle_es_MX.properties +4 -2
- package/src/sap/ui/mdc/messagebundle_et.properties +4 -2
- package/src/sap/ui/mdc/messagebundle_fi.properties +4 -2
- package/src/sap/ui/mdc/messagebundle_fr.properties +7 -5
- package/src/sap/ui/mdc/messagebundle_fr_CA.properties +4 -2
- package/src/sap/ui/mdc/messagebundle_hi.properties +4 -2
- package/src/sap/ui/mdc/messagebundle_hr.properties +7 -5
- package/src/sap/ui/mdc/messagebundle_hu.properties +5 -3
- package/src/sap/ui/mdc/messagebundle_id.properties +4 -2
- package/src/sap/ui/mdc/messagebundle_it.properties +48 -46
- package/src/sap/ui/mdc/messagebundle_iw.properties +5 -3
- package/src/sap/ui/mdc/messagebundle_ja.properties +4 -2
- package/src/sap/ui/mdc/messagebundle_kk.properties +4 -2
- package/src/sap/ui/mdc/messagebundle_ko.properties +4 -2
- package/src/sap/ui/mdc/messagebundle_lt.properties +4 -2
- package/src/sap/ui/mdc/messagebundle_lv.properties +4 -2
- package/src/sap/ui/mdc/messagebundle_ms.properties +4 -2
- package/src/sap/ui/mdc/messagebundle_nl.properties +4 -2
- package/src/sap/ui/mdc/messagebundle_no.properties +4 -2
- package/src/sap/ui/mdc/messagebundle_pl.properties +4 -2
- package/src/sap/ui/mdc/messagebundle_pt.properties +4 -2
- package/src/sap/ui/mdc/messagebundle_pt_PT.properties +4 -2
- package/src/sap/ui/mdc/messagebundle_ro.properties +4 -2
- package/src/sap/ui/mdc/messagebundle_ru.properties +4 -2
- package/src/sap/ui/mdc/messagebundle_sh.properties +4 -2
- package/src/sap/ui/mdc/messagebundle_sk.properties +4 -2
- package/src/sap/ui/mdc/messagebundle_sl.properties +4 -2
- package/src/sap/ui/mdc/messagebundle_sv.properties +4 -2
- package/src/sap/ui/mdc/messagebundle_th.properties +9 -7
- package/src/sap/ui/mdc/messagebundle_tr.properties +4 -2
- package/src/sap/ui/mdc/messagebundle_uk.properties +4 -2
- package/src/sap/ui/mdc/messagebundle_vi.properties +4 -2
- package/src/sap/ui/mdc/messagebundle_zh_CN.properties +4 -2
- package/src/sap/ui/mdc/messagebundle_zh_TW.properties +4 -2
- package/src/sap/ui/mdc/mixin/AdaptationMixin.js +1 -1
- package/src/sap/ui/mdc/mixin/DelegateMixin.js +1 -1
- package/src/sap/ui/mdc/mixin/FilterIntegrationMixin.js +1 -1
- package/src/sap/ui/mdc/mixin/PromiseMixin.js +1 -1
- package/src/sap/ui/mdc/mixin/PropertyHelperMixin.js +1 -1
- package/src/sap/ui/mdc/odata/v4/ChartPropertyHelper.js +1 -1
- package/src/sap/ui/mdc/odata/v4/TableDelegate.js +61 -37
- package/src/sap/ui/mdc/odata/v4/vizChart/ChartDelegate.js +1 -1
- package/src/sap/ui/mdc/p13n/Engine.js +1 -1
- package/src/sap/ui/mdc/p13n/PropertyHelper.js +1 -1
- package/src/sap/ui/mdc/p13n/StateUtil.js +1 -1
- package/src/sap/ui/mdc/p13n/UIManager.js +1 -1
- package/src/sap/ui/mdc/p13n/modules/DefaultProviderRegistry.js +1 -1
- package/src/sap/ui/mdc/p13n/panels/AdaptFiltersPanel.js +1 -7
- package/src/sap/ui/mdc/p13n/panels/ChartItemPanel.js +31 -6
- package/src/sap/ui/mdc/p13n/subcontroller/BaseController.js +1 -1
- package/src/sap/ui/mdc/p13n/subcontroller/LinkPanelController.js +2 -1
- package/src/sap/ui/mdc/table/CreationRow.js +1 -1
- package/src/sap/ui/mdc/table/PropertyHelper.js +30 -32
- package/src/sap/ui/mdc/table/ResponsiveTableType.js +2 -1
- package/src/sap/ui/mdc/table/RowActionItem.js +1 -1
- package/src/sap/ui/mdc/table/RowSettings.js +1 -1
- package/src/sap/ui/mdc/table/V4AnalyticsPropertyHelper.js +2 -7
- package/src/sap/ui/mdc/table/menu/Item.js +3 -3
- package/src/sap/ui/mdc/table/menu/QuickActionContainer.js +34 -0
- package/src/sap/ui/mdc/themes/base/InfoPanel.less +0 -1
- package/src/sap/ui/mdc/util/PromiseCache.js +1 -1
- package/src/sap/ui/mdc/util/PropertyHelper.js +49 -51
- package/src/sap/ui/mdc/valuehelp/Dialog.js +3 -1
- package/src/sap/ui/mdc/valuehelp/Popover.js +34 -6
- package/src/sap/ui/mdc/valuehelp/base/Container.js +1 -1
- package/src/sap/ui/mdc/valuehelp/base/Content.js +1 -1
- package/src/sap/ui/mdc/valuehelp/base/DialogTab.js +1 -1
- package/src/sap/ui/mdc/valuehelp/base/FilterableListContent.js +1 -1
- package/src/sap/ui/mdc/valuehelp/base/ListContent.js +1 -1
- package/src/sap/ui/mdc/valuehelp/content/Bool.js +1 -1
- package/src/sap/ui/mdc/valuehelp/content/Conditions.js +1 -1
- package/src/sap/ui/mdc/valuehelp/content/FixedList.js +1 -1
- package/src/sap/ui/mdc/valuehelp/content/MDCTable.js +25 -3
- package/src/sap/ui/mdc/valuehelp/content/MTable.js +2 -2
- package/test/sap/ui/mdc/testutils/opa/JSDocGeneration.md +18 -0
- package/test/sap/ui/mdc/testutils/opa/TestLibrary.js +4 -1
- package/test/sap/ui/mdc/testutils/opa/Util.js +42 -0
- package/test/sap/ui/mdc/testutils/opa/Utils.js +22 -0
- package/test/sap/ui/mdc/testutils/opa/chart/ActionsBase.js +1 -1
- package/test/sap/ui/mdc/testutils/opa/chart/JSDoc.md +413 -0
- package/test/sap/ui/mdc/testutils/opa/chart/TestObjects.js +320 -264
- package/test/sap/ui/mdc/testutils/opa/field/Actions.js +50 -0
- package/test/sap/ui/mdc/testutils/opa/field/Assertions.js +40 -0
- package/test/sap/ui/mdc/testutils/opa/field/JSDoc.md +37 -0
- package/test/sap/ui/mdc/testutils/opa/field/TestObjects.js +52 -0
- package/test/sap/ui/mdc/testutils/opa/field/waitForField.js +36 -0
- package/test/sap/ui/mdc/testutils/opa/field/waitForFieldValueHelpButton.js +42 -0
- package/test/sap/ui/mdc/testutils/opa/filterbar/Actions.js +31 -7
- package/test/sap/ui/mdc/testutils/opa/filterbar/Assertions.js +53 -7
- package/test/sap/ui/mdc/testutils/opa/filterbar/JSDoc.md +188 -0
- package/test/sap/ui/mdc/testutils/opa/filterbar/TestObjects.js +79 -13
- package/test/sap/ui/mdc/testutils/opa/filterbar/waitForAdaptFiltersButton.js +47 -0
- package/test/sap/ui/mdc/testutils/opa/filterbar/waitForFilterBar.js +28 -0
- package/test/sap/ui/mdc/testutils/opa/filterfield/Actions.js +70 -0
- package/test/sap/ui/mdc/testutils/opa/filterfield/Assertions.js +87 -0
- package/test/sap/ui/mdc/testutils/opa/filterfield/JSDoc.md +63 -0
- package/test/sap/ui/mdc/testutils/opa/filterfield/TestObjects.js +71 -0
- package/test/sap/ui/mdc/testutils/opa/filterfield/waitForFilterField.js +36 -0
- package/test/sap/ui/mdc/testutils/opa/filterfield/waitForFilterFieldValueHelpButton.js +42 -0
- package/test/sap/ui/mdc/testutils/opa/link/JSDoc.md +136 -0
- package/test/sap/ui/mdc/testutils/opa/link/TestObjects.js +108 -91
- package/test/sap/ui/mdc/testutils/opa/table/Actions.js +190 -6
- package/test/sap/ui/mdc/testutils/opa/table/Assertions.js +210 -0
- package/test/sap/ui/mdc/testutils/opa/table/JSDoc.md +205 -0
- package/test/sap/ui/mdc/testutils/opa/table/TestObjects.js +138 -9
- package/test/sap/ui/mdc/testutils/opa/table/Util.js +20 -0
- package/test/sap/ui/mdc/testutils/opa/table/waitForColumnHeader.js +44 -0
- package/test/sap/ui/mdc/testutils/opa/table/waitForListItemInDialogWithLabel.js +55 -0
- package/test/sap/ui/mdc/testutils/opa/table/waitForP13nButtonWithParentAndIcon.js +42 -0
- package/test/sap/ui/mdc/testutils/opa/table/waitForTable.js +26 -0
- package/test/sap/ui/mdc/testutils/opa/valueHelp/JSDoc.md +35 -0
- package/test/sap/ui/mdc/testutils/opa/valueHelp/TestObjects.js +7 -0
- package/test/sap/ui/mdc/testutils/opa/variant/Actions.js +124 -0
- package/test/sap/ui/mdc/testutils/opa/variant/Assertions.js +48 -0
- package/test/sap/ui/mdc/testutils/opa/variant/JSDoc.md +84 -0
- package/test/sap/ui/mdc/testutils/opa/variant/TestObjects.js +95 -0
- package/test/sap/ui/mdc/testutils/opa/variant/waitForVariantManager.js +43 -0
- package/test/sap/ui/mdc/testutils/opa/variant/waitForVariantManagerButton.js +45 -0
- package/test/sap/ui/mdc/testutils/opa/variant/waitForVariantManagerItem.js +54 -0
- package/test/sap/ui/mdc/testutils/opa/variant/waitForVariantManagerOverlay.js +44 -0
- package/ui5.yaml +4 -1
- package/src/sap/ui/mdc/odata/json/FilterBarDelegate.js +0 -155
- package/src/sap/ui/mdc/odata/v4/FilterBarDelegate.js +0 -750
- package/test/sap/ui/mdc/testutils/opa/chart/ChartNew.js +0 -24
- package/test/sap/ui/mdc/testutils/opa/chartNew/TestObjects.js +0 -288
|
@@ -14,277 +14,333 @@ sap.ui.define([
|
|
|
14
14
|
) {
|
|
15
15
|
"use strict";
|
|
16
16
|
|
|
17
|
+
/**
|
|
18
|
+
* @namespace onTheMDCChart
|
|
19
|
+
*/
|
|
17
20
|
Opa5.createPageObjects({
|
|
18
21
|
onTheMDCChart: {
|
|
19
22
|
actions: {
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
23
|
+
/**
|
|
24
|
+
* @typedef {object} ChartPersonalizationConfiguration
|
|
25
|
+
* @property {string} key Key of the value that is the result of the personalization
|
|
26
|
+
* @property {string} role Role of the given value
|
|
27
|
+
*/
|
|
28
|
+
/**
|
|
29
|
+
* OPA5 test action
|
|
30
|
+
* @memberof onTheMDCChart
|
|
31
|
+
* @method iPersonalizeChart
|
|
32
|
+
* @param {sap.ui.core.Control | string} oChart Instance / ID of the <code>MDCChart</code> that is personalized
|
|
33
|
+
* @param {ChartPersonalizationConfiguration[]} aConfigurations Array containing the chart personalization configuration objects
|
|
34
|
+
* @returns {Promise} OPA waitFor
|
|
35
|
+
* 1. Opens the personalization dialog of a given <code>sap.ui.mdc.Chart</code>.
|
|
36
|
+
* 2. Selects a chart type given by <code>sChartType</code>.
|
|
37
|
+
* 3. Executes the given <code>ChartPersonalizationConfigurations</code>.
|
|
38
|
+
* 4. Closes the personalization dialog.
|
|
39
|
+
*/
|
|
40
|
+
iPersonalizeChart: function(oChart, aConfigurations){
|
|
41
|
+
return p13nActions.iPersonalizeChart.call(this, oChart, null, aConfigurations, true, chartActions.iOpenThePersonalizationDialog);
|
|
42
|
+
},
|
|
43
|
+
/**
|
|
44
|
+
* @typedef {object} SortPersonalizationConfiguration
|
|
45
|
+
* @property {string} key Key of the item that is the result of the personalization
|
|
46
|
+
* @property {boolean} descending Determines whether the sort direction is descending
|
|
47
|
+
*/
|
|
48
|
+
/**
|
|
49
|
+
* OPA5 test action
|
|
50
|
+
* @memberof onTheMDCChart
|
|
51
|
+
* @method iPersonalizeSort
|
|
52
|
+
* @param {sap.ui.core.Control | string} oChart Instance / ID of the <code>MDCChart</code> that is sorted
|
|
53
|
+
* @param {SortPersonalizationConfiguration[]} aConfigurations Array containing the sort personalization configuration objects
|
|
54
|
+
* @returns {Promise} OPA waitFor
|
|
55
|
+
* 1. Opens the personalization dialog of a given chart.
|
|
56
|
+
* 2. Executes the given <code>SortPersonalizationConfiguration</code>.
|
|
57
|
+
* 3. Closes the personalization dialog.
|
|
58
|
+
*/
|
|
59
|
+
iPersonalizeSort: function(oChart, aConfigurations) {
|
|
60
|
+
return p13nActions.iPersonalizeSort.call(this, oChart, aConfigurations, chartActions.iOpenThePersonalizationDialog);
|
|
61
|
+
},
|
|
62
|
+
/**
|
|
63
|
+
* Opa5 test action
|
|
64
|
+
* @memberof onTheMDCChart
|
|
65
|
+
* @method iResetThePersonalization
|
|
66
|
+
* @param {sap.ui.core.Control | string} oChart Instance / ID of the <code>MDCChart</code> that is reset
|
|
67
|
+
* @returns {Promise} OPA waitFor
|
|
68
|
+
* 1. Opens the personalization dialog of a given chart.
|
|
69
|
+
* 2. Presses the Reset personalization button.
|
|
70
|
+
* 3. Confirms the Reset dialog.
|
|
71
|
+
* 4. Closes the personalization dialog.
|
|
72
|
+
*/
|
|
73
|
+
iResetThePersonalization: function(oChart) {
|
|
74
|
+
return p13nActions.iResetThePersonalization.call(this, oChart, chartActions.iOpenThePersonalizationDialog);
|
|
75
|
+
},
|
|
68
76
|
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
77
|
+
/**
|
|
78
|
+
* OPA5 test action
|
|
79
|
+
* Presses the "Zoom In" button in the toolbar of a <code>sap.ui.mdc.Chart</code>.
|
|
80
|
+
* @memberof onTheMDCChart
|
|
81
|
+
* @method iClickOnZoomIn
|
|
82
|
+
* @param {string} sId The ID of the <code>sap.ui.mdc.Chart</code>
|
|
83
|
+
* @returns {Promise} OPA waitFor
|
|
84
|
+
*/
|
|
85
|
+
iClickOnZoomIn : function(sId){
|
|
86
|
+
return chartActions.iClickOnZoomIn.call(this, sId);
|
|
87
|
+
},
|
|
78
88
|
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
|
|
161
|
-
|
|
162
|
-
|
|
163
|
-
|
|
164
|
-
|
|
165
|
-
|
|
166
|
-
|
|
167
|
-
|
|
168
|
-
|
|
169
|
-
|
|
170
|
-
|
|
171
|
-
|
|
172
|
-
|
|
173
|
-
|
|
174
|
-
|
|
175
|
-
|
|
176
|
-
|
|
177
|
-
|
|
178
|
-
|
|
179
|
-
|
|
180
|
-
|
|
181
|
-
|
|
182
|
-
|
|
183
|
-
|
|
184
|
-
|
|
185
|
-
|
|
186
|
-
|
|
187
|
-
|
|
188
|
-
|
|
189
|
-
|
|
190
|
-
|
|
191
|
-
|
|
192
|
-
|
|
193
|
-
|
|
194
|
-
|
|
195
|
-
|
|
196
|
-
|
|
197
|
-
|
|
198
|
-
|
|
199
|
-
|
|
200
|
-
|
|
89
|
+
/**
|
|
90
|
+
* OPA5 test action
|
|
91
|
+
* Presses the "Zoom Out" button in the toolbar of a <code>sap.ui.mdc.Chart</code>.
|
|
92
|
+
* @memberof onTheMDCChart
|
|
93
|
+
* @method iClickOnZoomOut
|
|
94
|
+
* @param {string} sId The ID of the <code>sap.ui.mdc.Chart</code>
|
|
95
|
+
* @returns {Promise} OPA waitFor
|
|
96
|
+
*/
|
|
97
|
+
iClickOnZoomOut : function(sId){
|
|
98
|
+
return chartActions.iClickOnZoomOut.call(this, sId);
|
|
99
|
+
},
|
|
100
|
+
/**
|
|
101
|
+
* OPA5 test action
|
|
102
|
+
* Presses the "Show Legend" toggle button in the toolbar of a <code>sap.ui.mdc.Chart</code>.
|
|
103
|
+
* @memberof onTheMDCChart
|
|
104
|
+
* @method iClickOnTheLegendToggleButton
|
|
105
|
+
* @param {string} sId The ID of the <code>sap.ui.mdc.Chart</code>
|
|
106
|
+
* @returns {Promise} OPA waitFor
|
|
107
|
+
*/
|
|
108
|
+
iClickOnTheLegendToggleButton : function(sId){
|
|
109
|
+
return chartActions.iClickOnTheLegendToggleButton.call(this, sId);
|
|
110
|
+
},
|
|
111
|
+
/**
|
|
112
|
+
* OPA5 test action
|
|
113
|
+
* Presses the "Show Details" button in the toolbar of a <code>sap.ui.mdc.Chart</code>.
|
|
114
|
+
* @memberof onTheMDCChart
|
|
115
|
+
* @method iClickOnTheSelectionDetailsButton
|
|
116
|
+
* @param {*} sId The ID of the <code>sap.ui.mdc.Chart</code>
|
|
117
|
+
* @returns {Promise} OPA waitFor
|
|
118
|
+
*/
|
|
119
|
+
iClickOnTheSelectionDetailsButton: function(sId){
|
|
120
|
+
return chartActions.iClickOnTheSelectionDetailsButton.call(this, sId);
|
|
121
|
+
},
|
|
122
|
+
/**
|
|
123
|
+
* OPA5 test action
|
|
124
|
+
* Presses the "Drilldown" button in the toolbar of a <code>sap.ui.mdc.Chart</code>.
|
|
125
|
+
* @memberof onTheMDCChart
|
|
126
|
+
* @method iClickOnTheDrillDownButton
|
|
127
|
+
* @param {string} sId The ID of the <code>sap.ui.mdc.Chart</code>
|
|
128
|
+
* @returns {Promise} OPA waitFor
|
|
129
|
+
*/
|
|
130
|
+
iClickOnTheDrillDownButton: function(sId){
|
|
131
|
+
return chartActions.iClickOnTheDrillDownButton.call(this, sId);
|
|
132
|
+
},
|
|
133
|
+
/**
|
|
134
|
+
* OPA5 test action
|
|
135
|
+
* Presses the "Chart Type" button in the toolbar of a <code>sap.ui.mdc.Chart</code>.
|
|
136
|
+
* @memberof onTheMDCChart
|
|
137
|
+
* @method iClickOnTheChartTypeButton
|
|
138
|
+
* @param {string} sId The ID of the <code>sap.ui.mdc.Chart</code>
|
|
139
|
+
* @returns {Promise} OPA waitFor
|
|
140
|
+
*/
|
|
141
|
+
iClickOnTheChartTypeButton: function(sId){
|
|
142
|
+
return chartActions.iClickOnTheChartTypeButton.apply(this, arguments);
|
|
143
|
+
},
|
|
144
|
+
/**
|
|
145
|
+
* OPA5 test action
|
|
146
|
+
* Presses the "Personalization" button in the toolbar of a <code>sap.ui.mdc.Chart</code>.
|
|
147
|
+
* @memberof onTheMDCChart
|
|
148
|
+
* @method iClickOnThePersonalisationButton
|
|
149
|
+
* @param {string} sId The ID of the <code>sap.ui.mdc.Chart</code>
|
|
150
|
+
* @returns {Promise} OPA waitFor
|
|
151
|
+
*/
|
|
152
|
+
iClickOnThePersonalisationButton: function(sId){
|
|
153
|
+
return chartActions.iClickOnThePersonalisationButton.call(this, sId);
|
|
154
|
+
},
|
|
155
|
+
/**
|
|
156
|
+
* OPA5 test action
|
|
157
|
+
* Selects a specific chart type for a <code>sap.ui.mdc.Chart</code> in an open chart type popover.
|
|
158
|
+
* @memberof onTheMDCChart
|
|
159
|
+
* @method iSelectChartTypeInPopover
|
|
160
|
+
* @param {string} sChartTypeName The name of the chart type
|
|
161
|
+
* @returns {Promise} OPA waitFor
|
|
162
|
+
*/
|
|
163
|
+
iSelectChartTypeInPopover: function(sChartTypeName){
|
|
164
|
+
return chartActions.iSelectChartTypeInPopover.call(this, sChartTypeName);
|
|
165
|
+
},
|
|
166
|
+
/**
|
|
167
|
+
* OPA5 test action
|
|
168
|
+
* Presses an drill-down breadcrumb with a given name for a given <code>sap.ui.mdc.Chart</code>.
|
|
169
|
+
* @memberof onTheMDCChart
|
|
170
|
+
* @method iClickOnTheBreadcrumbWithName
|
|
171
|
+
* @param {string} sName The name of the breadcrumbs
|
|
172
|
+
* @param {string} sId The ID of the <code>sap.ui.mdc.Chart</code>
|
|
173
|
+
* @returns {Promise} OPA waitFor
|
|
174
|
+
*/
|
|
175
|
+
iClickOnTheBreadcrumbWithName: function(sName, sId){
|
|
176
|
+
return chartActions.iClickOnTheBreadcrumbWithName.call(this, sName, sId);
|
|
177
|
+
},
|
|
178
|
+
/**
|
|
179
|
+
* OPA5 test action
|
|
180
|
+
* Selects a specific dimension to drill-down for a <code>sap.ui.mdc.Chart</code> in an open chart drill-down popover.
|
|
181
|
+
* @memberof onTheMDCChart
|
|
182
|
+
* @method iSelectANewDrillDimensionInPopover
|
|
183
|
+
* @param {string} sDrillName Name of the dimension to which a drill-down takes place
|
|
184
|
+
* @returns {Promise} OPA waitFor
|
|
185
|
+
*/
|
|
186
|
+
iSelectANewDrillDimensionInPopover: function(sDrillName){
|
|
187
|
+
return chartActions.iSelectANewDrillDimensionInPopover.call(this, sDrillName);
|
|
188
|
+
},
|
|
189
|
+
/**
|
|
190
|
+
* OPA5 test action
|
|
191
|
+
* Selects given data points on a given <code>sap.ui.mdc.Chart</code>.
|
|
192
|
+
* @memberof onTheMDCChart
|
|
193
|
+
* @method iSelectTheDatapoint
|
|
194
|
+
* @param {array} aDataPoints Data point objects to select
|
|
195
|
+
* @param {string} sId The ID of the <code>sap.ui.mdc.Chart</code>
|
|
196
|
+
* @returns {Promise} OPA waitFor
|
|
197
|
+
*/
|
|
198
|
+
iSelectTheDatapoint: function (aDataPoints, sId){
|
|
199
|
+
return chartActions.iSelectTheDatapoint.call(this, aDataPoints, sId);
|
|
200
|
+
},
|
|
201
|
+
/**
|
|
202
|
+
* OPA5 test action
|
|
203
|
+
* Selects given categories (dimensions) for the given <code>sap.ui.mdc.Chart</code>.
|
|
204
|
+
* @memberof onTheMDCChart
|
|
205
|
+
* @method iSelectTheCategories
|
|
206
|
+
* @param {object} oCategories Categories to select
|
|
207
|
+
* @param {string} sId The ID of the <code>sap.ui.mdc.Chart</code>
|
|
208
|
+
* @returns {Promise} OPA waitFor
|
|
209
|
+
*/
|
|
210
|
+
iSelectTheCategories: function (oCategories, sId){
|
|
211
|
+
return chartActions.iSelectTheDatapoint.call(this, oCategories, sId);
|
|
212
|
+
},
|
|
213
|
+
/**
|
|
214
|
+
* OPA5 test action
|
|
215
|
+
* Performs a drill-down on the <code>sap.ui.mdc.Chart</code>
|
|
216
|
+
* @memberof onTheMDCChart
|
|
217
|
+
* @method iDrillDownInDimension
|
|
218
|
+
* @param {string} sId The ID of the <code>sap.ui.mdc.Chart</code>
|
|
219
|
+
* @param {string} sDrillName Name of the dimension to which a drill-down takes place
|
|
220
|
+
* @returns {Promise} OPA waitFor
|
|
221
|
+
*/
|
|
222
|
+
iDrillDownInDimension: function(sId, sDrillName) {
|
|
223
|
+
return chartActions.iDrillDownInDimension.call(this, sId, sDrillName);
|
|
224
|
+
},
|
|
225
|
+
/**
|
|
226
|
+
* OPA5 test action
|
|
227
|
+
* Performs a drill-down on the <code>sap.ui.mdc.Chart</code>
|
|
228
|
+
* @memberof onTheMDCChart
|
|
229
|
+
* @method iSelectAChartType
|
|
230
|
+
* @param {string} sId The ID of the <code>sap.ui.mdc.Chart</code>
|
|
231
|
+
* @param {string} sChartTypeName Name of the chart type which is to be selected
|
|
232
|
+
* @returns {Promise} OPA waitFor
|
|
233
|
+
*/
|
|
234
|
+
iSelectAChartType: function(sId, sChartTypeName) {
|
|
235
|
+
return chartActions.iSelectAChartType.call(this, sId, sChartTypeName);
|
|
236
|
+
}
|
|
201
237
|
|
|
202
|
-
|
|
203
|
-
|
|
204
|
-
|
|
205
|
-
|
|
206
|
-
|
|
207
|
-
|
|
208
|
-
|
|
209
|
-
|
|
210
|
-
|
|
211
|
-
|
|
212
|
-
|
|
213
|
-
|
|
214
|
-
|
|
215
|
-
|
|
216
|
-
|
|
217
|
-
|
|
218
|
-
|
|
219
|
-
|
|
220
|
-
|
|
221
|
-
|
|
222
|
-
|
|
223
|
-
|
|
224
|
-
|
|
225
|
-
|
|
226
|
-
|
|
227
|
-
|
|
238
|
+
},
|
|
239
|
+
assertions: {
|
|
240
|
+
/**
|
|
241
|
+
* OPA5 assertion
|
|
242
|
+
* Assertion to check that there is a <code>sap.ui.mdc.Chart</code> visible on the screen.
|
|
243
|
+
* @memberof onTheMDCChart
|
|
244
|
+
* @method iShouldSeeAChart
|
|
245
|
+
* @returns {Promise} OPA waitFor
|
|
246
|
+
*/
|
|
247
|
+
iShouldSeeAChart: function() {
|
|
248
|
+
return chartAssertions.iShouldSeeAChart.call(this);
|
|
249
|
+
},
|
|
250
|
+
/**
|
|
251
|
+
* Assertion to check that there is a legend visible on the screen for a given <code>sap.ui.mdc.Chart</code>.
|
|
252
|
+
* @memberof onTheMDCChart
|
|
253
|
+
* @method iShouldSeeALegend
|
|
254
|
+
* @param {string} sId The ID of the <code>sap.ui.mdc.Chart</code> to be checked for a visible legend
|
|
255
|
+
* @returns {Promise} OPA waitFor
|
|
256
|
+
*/
|
|
257
|
+
iShouldSeeALegend: function(sId) {
|
|
258
|
+
return chartAssertions.iShouldSeeALegend.call(this, sId);
|
|
259
|
+
},
|
|
260
|
+
/**
|
|
261
|
+
* Assertion to check that there is no legend visible on the screen for a given <code>sap.ui.mdc.Chart</code>.
|
|
262
|
+
* @memberof onTheMDCChart
|
|
263
|
+
* @method iShouldSeeNoLegend
|
|
264
|
+
* @param {string} sId The ID of the <code>sap.ui.mdc.Chart</code> to be checked for a visible legend
|
|
265
|
+
* @returns {Promise} OPA waitFor
|
|
266
|
+
*/
|
|
267
|
+
iShouldSeeNoLegend: function(sId) {
|
|
268
|
+
return chartAssertions.iShouldSeeNoLegend.call(this, sId);
|
|
269
|
+
},
|
|
228
270
|
|
|
229
|
-
|
|
230
|
-
|
|
231
|
-
|
|
232
|
-
|
|
233
|
-
|
|
234
|
-
|
|
235
|
-
|
|
236
|
-
|
|
237
|
-
|
|
238
|
-
|
|
239
|
-
|
|
240
|
-
|
|
241
|
-
|
|
242
|
-
|
|
243
|
-
|
|
244
|
-
|
|
245
|
-
|
|
246
|
-
|
|
247
|
-
|
|
248
|
-
|
|
249
|
-
|
|
250
|
-
|
|
251
|
-
|
|
252
|
-
|
|
253
|
-
|
|
254
|
-
|
|
255
|
-
|
|
256
|
-
|
|
257
|
-
|
|
258
|
-
|
|
259
|
-
|
|
260
|
-
|
|
261
|
-
|
|
262
|
-
|
|
263
|
-
|
|
264
|
-
|
|
265
|
-
|
|
266
|
-
|
|
267
|
-
|
|
268
|
-
|
|
269
|
-
|
|
270
|
-
|
|
271
|
-
|
|
272
|
-
|
|
273
|
-
|
|
274
|
-
|
|
275
|
-
|
|
276
|
-
|
|
277
|
-
|
|
278
|
-
|
|
279
|
-
|
|
280
|
-
|
|
281
|
-
|
|
282
|
-
|
|
283
|
-
|
|
284
|
-
|
|
285
|
-
|
|
271
|
+
/**
|
|
272
|
+
* Assertion to check that there is a chart type popover visible on the screen.
|
|
273
|
+
* @memberof onTheMDCChart
|
|
274
|
+
* @method iShouldSeeAChartTypePopover
|
|
275
|
+
* @returns {Promise} OPA waitFor
|
|
276
|
+
*/
|
|
277
|
+
iShouldSeeAChartTypePopover: function() {
|
|
278
|
+
return chartAssertions.iShouldSeeAChartTypePopover.call(this);
|
|
279
|
+
},
|
|
280
|
+
/**
|
|
281
|
+
* Assertion to check that there is a <code>sap.ui.mdc.Chart</code> visible with a given chart type.
|
|
282
|
+
* @memberof onTheMDCChart
|
|
283
|
+
* @method iShouldSeeTheChartWithChartType
|
|
284
|
+
* @param {string} sChartId The ID of the <code>sap.ui.mdc.Chart</code> to be checked for a chart type
|
|
285
|
+
* @param {string} sChartType Chart type which is selected for the given chart
|
|
286
|
+
* @returns {Promise} OPA waitFor
|
|
287
|
+
*/
|
|
288
|
+
iShouldSeeTheChartWithChartType: function(sChartId, sChartType){
|
|
289
|
+
return chartAssertions.iShouldSeeTheChartWithChartType.call(this, sChartId, sChartType);
|
|
290
|
+
},
|
|
291
|
+
/**
|
|
292
|
+
* Assertion to check that there is a chart with a given drillstack visible.
|
|
293
|
+
* @memberof onTheMDCChart
|
|
294
|
+
* @method iShouldSeeTheDrillStack
|
|
295
|
+
* @param {array} aCheckDrillStack Drillstack to check for
|
|
296
|
+
* @param {string} sChartId The ID of the <code>sap.ui.mdc.Chart</code>
|
|
297
|
+
* @returns {Promise} OPA waitFor
|
|
298
|
+
*/
|
|
299
|
+
iShouldSeeTheDrillStack: function(aCheckDrillStack, sChartId) {
|
|
300
|
+
return chartAssertions.iShouldSeeTheDrillStack.call(this, aCheckDrillStack, sChartId);
|
|
301
|
+
},
|
|
302
|
+
/**
|
|
303
|
+
* Assertion to check that there is a drilldown popover visible.
|
|
304
|
+
* @memberof onTheMDCChart
|
|
305
|
+
* @method iShouldSeeADrillDownPopover
|
|
306
|
+
* @returns {Promise} OPA waitFor
|
|
307
|
+
*/
|
|
308
|
+
iShouldSeeADrillDownPopover: function() {
|
|
309
|
+
return chartAssertions.iShouldSeeADrillDownPopover.call(this);
|
|
310
|
+
},
|
|
311
|
+
/**
|
|
312
|
+
* Assertion to check that there is a details popover visible.
|
|
313
|
+
* @memberof onTheMDCChart
|
|
314
|
+
* @method iShouldSeeADetailsPopover
|
|
315
|
+
* @returns {Promise} OPA waitFor
|
|
316
|
+
*/
|
|
317
|
+
iShouldSeeADetailsPopover: function() {
|
|
318
|
+
return chartAssertions.iShouldSeeADetailsPopover.call(this);
|
|
319
|
+
},
|
|
320
|
+
/**
|
|
321
|
+
* Assertion to check visible dimensions on the <code>sap.ui.mdc.Chart</code>.
|
|
322
|
+
* @memberof onTheMDCChart
|
|
323
|
+
* @method iShouldSeeVisibleDimensionsInOrder
|
|
324
|
+
* @param {string[]} aDimensions Array containing the expected dimensions
|
|
325
|
+
* @param {string} sId The ID of the <code>sap.ui.mdc.Chart</code>
|
|
326
|
+
* @returns {Promise} OPA waitFor
|
|
327
|
+
*/
|
|
328
|
+
iShouldSeeVisibleDimensionsInOrder: function(aDimensions, sId) {
|
|
329
|
+
return chartAssertions.iShouldSeeVisibleDimensionsInOrder.call(this, aDimensions, sId);
|
|
330
|
+
},
|
|
331
|
+
/**
|
|
332
|
+
* Assertion to check visible measures on the <code>sap.ui.mdc.Chart</code>.
|
|
333
|
+
* @memberof onTheMDCChart
|
|
334
|
+
* @method iShouldSeeVisibleMeasuresInOrder
|
|
335
|
+
* @param {string[]} aMeasures Array containing the expected measures
|
|
336
|
+
* @param {string} sId The ID of the <code>sap.ui.mdc.Chart</code>
|
|
337
|
+
* @returns {Promise} OPA waitFor
|
|
338
|
+
*/
|
|
339
|
+
iShouldSeeVisibleMeasuresInOrder: function(aMeasures, sId) {
|
|
340
|
+
return chartAssertions.iShouldSeeVisibleMeasuresInOrder.call(this, aMeasures, sId);
|
|
341
|
+
}
|
|
286
342
|
}
|
|
287
|
-
|
|
288
|
-
|
|
343
|
+
}
|
|
344
|
+
});
|
|
289
345
|
|
|
290
346
|
});
|