@linzjs/step-ag-grid 7.14.0 → 7.15.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 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.14.0",
5
+ "version": "7.15.0",
6
6
  "keywords": [
7
7
  "aggrid",
8
8
  "ag-grid",
@@ -137,6 +137,13 @@ export const clickMultiSelectOption = async (value: string): Promise<void> => {
137
137
  menuItem.parentElement && userEvent.click(menuItem.parentElement);
138
138
  };
139
139
 
140
+ export const typeInput = async (value: string): Promise<void> => {
141
+ const openMenu = await findOpenMenu();
142
+ const input = await findQuick({ child: { tagName: "input[type='text']" } }, openMenu);
143
+ userEvent.clear(input);
144
+ userEvent.type(input, value);
145
+ };
146
+
140
147
  export const typeOtherInput = async (value: string): Promise<void> => {
141
148
  const openMenu = await findOpenMenu();
142
149
  const otherInput = await findQuick({ classes: ".subComponent", child: { tagName: "input[type='text']" } }, openMenu);