@linzjs/step-ag-grid 7.16.4 → 7.16.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/dist/step-ag-grid.esm.js
CHANGED
|
@@ -24690,19 +24690,21 @@ var validateMenuOptions = function (rowId, colId, expectedMenuOptions) { return
|
|
|
24690
24690
|
});
|
|
24691
24691
|
}); };
|
|
24692
24692
|
var clickMenuOption = function (menuOptionText) { return __awaiter(void 0, void 0, void 0, function () {
|
|
24693
|
-
var menuOption;
|
|
24694
24693
|
return __generator(this, function (_a) {
|
|
24695
24694
|
switch (_a.label) {
|
|
24696
|
-
case 0: return [4 /*yield*/,
|
|
24695
|
+
case 0: return [4 /*yield*/, act(function () { return __awaiter(void 0, void 0, void 0, function () {
|
|
24696
|
+
var menuOption;
|
|
24697
|
+
return __generator(this, function (_a) {
|
|
24698
|
+
switch (_a.label) {
|
|
24699
|
+
case 0: return [4 /*yield*/, findMenuOption(menuOptionText)];
|
|
24700
|
+
case 1:
|
|
24701
|
+
menuOption = _a.sent();
|
|
24702
|
+
userEvent.click(menuOption);
|
|
24703
|
+
return [2 /*return*/];
|
|
24704
|
+
}
|
|
24705
|
+
});
|
|
24706
|
+
}); })];
|
|
24697
24707
|
case 1:
|
|
24698
|
-
menuOption = _a.sent();
|
|
24699
|
-
return [4 /*yield*/, act(function () { return __awaiter(void 0, void 0, void 0, function () {
|
|
24700
|
-
return __generator(this, function (_a) {
|
|
24701
|
-
userEvent.click(menuOption);
|
|
24702
|
-
return [2 /*return*/];
|
|
24703
|
-
});
|
|
24704
|
-
}); })];
|
|
24705
|
-
case 2:
|
|
24706
24708
|
_a.sent();
|
|
24707
24709
|
return [2 /*return*/];
|
|
24708
24710
|
}
|