@linzjs/step-ag-grid 7.16.2 → 7.16.3
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
|
@@ -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
|
-
typeInput(value, { child: { tagName: "input[type='text']" } });
|
|
162
|
+
await typeInput(value, { child: { tagName: "input[type='text']" } });
|
|
163
163
|
};
|
|
164
164
|
|
|
165
165
|
export const typeInputByLabel = async (value: string, labelText: string): Promise<void> => {
|
|
@@ -170,19 +170,19 @@ 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
|
-
typeInput(value, { child: { tagName: `input[id='${labels[0].getAttribute("for")}']` } });
|
|
173
|
+
await typeInput(value, { child: { tagName: `input[id='${labels[0].getAttribute("for")}']` } });
|
|
174
174
|
};
|
|
175
175
|
|
|
176
176
|
export const typeInputByPlaceholder = async (value: string, placeholder: string): Promise<void> => {
|
|
177
|
-
typeInput(value, { child: { tagName: `input[placeholder='${placeholder}']` } });
|
|
177
|
+
await typeInput(value, { child: { tagName: `input[placeholder='${placeholder}']` } });
|
|
178
178
|
};
|
|
179
179
|
|
|
180
180
|
export const typeOtherInput = async (value: string): Promise<void> => {
|
|
181
|
-
typeInput(value, { classes: ".subComponent", child: { tagName: "input[type='text']" } });
|
|
181
|
+
await typeInput(value, { classes: ".subComponent", child: { tagName: "input[type='text']" } });
|
|
182
182
|
};
|
|
183
183
|
|
|
184
184
|
export const typeOtherTextArea = async (value: string): Promise<void> => {
|
|
185
|
-
typeInput(value, { classes: ".subComponent", child: { tagName: "textarea" } });
|
|
185
|
+
await typeInput(value, { classes: ".subComponent", child: { tagName: "textarea" } });
|
|
186
186
|
};
|
|
187
187
|
|
|
188
188
|
export const closeMenu = (): void => {
|