@linzjs/step-ag-grid 7.17.1 → 7.18.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
|
@@ -132,6 +132,16 @@ export const openAndClickMenuOption = async (
|
|
|
132
132
|
await clickMenuOption(menuOptionText);
|
|
133
133
|
};
|
|
134
134
|
|
|
135
|
+
export const openAndFindMenuOption = async (
|
|
136
|
+
rowId: number | string,
|
|
137
|
+
colId: string,
|
|
138
|
+
menuOptionText: string | RegExp,
|
|
139
|
+
within?: HTMLElement,
|
|
140
|
+
): Promise<HTMLElement> => {
|
|
141
|
+
await editCell(rowId, colId, within);
|
|
142
|
+
return await findMenuOption(menuOptionText);
|
|
143
|
+
};
|
|
144
|
+
|
|
135
145
|
export const getMultiSelectOptions = async () => {
|
|
136
146
|
const openMenu = await findOpenMenu();
|
|
137
147
|
return getAllQuick<HTMLInputElement>({ role: "menuitem", child: { tagName: "input,textarea" } }, openMenu).map(
|