@sapui5/sap.fe.test 1.128.0 → 1.129.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/package.json +1 -1
- package/src/sap/fe/test/.library +1 -1
- package/src/sap/fe/test/BaseActions.js +0 -7
- package/src/sap/fe/test/BaseArrangements.js +0 -7
- package/src/sap/fe/test/BaseAssertions.js +0 -5
- package/src/sap/fe/test/Flexibility.js +0 -5
- package/src/sap/fe/test/JestTemplatingHelper.js +3 -11
- package/src/sap/fe/test/JestTemplatingHelper.tsx +2 -10
- package/src/sap/fe/test/JourneyRunner.js +0 -9
- package/src/sap/fe/test/ListReport.js +0 -14
- package/src/sap/fe/test/ObjectPage.js +0 -21
- package/src/sap/fe/test/Shell.js +0 -7
- package/src/sap/fe/test/TemplatePage.js +0 -17
- package/src/sap/fe/test/TemplatingTestUtils.js +0 -1
- package/src/sap/fe/test/UI5MockHelper.js +3 -17
- package/src/sap/fe/test/UI5MockHelper.ts +2 -16
- package/src/sap/fe/test/api/BaseAPI.js +0 -15
- package/src/sap/fe/test/api/ChartActions.js +0 -2
- package/src/sap/fe/test/api/ChartAssertions.js +0 -1
- package/src/sap/fe/test/api/CollaborationAPI.js +2 -9
- package/src/sap/fe/test/api/CollaborationAPI.ts +2 -9
- package/src/sap/fe/test/api/DialogAPI.js +0 -2
- package/src/sap/fe/test/api/DialogActions.js +0 -7
- package/src/sap/fe/test/api/DialogAssertions.js +0 -6
- package/src/sap/fe/test/api/DialogCreateActions.js +0 -2
- package/src/sap/fe/test/api/DialogCreateAssertions.js +0 -2
- package/src/sap/fe/test/api/DialogHelper.js +0 -1
- package/src/sap/fe/test/api/DialogMassEditActions.js +0 -4
- package/src/sap/fe/test/api/DialogMassEditAssertions.js +0 -5
- package/src/sap/fe/test/api/DialogMessageActions.js +0 -4
- package/src/sap/fe/test/api/DialogMessageAssertions.js +0 -4
- package/src/sap/fe/test/api/DialogType.js +0 -8
- package/src/sap/fe/test/api/DialogValueHelpActions.js +0 -12
- package/src/sap/fe/test/api/DialogValueHelpAssertions.js +0 -9
- package/src/sap/fe/test/api/EditState.js +0 -7
- package/src/sap/fe/test/api/FilterBarAPI.js +0 -6
- package/src/sap/fe/test/api/FilterBarActions.js +0 -12
- package/src/sap/fe/test/api/FilterBarAssertions.js +0 -10
- package/src/sap/fe/test/api/FooterAPI.js +0 -1
- package/src/sap/fe/test/api/FooterActionsBase.js +0 -2
- package/src/sap/fe/test/api/FooterActionsOP.js +0 -5
- package/src/sap/fe/test/api/FooterAssertionsBase.js +0 -3
- package/src/sap/fe/test/api/FooterAssertionsOP.js +0 -6
- package/src/sap/fe/test/api/FormAPI.js +0 -2
- package/src/sap/fe/test/api/FormActions.js +0 -8
- package/src/sap/fe/test/api/FormAssertions.js +0 -7
- package/src/sap/fe/test/api/HeaderAPI.js +0 -8
- package/src/sap/fe/test/api/HeaderActions.js +0 -14
- package/src/sap/fe/test/api/HeaderActionsLR.js +0 -4
- package/src/sap/fe/test/api/HeaderAssertions.js +0 -21
- package/src/sap/fe/test/api/HeaderAssertionsLR.js +0 -4
- package/src/sap/fe/test/api/HeaderLR.js +0 -2
- package/src/sap/fe/test/api/KPICardAPI.js +0 -1
- package/src/sap/fe/test/api/KPICardActions.js +0 -2
- package/src/sap/fe/test/api/KPICardAssertions.js +0 -8
- package/src/sap/fe/test/api/TableAPI.js +0 -13
- package/src/sap/fe/test/api/TableActions.js +0 -36
- package/src/sap/fe/test/api/TableAssertions.js +0 -28
- package/src/sap/fe/test/builder/FEBuilder.js +0 -5
- package/src/sap/fe/test/builder/KPIBuilder.js +0 -6
- package/src/sap/fe/test/builder/MacroFieldBuilder.js +0 -1
- package/src/sap/fe/test/builder/MdcFieldBuilder.js +0 -6
- package/src/sap/fe/test/builder/MdcFilterFieldBuilder.js +0 -2
- package/src/sap/fe/test/builder/MdcTableBuilder.js +0 -3
- package/src/sap/fe/test/builder/OverflowToolbarBuilder.js +12 -8
- package/src/sap/fe/test/builder/VMBuilder.js +0 -6
- package/src/sap/fe/test/internal/FEArrangements.js +0 -1
- package/src/sap/fe/test/library.js +2 -3
- package/src/sap/fe/test/library.ts +0 -1
|
@@ -39,7 +39,6 @@ sap.ui.define(
|
|
|
39
39
|
|
|
40
40
|
/**
|
|
41
41
|
* Constructs a new TableActions instance.
|
|
42
|
-
*
|
|
43
42
|
* @param {sap.fe.test.builder.TableBuilder} oBuilderInstance The builder instance used to interact with the UI
|
|
44
43
|
* @param {string} [vTableDescription] Description (optional) of the table to be used for logging messages
|
|
45
44
|
* @returns {sap.fe.test.api.TableActions} The new instance
|
|
@@ -58,7 +57,6 @@ sap.ui.define(
|
|
|
58
57
|
|
|
59
58
|
/**
|
|
60
59
|
* Presses the control in the table cell.
|
|
61
|
-
*
|
|
62
60
|
* @param {object} [mRowValues] Specifies the target row by column-value map, e.g.
|
|
63
61
|
* <code><pre>
|
|
64
62
|
* {
|
|
@@ -91,7 +89,6 @@ sap.ui.define(
|
|
|
91
89
|
|
|
92
90
|
/**
|
|
93
91
|
* Selects the specified rows.
|
|
94
|
-
*
|
|
95
92
|
* @param {object | number} [vRowValues] Defines the row values of the target row. The pattern is:
|
|
96
93
|
* <code><pre>
|
|
97
94
|
* {
|
|
@@ -123,7 +120,6 @@ sap.ui.define(
|
|
|
123
120
|
|
|
124
121
|
/**
|
|
125
122
|
* Selects all rows in a table.
|
|
126
|
-
*
|
|
127
123
|
* @returns {object} The result of the {@link sap.ui.test.Opa5#waitFor} function, to be used for chained statements
|
|
128
124
|
* @public
|
|
129
125
|
*/
|
|
@@ -139,7 +135,6 @@ sap.ui.define(
|
|
|
139
135
|
|
|
140
136
|
/**
|
|
141
137
|
* Clicks the specified row.
|
|
142
|
-
*
|
|
143
138
|
* @param {object | number} [vRowValues] Defines the row values of the target row. The pattern is:
|
|
144
139
|
* <code><pre>
|
|
145
140
|
* {
|
|
@@ -163,7 +158,6 @@ sap.ui.define(
|
|
|
163
158
|
|
|
164
159
|
/**
|
|
165
160
|
* Expands a row corresponding to a visual group.
|
|
166
|
-
*
|
|
167
161
|
* @param {number} iLevel The level of the group row to be expanded (1-based)
|
|
168
162
|
* @param {string} sTitle The title of the group row to be expanded
|
|
169
163
|
* @returns {object} The result of the {@link sap.ui.test.Opa5#waitFor} function, to be used for chained statements
|
|
@@ -182,7 +176,6 @@ sap.ui.define(
|
|
|
182
176
|
|
|
183
177
|
/**
|
|
184
178
|
* Collapses a row corresponding to a visual group.
|
|
185
|
-
*
|
|
186
179
|
* @param {number} iLevel The level of the group row to be collapsed (1-based)
|
|
187
180
|
* @param {string} sTitle The title of the group row to be collapsed
|
|
188
181
|
* @returns {object} The result of the {@link sap.ui.test.Opa5#waitFor} function, to be used for chained statements
|
|
@@ -201,7 +194,6 @@ sap.ui.define(
|
|
|
201
194
|
|
|
202
195
|
/**
|
|
203
196
|
* Scrolls up/down to the first/last row of the table.
|
|
204
|
-
*
|
|
205
197
|
* @param {string} [sDirection] The scroll direction "up" or "down" (default)
|
|
206
198
|
* @returns {object} The result of the {@link sap.ui.test.Opa5#waitFor} function, to be used for chained statements
|
|
207
199
|
* @ui5-restricted
|
|
@@ -219,7 +211,6 @@ sap.ui.define(
|
|
|
219
211
|
|
|
220
212
|
/**
|
|
221
213
|
* Scrolls update the grow threshold of responsive table and rebind the table.
|
|
222
|
-
*
|
|
223
214
|
* @returns {object} The result of the {@link sap.ui.test.Opa5#waitFor} function, to be used for chained statements
|
|
224
215
|
* @ui5-restricted
|
|
225
216
|
*/
|
|
@@ -235,7 +226,6 @@ sap.ui.define(
|
|
|
235
226
|
*
|
|
236
227
|
* If only one parameter is provided, it must be the <code>mTargetValues</code> and <code>mRowValues</code> is considered undefined.
|
|
237
228
|
* If <code>vRowValues</code> are not defined, then the targetValues are inserted in the creationRow.
|
|
238
|
-
*
|
|
239
229
|
* @param {object | number} [vRowValues] Defines the row values of the target row. The pattern is:
|
|
240
230
|
* <code><pre>
|
|
241
231
|
* {
|
|
@@ -281,7 +271,6 @@ sap.ui.define(
|
|
|
281
271
|
|
|
282
272
|
/**
|
|
283
273
|
* Executes an action on the table.
|
|
284
|
-
*
|
|
285
274
|
* @param {string | sap.fe.test.api.ActionIdentifier} [vActionIdentifier] The identifier of the action, or its label
|
|
286
275
|
* @returns {object} The result of the {@link sap.ui.test.Opa5#waitFor} function, to be used for chained statements
|
|
287
276
|
* @public
|
|
@@ -299,7 +288,6 @@ sap.ui.define(
|
|
|
299
288
|
|
|
300
289
|
/**
|
|
301
290
|
* Executes an action form the drop-down menu that is currently open.
|
|
302
|
-
*
|
|
303
291
|
* @param {string | object} vAction The label of the action or its state
|
|
304
292
|
* @returns {object} The result of the {@link sap.ui.test.Opa5#waitFor} function, to be used for chained statements
|
|
305
293
|
* @public
|
|
@@ -310,7 +298,6 @@ sap.ui.define(
|
|
|
310
298
|
|
|
311
299
|
/**
|
|
312
300
|
* Executes the <code>Show/Hide details</code> action on the table.
|
|
313
|
-
*
|
|
314
301
|
* @param {boolean} [bShowDetails] Optional parameter to enforce a certain state (showing details yes/no corresponds to true/false); if not set, state is toggled
|
|
315
302
|
* @returns {object} The result of the {@link sap.ui.test.Opa5#waitFor} function, to be used for chained statements
|
|
316
303
|
* @public
|
|
@@ -333,7 +320,6 @@ sap.ui.define(
|
|
|
333
320
|
|
|
334
321
|
/**
|
|
335
322
|
* Executes the <code>Delete</code> action on the table.
|
|
336
|
-
*
|
|
337
323
|
* @returns {object} The result of the {@link sap.ui.test.Opa5#waitFor} function, to be used for chained statements
|
|
338
324
|
* @public
|
|
339
325
|
*/
|
|
@@ -351,7 +337,6 @@ sap.ui.define(
|
|
|
351
337
|
|
|
352
338
|
/**
|
|
353
339
|
* Selects a quick-filter item on the table.
|
|
354
|
-
*
|
|
355
340
|
* @param {object | string} [vItemIdentifier] If passed as an object, the following pattern will be considered:
|
|
356
341
|
* <code><pre>
|
|
357
342
|
* {
|
|
@@ -385,7 +370,6 @@ sap.ui.define(
|
|
|
385
370
|
|
|
386
371
|
/**
|
|
387
372
|
* Executes the <code>Create</code> action on the table.
|
|
388
|
-
*
|
|
389
373
|
* @returns {object} The result of the {@link sap.ui.test.Opa5#waitFor} function, to be used for chained statements
|
|
390
374
|
* @public
|
|
391
375
|
*/
|
|
@@ -403,7 +387,6 @@ sap.ui.define(
|
|
|
403
387
|
|
|
404
388
|
/**
|
|
405
389
|
* Executes the <code>Fullscreen</code> action on the table.
|
|
406
|
-
*
|
|
407
390
|
* @returns {object} The result of the {@link sap.ui.test.Opa5#waitFor} function, to be used for chained statements
|
|
408
391
|
* @public
|
|
409
392
|
*/
|
|
@@ -421,7 +404,6 @@ sap.ui.define(
|
|
|
421
404
|
|
|
422
405
|
/**
|
|
423
406
|
* Executes the action to create a row in the table.
|
|
424
|
-
*
|
|
425
407
|
* @returns {object} The result of the {@link sap.ui.test.Opa5#waitFor} function, to be used for chained statements
|
|
426
408
|
* @public
|
|
427
409
|
*/
|
|
@@ -444,7 +426,6 @@ sap.ui.define(
|
|
|
444
426
|
|
|
445
427
|
/**
|
|
446
428
|
* Executes an action that is available in a certain column within a table row.
|
|
447
|
-
*
|
|
448
429
|
* @param {object | number} [vRowValues] Defines the row values of the target row. The pattern is:
|
|
449
430
|
* <code><pre>
|
|
450
431
|
* {
|
|
@@ -487,7 +468,6 @@ sap.ui.define(
|
|
|
487
468
|
* Executes a keyboard shortcut on the table or a cell control.
|
|
488
469
|
* If only <code>sShortcut</code> is defined, the shortcut is executed on the table directly.
|
|
489
470
|
* If additionally <code>vRowValues</code> and <code>vColumn</code> are defined, the shortcut is executed on table cell level.
|
|
490
|
-
*
|
|
491
471
|
* @param {string} sShortcut The shortcut pattern
|
|
492
472
|
* @param {object | number} [vRowValues] Defines the row values of the target row. The pattern is:
|
|
493
473
|
* <code><pre>
|
|
@@ -521,7 +501,6 @@ sap.ui.define(
|
|
|
521
501
|
|
|
522
502
|
/**
|
|
523
503
|
* Saves a variant under the given name, or overwrites the current one.
|
|
524
|
-
*
|
|
525
504
|
* @param {string} [sVariantName] The name of the new variant. If omitted, the current variant will be overwritten
|
|
526
505
|
* @returns {object} The result of the {@link sap.ui.test.Opa5#waitFor} function, to be used for chained statements
|
|
527
506
|
* @public
|
|
@@ -548,7 +527,6 @@ sap.ui.define(
|
|
|
548
527
|
|
|
549
528
|
/**
|
|
550
529
|
* Removes the variant of the given name.
|
|
551
|
-
*
|
|
552
530
|
* @param {string} sVariantName The name of the variant to be removed
|
|
553
531
|
* @returns {object} The result of the {@link sap.ui.test.Opa5#waitFor} function, to be used for chained statements
|
|
554
532
|
* @public
|
|
@@ -571,7 +549,6 @@ sap.ui.define(
|
|
|
571
549
|
|
|
572
550
|
/**
|
|
573
551
|
* Selects the chosen variant.
|
|
574
|
-
*
|
|
575
552
|
* @param {string} sVariantName The name of the variant to be selected
|
|
576
553
|
* @returns {object} The result of the {@link sap.ui.test.Opa5#waitFor} function, to be used for chained statements
|
|
577
554
|
* @public
|
|
@@ -594,7 +571,6 @@ sap.ui.define(
|
|
|
594
571
|
|
|
595
572
|
/**
|
|
596
573
|
* Sets the variant as the default.
|
|
597
|
-
*
|
|
598
574
|
* @param {string} sVariantName The name of the variant to be set as the default variant. If omitted, the Standard variant is set as the default
|
|
599
575
|
* @returns {object} The result of the {@link sap.ui.test.Opa5#waitFor} function, to be used for chained statements
|
|
600
576
|
* @public
|
|
@@ -631,7 +607,6 @@ sap.ui.define(
|
|
|
631
607
|
|
|
632
608
|
/**
|
|
633
609
|
* Adds a field as a column to the table.
|
|
634
|
-
*
|
|
635
610
|
* @param {string | sap.fe.test.api.ColumnIdentifier} vColumnIdentifier The identifier of the column field, or its label
|
|
636
611
|
* @returns {object} The result of the {@link sap.ui.test.Opa5#waitFor} function, to be used for chained statements
|
|
637
612
|
* @public
|
|
@@ -647,7 +622,6 @@ sap.ui.define(
|
|
|
647
622
|
|
|
648
623
|
/**
|
|
649
624
|
* Removes a field as a column from the table.
|
|
650
|
-
*
|
|
651
625
|
* @param {string | sap.fe.test.api.ColumnIdentifier} vColumnIdentifier The identifier of the column field, or its label
|
|
652
626
|
* @returns {object} The result of the {@link sap.ui.test.Opa5#waitFor} function, to be used for chained statements
|
|
653
627
|
* @public
|
|
@@ -663,7 +637,6 @@ sap.ui.define(
|
|
|
663
637
|
|
|
664
638
|
/**
|
|
665
639
|
* Adds a field to the sorting of the table via the sort dialog.
|
|
666
|
-
*
|
|
667
640
|
* @param {string | sap.fe.test.api.ColumnIdentifier} vColumnIdentifier The identifier of the column field, or its label
|
|
668
641
|
* @param {sap.ui.core.SortOrder} [sSortOrder] The sort order, default is {@link sap.ui.core.SortOrder.Ascending}
|
|
669
642
|
* @returns {object} The result of the {@link sap.ui.test.Opa5#waitFor} function, to be used for chained statements
|
|
@@ -726,7 +699,6 @@ sap.ui.define(
|
|
|
726
699
|
|
|
727
700
|
/**
|
|
728
701
|
* Sorts the table entries by the specified column.
|
|
729
|
-
*
|
|
730
702
|
* @param {string | sap.fe.test.api.ColumnIdentifier | number} vColumnIdentifier The identifier of the column field, its label or index
|
|
731
703
|
* @param {string} [sFieldLabel] The target field for sorting in case the field label differs from the column label or in case of a complex property
|
|
732
704
|
* @param {boolean} [bDescending] Sorting (true=descending, false=ascending (default))
|
|
@@ -758,7 +730,6 @@ sap.ui.define(
|
|
|
758
730
|
|
|
759
731
|
/**
|
|
760
732
|
* Groups the table entries by the specified column.
|
|
761
|
-
*
|
|
762
733
|
* @param {string | sap.fe.test.api.ColumnIdentifier | number} vColumnIdentifier The identifier of the column field, its label or index
|
|
763
734
|
* @param {string} [sFieldLabel] The target field for grouping. If undefined, parameter vColumnIdentifier is used as label to identify the toggle button.
|
|
764
735
|
* @returns {object} The result of the {@link sap.ui.test.Opa5#waitFor} function, to be used for chained statements
|
|
@@ -785,7 +756,6 @@ sap.ui.define(
|
|
|
785
756
|
|
|
786
757
|
/**
|
|
787
758
|
* Aggregates the table entries by the specified column.
|
|
788
|
-
*
|
|
789
759
|
* @param {string | sap.fe.test.api.ColumnIdentifier | number} vColumnIdentifier The identifier of the column field, its label or index
|
|
790
760
|
* @param {string} [sFieldLabel] The target field to group on. If undefined, parameter vColumnIdentifier is used as label to identify the toggle button.
|
|
791
761
|
* @returns {object} The result of the {@link sap.ui.test.Opa5#waitFor} function, to be used for chained statements
|
|
@@ -811,7 +781,6 @@ sap.ui.define(
|
|
|
811
781
|
|
|
812
782
|
/**
|
|
813
783
|
* Changes the search field.
|
|
814
|
-
*
|
|
815
784
|
* @param {string} [sSearchText] The new search text
|
|
816
785
|
* @returns {object} The result of the {@link sap.ui.test.Opa5#waitFor} function, to be used for chained statements
|
|
817
786
|
* @public
|
|
@@ -829,7 +798,6 @@ sap.ui.define(
|
|
|
829
798
|
|
|
830
799
|
/**
|
|
831
800
|
* Resets the search field.
|
|
832
|
-
*
|
|
833
801
|
* @returns {object} The result of the {@link sap.ui.test.Opa5#waitFor} function, to be used for chained statements
|
|
834
802
|
* @public
|
|
835
803
|
*/
|
|
@@ -844,7 +812,6 @@ sap.ui.define(
|
|
|
844
812
|
|
|
845
813
|
/**
|
|
846
814
|
* Adds a filter condition to the filter field.
|
|
847
|
-
*
|
|
848
815
|
* @param {string | sap.fe.test.api.ColumnIdentifier} vColumnIdentifier The identifier of the column
|
|
849
816
|
* @param {string | object} vValue Defines the value of the filter field condition
|
|
850
817
|
* @param {boolean} [bClearFirst] Set to <code>true</code> to clear previously set filters, otherwise all previously set values will be kept
|
|
@@ -952,7 +919,6 @@ sap.ui.define(
|
|
|
952
919
|
|
|
953
920
|
/**
|
|
954
921
|
* Opens the value help of a filter field on the filter dialog.
|
|
955
|
-
*
|
|
956
922
|
* @param {string | sap.fe.test.api.ColumnIdentifier} vColumnIdentifier The identifier of the column
|
|
957
923
|
* @returns {object} The result of the {@link sap.ui.test.Opa5#waitFor} function, to be used for chained statements
|
|
958
924
|
* @ui5-restricted
|
|
@@ -1017,7 +983,6 @@ sap.ui.define(
|
|
|
1017
983
|
|
|
1018
984
|
/**
|
|
1019
985
|
* Pastes data into the table.
|
|
1020
|
-
*
|
|
1021
986
|
* @param {string[][]} aData The data to be pasted
|
|
1022
987
|
* @returns {object} The result of the {@link sap.ui.test.Opa5#waitFor} function, to be used for chained statements
|
|
1023
988
|
* @public
|
|
@@ -1033,7 +998,6 @@ sap.ui.define(
|
|
|
1033
998
|
|
|
1034
999
|
/**
|
|
1035
1000
|
* Presses the messageStrip filter in case of issues, warnings or error message on the table.
|
|
1036
|
-
*
|
|
1037
1001
|
* @returns {object} The result of the {@link sap.ui.test.Opa5#waitFor} function, to be used for chained statements
|
|
1038
1002
|
* @public
|
|
1039
1003
|
* @ui5-restricted
|
|
@@ -23,7 +23,6 @@ sap.ui.define(
|
|
|
23
23
|
|
|
24
24
|
/**
|
|
25
25
|
* Constructs a new TableAssertions instance.
|
|
26
|
-
*
|
|
27
26
|
* @param {sap.fe.test.builder.TableBuilder} oBuilderInstance The builder instance used to interact with the UI
|
|
28
27
|
* @param {string} [vTableDescription] Description (optional) of the table to be used for logging messages
|
|
29
28
|
* @returns {sap.fe.test.api.TableAssertions} The new instance
|
|
@@ -42,7 +41,6 @@ sap.ui.define(
|
|
|
42
41
|
|
|
43
42
|
/**
|
|
44
43
|
* Checks the state of the table.
|
|
45
|
-
*
|
|
46
44
|
* @param {object} [mState] Defines the expected state of the table
|
|
47
45
|
* @returns {object} The result of the {@link sap.ui.test.Opa5#waitFor} function, to be used for chained statements
|
|
48
46
|
* @public
|
|
@@ -79,7 +77,6 @@ sap.ui.define(
|
|
|
79
77
|
* If <code>iNumberOfRows</code> is provided, the number of rows are checked with respect to the provided <code>mRowValues</code> (if set) or in total.
|
|
80
78
|
* If <code>iNumberOfRows</code> is omitted, it checks for at least one matching row.
|
|
81
79
|
* If <code>mState</code> is provided, the row must be in the given state.
|
|
82
|
-
*
|
|
83
80
|
* @param {object} [mRowValues] Defines the row values of the target row. The pattern is:
|
|
84
81
|
* <code><pre>
|
|
85
82
|
* {
|
|
@@ -131,7 +128,6 @@ sap.ui.define(
|
|
|
131
128
|
|
|
132
129
|
/**
|
|
133
130
|
* Checks the state of the CreationRow button in the table.
|
|
134
|
-
*
|
|
135
131
|
* @param {object} [mRowValues] Defines the expected row values. The pattern is:
|
|
136
132
|
* <code><pre>
|
|
137
133
|
* {
|
|
@@ -168,7 +164,6 @@ sap.ui.define(
|
|
|
168
164
|
|
|
169
165
|
/**
|
|
170
166
|
* Checks the number of items in the quick-filter menu.
|
|
171
|
-
*
|
|
172
167
|
* @param {number} iExpectedNumberOfItems The expected number of quick-filter items
|
|
173
168
|
* @returns {object} The result of the {@link sap.ui.test.Opa5#waitFor} function, to be used for chained statements
|
|
174
169
|
* @public
|
|
@@ -186,7 +181,6 @@ sap.ui.define(
|
|
|
186
181
|
|
|
187
182
|
/**
|
|
188
183
|
* Checks the state of the columns of the table.
|
|
189
|
-
*
|
|
190
184
|
* @param {number} [iExpectedNumberOfColumns] The expected number of columns
|
|
191
185
|
* @param {object} [mColumnStateMap] A map of columns and their expected state. The map looks like
|
|
192
186
|
* <code><pre>
|
|
@@ -228,7 +222,6 @@ sap.ui.define(
|
|
|
228
222
|
|
|
229
223
|
/**
|
|
230
224
|
* Checks the state of the cells of a table.
|
|
231
|
-
*
|
|
232
225
|
* @param {object | number} [vRowValues] Defines the row values of the target row. The pattern is:
|
|
233
226
|
* <code><pre>
|
|
234
227
|
* {
|
|
@@ -270,7 +263,6 @@ sap.ui.define(
|
|
|
270
263
|
|
|
271
264
|
/**
|
|
272
265
|
* Checks the state of a table action.
|
|
273
|
-
*
|
|
274
266
|
* @param {string | sap.fe.test.api.ActionIdentifier} vActionIdentifier The identifier of the action, or its label
|
|
275
267
|
* @param {object} [mState] Defines the expected state of the button
|
|
276
268
|
* @returns {object} The result of the {@link sap.ui.test.Opa5#waitFor} function, to be used for chained statements
|
|
@@ -309,7 +301,6 @@ sap.ui.define(
|
|
|
309
301
|
|
|
310
302
|
/**
|
|
311
303
|
* Checks an action in the drop-down menu that is currently open.
|
|
312
|
-
*
|
|
313
304
|
* @param {object | string} vAction The label of the action, or its state
|
|
314
305
|
* @returns {object} The result of the {@link sap.ui.test.Opa5#waitFor} function, to be used for chained statements
|
|
315
306
|
* @public
|
|
@@ -320,7 +311,6 @@ sap.ui.define(
|
|
|
320
311
|
|
|
321
312
|
/**
|
|
322
313
|
* Checks the <code>Delete</code> action of the table.
|
|
323
|
-
*
|
|
324
314
|
* @param {object} [mState] Defines the expected state of the button
|
|
325
315
|
* @returns {object} The result of the {@link sap.ui.test.Opa5#waitFor} function, to be used for chained statements
|
|
326
316
|
* @public
|
|
@@ -331,7 +321,6 @@ sap.ui.define(
|
|
|
331
321
|
|
|
332
322
|
/**
|
|
333
323
|
* Checks the search field in the table toolbar. If the <code>sSearchText</code> parameter is <code>undefined</code>, the search text is not validated.
|
|
334
|
-
*
|
|
335
324
|
* @param {string} [sSearchText] The expected text in the search field
|
|
336
325
|
* @param {object} [mState] Defines the expected state of the search field
|
|
337
326
|
* @returns {object} The result of the {@link sap.ui.test.Opa5#waitFor} function that can be used for chaining statements
|
|
@@ -357,7 +346,6 @@ sap.ui.define(
|
|
|
357
346
|
|
|
358
347
|
/**
|
|
359
348
|
* Checks the <code>Create</code> action of the table.
|
|
360
|
-
*
|
|
361
349
|
* @param {object} [mState] Defines the expected state of the button
|
|
362
350
|
* @returns {object} The result of the {@link sap.ui.test.Opa5#waitFor} function, to be used for chained statements
|
|
363
351
|
* @public
|
|
@@ -368,7 +356,6 @@ sap.ui.define(
|
|
|
368
356
|
|
|
369
357
|
/**
|
|
370
358
|
* Checks whether the paste button is available for the table.
|
|
371
|
-
*
|
|
372
359
|
* @returns {object} The result of the {@link sap.ui.test.Opa5#waitFor} function, to be used for chained statements
|
|
373
360
|
* @public
|
|
374
361
|
*/
|
|
@@ -384,7 +371,6 @@ sap.ui.define(
|
|
|
384
371
|
|
|
385
372
|
/**
|
|
386
373
|
* Checks the <code>Fullscreen</code> action of the table.
|
|
387
|
-
*
|
|
388
374
|
* @param {object} [mState] Defines the expected state of the button
|
|
389
375
|
* @returns {object} The result of the {@link sap.ui.test.Opa5#waitFor} function, to be used for chained statements
|
|
390
376
|
* @public
|
|
@@ -406,7 +392,6 @@ sap.ui.define(
|
|
|
406
392
|
|
|
407
393
|
/**
|
|
408
394
|
* Checks whether the adaptation button is available for the table.
|
|
409
|
-
*
|
|
410
395
|
* @returns {object} The result of the {@link sap.ui.test.Opa5#waitFor} function, to be used for chained statements
|
|
411
396
|
* @public
|
|
412
397
|
*/
|
|
@@ -416,7 +401,6 @@ sap.ui.define(
|
|
|
416
401
|
|
|
417
402
|
/**
|
|
418
403
|
* Checks whether the sort button is available for the table.
|
|
419
|
-
*
|
|
420
404
|
* @returns {object} The result of the {@link sap.ui.test.Opa5#waitFor} function, to be used for chained statements
|
|
421
405
|
* @public
|
|
422
406
|
*/
|
|
@@ -428,7 +412,6 @@ sap.ui.define(
|
|
|
428
412
|
|
|
429
413
|
/**
|
|
430
414
|
* Checks whether the filter button is available for the table.
|
|
431
|
-
*
|
|
432
415
|
* @returns {object} The result of the {@link sap.ui.test.Opa5#waitFor} function, to be used for chained statements
|
|
433
416
|
* @public
|
|
434
417
|
*/
|
|
@@ -441,7 +424,6 @@ sap.ui.define(
|
|
|
441
424
|
|
|
442
425
|
/**
|
|
443
426
|
* Checks whether the export button is available for the table.
|
|
444
|
-
*
|
|
445
427
|
* @returns {object} The result of the {@link sap.ui.test.Opa5#waitFor} function, to be used for chained statements
|
|
446
428
|
* @public
|
|
447
429
|
*/
|
|
@@ -457,7 +439,6 @@ sap.ui.define(
|
|
|
457
439
|
|
|
458
440
|
/**
|
|
459
441
|
* Checks the quick filter action of the table.
|
|
460
|
-
*
|
|
461
442
|
* @param {object} [mState] Defines the expected state of the control
|
|
462
443
|
* @returns {object} The result of the {@link sap.ui.test.Opa5#waitFor} function, to be used for chained statements
|
|
463
444
|
* @public
|
|
@@ -480,7 +461,6 @@ sap.ui.define(
|
|
|
480
461
|
|
|
481
462
|
/**
|
|
482
463
|
* Checks whether the column adaptation dialog is open.
|
|
483
|
-
*
|
|
484
464
|
* @returns {object} The result of the {@link sap.ui.test.Opa5#waitFor} function, to be used for chained statements
|
|
485
465
|
* @public
|
|
486
466
|
*/
|
|
@@ -495,7 +475,6 @@ sap.ui.define(
|
|
|
495
475
|
|
|
496
476
|
/**
|
|
497
477
|
* Checks a field in the adaptation dialog.
|
|
498
|
-
*
|
|
499
478
|
* @param {string | sap.fe.test.api.ColumnIdentifier} vColumnIdentifier The identifier of the column, or its label
|
|
500
479
|
* @param {object} [mState] Defines the expected state of the field control in the adaptation dialog
|
|
501
480
|
* @returns {object} The result of the {@link sap.ui.test.Opa5#waitFor} function, to be used for chained statements
|
|
@@ -517,7 +496,6 @@ sap.ui.define(
|
|
|
517
496
|
|
|
518
497
|
/**
|
|
519
498
|
* Checks a field in the sorting dialog.
|
|
520
|
-
*
|
|
521
499
|
* @param {string | sap.fe.test.api.ColumnIdentifier} vColumnIdentifier The identifier of the column, or its label
|
|
522
500
|
* @param {sap.ui.core.SortOrder} [sSortOrder] The sort order of the column, default is {@link sap.ui.core.SortOrder.Ascending}
|
|
523
501
|
* @param {boolean} [bCheckPersonalization] Defines if the order is checked via sorting dialog, or via the column itself
|
|
@@ -553,7 +531,6 @@ sap.ui.define(
|
|
|
553
531
|
|
|
554
532
|
/**
|
|
555
533
|
* Checks, if a filter field is available in the filter dialog.
|
|
556
|
-
*
|
|
557
534
|
* @param {string | sap.fe.test.api.ColumnIdentifier} vColumnIdentifier The identifier of the field, or its label
|
|
558
535
|
* @param {object} [mState] Defines the expected state of the field control in the filter dialog
|
|
559
536
|
* @returns {object} The result of the {@link sap.ui.test.Opa5#waitFor} function, to be used for chained statements
|
|
@@ -739,7 +716,6 @@ sap.ui.define(
|
|
|
739
716
|
|
|
740
717
|
/**
|
|
741
718
|
* Checks a messageStrip on a table.
|
|
742
|
-
*
|
|
743
719
|
* @param {object} [mProperty] Defines the expected properties of the messageStrip in the table
|
|
744
720
|
* @returns {object} The result of the {@link sap.ui.test.Opa5#waitFor} function, to be used for chained statements
|
|
745
721
|
* @public
|
|
@@ -763,7 +739,6 @@ sap.ui.define(
|
|
|
763
739
|
|
|
764
740
|
/**
|
|
765
741
|
* Checks if the focus is on a table.
|
|
766
|
-
*
|
|
767
742
|
* @returns {object} The result of the {@link sap.ui.test.Opa5#waitFor} function, to be used for chained statements
|
|
768
743
|
* @public
|
|
769
744
|
*/
|
|
@@ -779,7 +754,6 @@ sap.ui.define(
|
|
|
779
754
|
|
|
780
755
|
/**
|
|
781
756
|
* Checks if the focus is on a table row.
|
|
782
|
-
*
|
|
783
757
|
* @param {number} iRowIndex The expected focused row
|
|
784
758
|
* @returns {object} The result of the {@link sap.ui.test.Opa5#waitFor} function, to be used for chained statements
|
|
785
759
|
* @public
|
|
@@ -798,7 +772,6 @@ sap.ui.define(
|
|
|
798
772
|
* Checks if a given column supports grouping.
|
|
799
773
|
* If <code>sFieldLabel</code> is not provided, we check for all grouping actions for the specified column in the column header context menu.
|
|
800
774
|
* If <code>sFieldLabel</code> is provided, we check that the column can be grouped on this field.
|
|
801
|
-
*
|
|
802
775
|
* @param {string | sap.fe.test.api.ColumnIdentifier | number} vColumnIdentifier The identifier of the column field, its label or index
|
|
803
776
|
* @param {number} iExpectedNumber The expected number of group options
|
|
804
777
|
* @param {string} sFieldLabel The target field to group on in case of a complex property
|
|
@@ -828,7 +801,6 @@ sap.ui.define(
|
|
|
828
801
|
* If <code>iExpectedNumber</code> and <code>sFieldLabel</code> are not provided, we just check that the column header has an aggregation icon.
|
|
829
802
|
* If <code>iExpectedNumber</code> is provided, we check that the column has exactly this number of aggregation options.
|
|
830
803
|
* If <code>sFieldLabel</code> is provided, we check that the column can be aggregated on this field.
|
|
831
|
-
*
|
|
832
804
|
* @param {string | sap.fe.test.api.ColumnIdentifier | number} vColumnIdentifier The identifier of the column field, its label or index
|
|
833
805
|
* @param {number} iExpectedNumber The expected number of aggregation options
|
|
834
806
|
* @param {string} sFieldLabel The target field to aggregate on in case of a complex property
|
|
@@ -83,7 +83,6 @@ sap.ui.define(
|
|
|
83
83
|
/**
|
|
84
84
|
* Returns the matcher for states, which might be control specific. This function is meant to be overridden
|
|
85
85
|
* by concrete control builder if necessary.
|
|
86
|
-
*
|
|
87
86
|
* @param {any} mState
|
|
88
87
|
* @returns {Function} The state matcher function
|
|
89
88
|
* @protected
|
|
@@ -302,7 +301,6 @@ sap.ui.define(
|
|
|
302
301
|
/**
|
|
303
302
|
* Creates a matcher function that is identifying a control by id.
|
|
304
303
|
* The result will be true in case of the string was found, otherwise false.
|
|
305
|
-
*
|
|
306
304
|
* @param {string|RegExp} vId The string/RegExp to be used for identifying the control
|
|
307
305
|
* @returns {Function} The matcher function returning true/false
|
|
308
306
|
* @public
|
|
@@ -320,7 +318,6 @@ sap.ui.define(
|
|
|
320
318
|
/**
|
|
321
319
|
* Creates a matcher function that is identifying a control by type.
|
|
322
320
|
* The result will be true in case of the string was found, otherwise false.
|
|
323
|
-
*
|
|
324
321
|
* @param {string|RegExp} vType The string/RegExp to be used for identifying the control
|
|
325
322
|
* @returns {Function} The matcher function returning true/false
|
|
326
323
|
* @public
|
|
@@ -337,7 +334,6 @@ sap.ui.define(
|
|
|
337
334
|
},
|
|
338
335
|
/**
|
|
339
336
|
* Creates a matcher that returns the element at <code>iIndex</code> from input array.
|
|
340
|
-
*
|
|
341
337
|
* @param {number} iIndex The index of the element to be returned
|
|
342
338
|
* @returns {Function} The matcher function returning element at given index
|
|
343
339
|
*/
|
|
@@ -389,7 +385,6 @@ sap.ui.define(
|
|
|
389
385
|
},
|
|
390
386
|
/**
|
|
391
387
|
* Supports an aggregation path to deeper aggregations like "actions/action" or "content/items/control".
|
|
392
|
-
*
|
|
393
388
|
* @param {string} sAggregationPath The aggregation path
|
|
394
389
|
* @param {any} [vMatchers] Matchers against target controls
|
|
395
390
|
* @returns {function(*): *} A matcher function that returns always an array with matching controls
|
|
@@ -20,7 +20,6 @@ sap.ui.define(["./FEBuilder", "sap/ui/test/OpaBuilder", "sap/fe/test/Utils"], fu
|
|
|
20
20
|
|
|
21
21
|
/**
|
|
22
22
|
* Checks if a KPI tag exists with a given label and other optional properties.
|
|
23
|
-
*
|
|
24
23
|
* @param {string} sKPILabel The label of the KPI
|
|
25
24
|
* @param {object} oKPIProperties Additional optional properties on the KPI (status, number, or unit)
|
|
26
25
|
* @returns {sap.fe.test.builder.KPIBuilder} This instance
|
|
@@ -51,7 +50,6 @@ sap.ui.define(["./FEBuilder", "sap/ui/test/OpaBuilder", "sap/fe/test/Utils"], fu
|
|
|
51
50
|
|
|
52
51
|
/**
|
|
53
52
|
* Clicks on a KPI tag to open the card.
|
|
54
|
-
*
|
|
55
53
|
* @param {string} sKPILabel The label of the KPI
|
|
56
54
|
* @returns {sap.fe.test.builder.KPIBuilder} This instance
|
|
57
55
|
* @private
|
|
@@ -64,7 +62,6 @@ sap.ui.define(["./FEBuilder", "sap/ui/test/OpaBuilder", "sap/fe/test/Utils"], fu
|
|
|
64
62
|
|
|
65
63
|
/**
|
|
66
64
|
* Checks if a KPI Card is displayed.
|
|
67
|
-
*
|
|
68
65
|
* @returns {sap.fe.test.builder.KPIBuilder} This instance
|
|
69
66
|
* @private
|
|
70
67
|
*/
|
|
@@ -74,7 +71,6 @@ sap.ui.define(["./FEBuilder", "sap/ui/test/OpaBuilder", "sap/fe/test/Utils"], fu
|
|
|
74
71
|
|
|
75
72
|
/**
|
|
76
73
|
* Clicks on the KPI card header.
|
|
77
|
-
*
|
|
78
74
|
* @returns {sap.fe.test.builder.KPIBuilder} This instance
|
|
79
75
|
*/
|
|
80
76
|
KPIBuilder.prototype.doClickKPICardHeader = function () {
|
|
@@ -83,7 +79,6 @@ sap.ui.define(["./FEBuilder", "sap/ui/test/OpaBuilder", "sap/fe/test/Utils"], fu
|
|
|
83
79
|
|
|
84
80
|
/**
|
|
85
81
|
* Applies a matcher to the content of the card header.
|
|
86
|
-
*
|
|
87
82
|
* @param {sap.ui.test.matchers.Matcher} vMatcher The matcher to filter child items
|
|
88
83
|
* @param {boolean} bDirectChild Specifies if the matcher should be applied only to direct children or all descendants
|
|
89
84
|
* @returns {sap.fe.test.builder.KPIBuilder} This instance
|
|
@@ -96,7 +91,6 @@ sap.ui.define(["./FEBuilder", "sap/ui/test/OpaBuilder", "sap/fe/test/Utils"], fu
|
|
|
96
91
|
|
|
97
92
|
/**
|
|
98
93
|
* Applies a matcher to the card chart.
|
|
99
|
-
*
|
|
100
94
|
* @param {sap.ui.test.matchers.Matcher} vMatcher The matcher to be applied to the chart
|
|
101
95
|
* @returns {sap.fe.test.builder.KPIBuilder} This instance
|
|
102
96
|
*/
|
|
@@ -15,7 +15,6 @@ sap.ui.define(
|
|
|
15
15
|
* This function checks whether the expected value is fulfilled by the checked value.
|
|
16
16
|
* Both values can be either an array or a single element.
|
|
17
17
|
* In case of arrays, the it checks the second parameter to start with the same vales as the expected value array.
|
|
18
|
-
*
|
|
19
18
|
* @param {any} vExpectedValue
|
|
20
19
|
* @param {any} vValueToCheck
|
|
21
20
|
* @returns {boolean} `true` if expected values are met, `false` else
|
|
@@ -32,7 +31,6 @@ sap.ui.define(
|
|
|
32
31
|
|
|
33
32
|
/**
|
|
34
33
|
* This function checks the current value against expected values with respect to the display type.
|
|
35
|
-
*
|
|
36
34
|
* @param {sap.ui.mdc.enums.FieldDisplay} sDisplay The type of display
|
|
37
35
|
* @param {any} oExpectedValue
|
|
38
36
|
* @param {any} oExpectedDescription
|
|
@@ -113,7 +111,6 @@ sap.ui.define(
|
|
|
113
111
|
|
|
114
112
|
/**
|
|
115
113
|
* Checks for certain condition value(s).
|
|
116
|
-
*
|
|
117
114
|
* @param {string|object|Array} [vValue] The expected value(s)
|
|
118
115
|
* @param {string} [sOperator] The expected operator
|
|
119
116
|
* @returns {sap.fe.test.builder.FieldBuilder} `this`
|
|
@@ -130,7 +127,6 @@ sap.ui.define(
|
|
|
130
127
|
|
|
131
128
|
/**
|
|
132
129
|
* Changes the value of the field.
|
|
133
|
-
*
|
|
134
130
|
* @param {string} vValue The new value
|
|
135
131
|
* @returns {sap.fe.test.builder.FieldBuilder} `this`
|
|
136
132
|
* @public
|
|
@@ -146,7 +142,6 @@ sap.ui.define(
|
|
|
146
142
|
|
|
147
143
|
/**
|
|
148
144
|
* Returns the state matcher for the MdcField control.
|
|
149
|
-
*
|
|
150
145
|
* @param {any} mState
|
|
151
146
|
* @returns {*} The state matcher.
|
|
152
147
|
* @protected
|
|
@@ -179,7 +174,6 @@ sap.ui.define(
|
|
|
179
174
|
},
|
|
180
175
|
/**
|
|
181
176
|
* Returns a matcher function that checks a field for given condition value(s) and operator (optional).
|
|
182
|
-
*
|
|
183
177
|
* @param {string|object|Array} vExpectedValue The expected value
|
|
184
178
|
* @param {string} [sOperator] The operator of the condition
|
|
185
179
|
* @returns {function(*=): *|boolean} The matcher function.
|
|
@@ -20,7 +20,6 @@ sap.ui.define(["./MdcFieldBuilder", "sap/fe/test/Utils"], function (FieldBuilder
|
|
|
20
20
|
|
|
21
21
|
/**
|
|
22
22
|
* Checks for certain condition value(s).
|
|
23
|
-
*
|
|
24
23
|
* @param {string|Array} [vValue] The expected value(s)
|
|
25
24
|
* @param {string} [sOperator] The expected operator
|
|
26
25
|
* @returns {sap.fe.test.builder.FilterFieldBuilder} `this`
|
|
@@ -33,7 +32,6 @@ sap.ui.define(["./MdcFieldBuilder", "sap/fe/test/Utils"], function (FieldBuilder
|
|
|
33
32
|
|
|
34
33
|
/**
|
|
35
34
|
* Changes the value of the filter field.
|
|
36
|
-
*
|
|
37
35
|
* @param {string} vValue The new value
|
|
38
36
|
* @param {boolean} bClearFirst
|
|
39
37
|
* @returns {sap.fe.test.builder.FilterFieldBuilder} `this`
|
|
@@ -42,21 +42,18 @@ sap.ui.define(
|
|
|
42
42
|
var RowActionType = {
|
|
43
43
|
/**
|
|
44
44
|
* Custom defined Row Action.
|
|
45
|
-
*
|
|
46
45
|
* @public
|
|
47
46
|
*/
|
|
48
47
|
Custom: "Custom",
|
|
49
48
|
|
|
50
49
|
/**
|
|
51
50
|
* Navigation Row Action.
|
|
52
|
-
*
|
|
53
51
|
* @public
|
|
54
52
|
*/
|
|
55
53
|
Navigation: "Navigation",
|
|
56
54
|
|
|
57
55
|
/**
|
|
58
56
|
* Delete Row Action.
|
|
59
|
-
*
|
|
60
57
|
* @public
|
|
61
58
|
*/
|
|
62
59
|
Delete: "Delete"
|