@ripplo/testing 0.5.0 → 0.5.1
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/dist/actions.d.ts +2 -0
- package/dist/actions.js +1 -0
- package/dist/lockfile.d.ts +6 -0
- package/dist/lockfile.js +6 -1
- package/package.json +1 -1
package/dist/actions.d.ts
CHANGED
|
@@ -20,6 +20,7 @@ declare function navigate(url: string): UnlabeledStep<{
|
|
|
20
20
|
};
|
|
21
21
|
}>;
|
|
22
22
|
interface StepOptions {
|
|
23
|
+
readonly modifier?: "Alt" | "Control" | "Meta" | "Shift";
|
|
23
24
|
readonly uiOnly?: boolean;
|
|
24
25
|
}
|
|
25
26
|
declare function click(locator: AnyLocator, options?: StepOptions): UnlabeledStep<{
|
|
@@ -31,6 +32,7 @@ declare function click(locator: AnyLocator, options?: StepOptions): UnlabeledSte
|
|
|
31
32
|
role: string;
|
|
32
33
|
name?: string | undefined;
|
|
33
34
|
};
|
|
35
|
+
modifier: "Alt" | "Control" | "Meta" | "Shift" | undefined;
|
|
34
36
|
type: "click";
|
|
35
37
|
uiOnly: boolean | undefined;
|
|
36
38
|
}>;
|
package/dist/actions.js
CHANGED
package/dist/lockfile.d.ts
CHANGED
|
@@ -62,6 +62,12 @@ declare const lockfileBodyV2Schema: z.ZodObject<{
|
|
|
62
62
|
name: z.ZodOptional<z.ZodString>;
|
|
63
63
|
role: z.ZodString;
|
|
64
64
|
}, z.core.$strip>], "by">;
|
|
65
|
+
modifier: z.ZodOptional<z.ZodEnum<{
|
|
66
|
+
Alt: "Alt";
|
|
67
|
+
Control: "Control";
|
|
68
|
+
Meta: "Meta";
|
|
69
|
+
Shift: "Shift";
|
|
70
|
+
}>>;
|
|
65
71
|
type: z.ZodLiteral<"click">;
|
|
66
72
|
id: z.ZodString;
|
|
67
73
|
label: z.ZodOptional<z.ZodString>;
|
package/dist/lockfile.js
CHANGED
|
@@ -237,7 +237,12 @@ var gotoNode = z7.object({
|
|
|
237
237
|
type: z7.literal("goto"),
|
|
238
238
|
url: stringValueRefSchema
|
|
239
239
|
});
|
|
240
|
-
var clickNode = z7.object({
|
|
240
|
+
var clickNode = z7.object({
|
|
241
|
+
...nodeBase,
|
|
242
|
+
locator: locatorSchema,
|
|
243
|
+
modifier: z7.enum(["Alt", "Control", "Meta", "Shift"]).optional(),
|
|
244
|
+
type: z7.literal("click")
|
|
245
|
+
});
|
|
241
246
|
var fillNode = z7.object({
|
|
242
247
|
...nodeBase,
|
|
243
248
|
locator: locatorSchema,
|