@linzjs/step-ag-grid 7.16.4 → 7.16.6

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.
@@ -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*/, findMenuOption(menuOptionText)];
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
  }
@@ -24789,7 +24791,7 @@ var typeInput = function (value, filter) { return __awaiter(void 0, void 0, void
24789
24791
  var typeOnlyInput = function (value) { return __awaiter(void 0, void 0, void 0, function () {
24790
24792
  return __generator(this, function (_a) {
24791
24793
  switch (_a.label) {
24792
- case 0: return [4 /*yield*/, typeInput(value, { child: { tagName: "input[type='text']" } })];
24794
+ case 0: return [4 /*yield*/, typeInput(value, { child: { tagName: "input[type='text'], textarea" } })];
24793
24795
  case 1:
24794
24796
  _a.sent();
24795
24797
  return [2 /*return*/];
@@ -24797,7 +24799,7 @@ var typeOnlyInput = function (value) { return __awaiter(void 0, void 0, void 0,
24797
24799
  });
24798
24800
  }); };
24799
24801
  var typeInputByLabel = function (value, labelText) { return __awaiter(void 0, void 0, void 0, function () {
24800
- var labels;
24802
+ var labels, inputId;
24801
24803
  return __generator(this, function (_a) {
24802
24804
  switch (_a.label) {
24803
24805
  case 0:
@@ -24808,7 +24810,8 @@ var typeInputByLabel = function (value, labelText) { return __awaiter(void 0, vo
24808
24810
  if (labels.length > 1) {
24809
24811
  throw Error("Multiple labels found for text: ".concat(labelText));
24810
24812
  }
24811
- return [4 /*yield*/, typeInput(value, { child: { tagName: "input[id='".concat(labels[0].getAttribute("for"), "']") } })];
24813
+ inputId = labels[0].getAttribute("for");
24814
+ return [4 /*yield*/, typeInput(value, { child: { tagName: "input[id='".concat(inputId, "'], textarea[id='").concat(inputId, "']") } })];
24812
24815
  case 1:
24813
24816
  _a.sent();
24814
24817
  return [2 /*return*/];
@@ -24818,7 +24821,9 @@ var typeInputByLabel = function (value, labelText) { return __awaiter(void 0, vo
24818
24821
  var typeInputByPlaceholder = function (value, placeholder) { return __awaiter(void 0, void 0, void 0, function () {
24819
24822
  return __generator(this, function (_a) {
24820
24823
  switch (_a.label) {
24821
- case 0: return [4 /*yield*/, typeInput(value, { child: { tagName: "input[placeholder='".concat(placeholder, "']") } })];
24824
+ case 0: return [4 /*yield*/, typeInput(value, {
24825
+ child: { tagName: "input[placeholder='".concat(placeholder, "'], textarea[placeholder='").concat(placeholder, "']") }
24826
+ })];
24822
24827
  case 1:
24823
24828
  _a.sent();
24824
24829
  return [2 /*return*/];