@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
package/src/utils/testUtil.ts
CHANGED
|
@@ -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);
|