@linzjs/step-ag-grid 7.16.5 → 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.
package/package.json CHANGED
@@ -2,7 +2,7 @@
2
2
  "name": "@linzjs/step-ag-grid",
3
3
  "repository": "github:linz/step-ag-grid.git",
4
4
  "license": "MIT",
5
- "version": "7.16.5",
5
+ "version": "7.16.6",
6
6
  "keywords": [
7
7
  "aggrid",
8
8
  "ag-grid",
@@ -159,7 +159,7 @@ const typeInput = async (value: string, filter: IQueryQuick): Promise<void> => {
159
159
  };
160
160
 
161
161
  export const typeOnlyInput = async (value: string): Promise<void> => {
162
- await typeInput(value, { child: { tagName: "input[type='text']" } });
162
+ await typeInput(value, { child: { tagName: "input[type='text'], textarea" } });
163
163
  };
164
164
 
165
165
  export const typeInputByLabel = async (value: string, labelText: string): Promise<void> => {
@@ -170,11 +170,14 @@ export const typeInputByLabel = async (value: string, labelText: string): Promis
170
170
  if (labels.length > 1) {
171
171
  throw Error(`Multiple labels found for text: ${labelText}`);
172
172
  }
173
- await typeInput(value, { child: { tagName: `input[id='${labels[0].getAttribute("for")}']` } });
173
+ const inputId = labels[0].getAttribute("for");
174
+ await typeInput(value, { child: { tagName: `input[id='${inputId}'], textarea[id='${inputId}']` } });
174
175
  };
175
176
 
176
177
  export const typeInputByPlaceholder = async (value: string, placeholder: string): Promise<void> => {
177
- await typeInput(value, { child: { tagName: `input[placeholder='${placeholder}']` } });
178
+ await typeInput(value, {
179
+ child: { tagName: `input[placeholder='${placeholder}'], textarea[placeholder='${placeholder}']` },
180
+ });
178
181
  };
179
182
 
180
183
  export const typeOtherInput = async (value: string): Promise<void> => {