@sapui5/sap.fe.test 1.102.4 → 1.102.5

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 CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@sapui5/sap.fe.test",
3
- "version": "1.102.4",
3
+ "version": "1.102.5",
4
4
  "description": "SAPUI5 Library sap.fe.test",
5
5
  "license": "SEE LICENSE IN LICENSE.txt",
6
6
  "author": "SAP SE (https://www.sap.com)",
@@ -6,7 +6,7 @@
6
6
  <copyright>SAP UI development toolkit for HTML5 (SAPUI5)
7
7
  (c) Copyright 2009-2021 SAP SE. All rights reserved
8
8
  </copyright>
9
- <version>1.102.4</version>
9
+ <version>1.102.5</version>
10
10
 
11
11
  <documentation>UI5 library: sap.fe.test</documentation>
12
12
 
@@ -184,7 +184,7 @@ sap.ui.define(
184
184
  * @public
185
185
  */
186
186
  onTable: function (vTableIdentifier) {
187
- if (!Utils.isOfType(vTableIdentifier, String)) {
187
+ if (!Utils.isOfType(vTableIdentifier, String) && !vTableIdentifier.id) {
188
188
  vTableIdentifier = { id: getTableId(vTableIdentifier.property, vTableIdentifier.qualifier) };
189
189
  }
190
190
  return this._onTable(vTableIdentifier);
@@ -200,6 +200,22 @@ sap.ui.define(
200
200
  id: sChartId
201
201
  });
202
202
  },
203
+
204
+ /**
205
+ * Returns a {@link sap.fe.test.api.FilterBarActions} instance.
206
+ *
207
+ * @param {sap.fe.test.api.FilterBarIdentifier | string} vFilterBarIdentifier The identifier of the filterbar
208
+ * @returns {sap.fe.test.api.FilterBarActions} The available filter bar actions
209
+ * @function
210
+ * @alias sap.fe.test.ListReport.actions#onFilterBar
211
+ * @public
212
+ */
213
+ onFilterBar: function (vFilterBarIdentifier) {
214
+ var vIdentifier =
215
+ typeof vFilterBarIdentifier === "string" ? { id: vFilterBarIdentifier } : vFilterBarIdentifier;
216
+ return this._onFilterBar(vIdentifier);
217
+ },
218
+
203
219
  /**
204
220
  * Returns a {@link sap.fe.test.api.FooterActionsOP} instance.
205
221
  *
@@ -468,7 +484,7 @@ sap.ui.define(
468
484
  * @public
469
485
  */
470
486
  onTable: function (vTableIdentifier) {
471
- if (!Utils.isOfType(vTableIdentifier, String)) {
487
+ if (!Utils.isOfType(vTableIdentifier, String) && !vTableIdentifier.id) {
472
488
  vTableIdentifier = { id: getTableId(vTableIdentifier.property, vTableIdentifier.qualifier) };
473
489
  }
474
490
  return this._onTable(vTableIdentifier);
@@ -484,6 +500,22 @@ sap.ui.define(
484
500
  id: sChartId
485
501
  });
486
502
  },
503
+
504
+ /**
505
+ * Returns a {@link sap.fe.test.api.FilterBarAssertions} instance.
506
+ *
507
+ * @param {sap.fe.test.api.FilterBarIdentifier | string} vFilterBarIdentifier The identifier of the filterbar
508
+ * @returns {sap.fe.test.api.FilterBarAssertions} The available filter bar assertions
509
+ * @function
510
+ * @alias sap.fe.test.ListReport.assertions#onFilterBar
511
+ * @public
512
+ */
513
+ onFilterBar: function (vFilterBarIdentifier) {
514
+ var vIdentifier =
515
+ typeof vFilterBarIdentifier === "string" ? { id: vFilterBarIdentifier } : vFilterBarIdentifier;
516
+ return this._onFilterBar(vIdentifier);
517
+ },
518
+
487
519
  /**
488
520
  * Returns a {@link sap.fe.test.api.FooterAssertionsOP} instance.
489
521
  *
@@ -20,7 +20,7 @@ sap.ui.define(["sap/ui/core/Core", "sap/ui/core/library"], function (Core, _libr
20
20
  interfaces: [],
21
21
  controls: [],
22
22
  elements: [],
23
- version: "1.102.4",
23
+ version: "1.102.5",
24
24
  noLibraryCSS: true
25
25
  });
26
26
  return thisLib;