@dev-blinq/bvt-playwright-js 1.0.0-dev.4.latest.105.1 → 1.0.0-dev.4.latest.112.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/index.d.mts +7 -4
- package/index.mjs +3 -0
- package/index.mjs.map +1 -1
- package/package.json +1 -1
package/index.d.mts
CHANGED
|
@@ -7420,11 +7420,11 @@ type ExecutionStartedEventData = {
|
|
|
7420
7420
|
type: "execution_started";
|
|
7421
7421
|
};
|
|
7422
7422
|
declare const ScopeTypeSchema: z.ZodEnum<{
|
|
7423
|
-
runtime: "runtime";
|
|
7424
|
-
environment: "environment";
|
|
7425
7423
|
global: "global";
|
|
7424
|
+
environment: "environment";
|
|
7426
7425
|
feature: "feature";
|
|
7427
7426
|
scenario: "scenario";
|
|
7427
|
+
runtime: "runtime";
|
|
7428
7428
|
}>;
|
|
7429
7429
|
type ScopeType = z.infer<typeof ScopeTypeSchema>;
|
|
7430
7430
|
declare const TestDataTypeSchema: z.ZodEnum<{
|
|
@@ -7455,11 +7455,11 @@ declare const TestDataEntrySchema: z.ZodObject<{
|
|
|
7455
7455
|
}>;
|
|
7456
7456
|
scope: z.ZodObject<{
|
|
7457
7457
|
type: z.ZodEnum<{
|
|
7458
|
-
runtime: "runtime";
|
|
7459
|
-
environment: "environment";
|
|
7460
7458
|
global: "global";
|
|
7459
|
+
environment: "environment";
|
|
7461
7460
|
feature: "feature";
|
|
7462
7461
|
scenario: "scenario";
|
|
7462
|
+
runtime: "runtime";
|
|
7463
7463
|
}>;
|
|
7464
7464
|
environmentId: z.ZodOptional<z.ZodString>;
|
|
7465
7465
|
featureId: z.ZodOptional<z.ZodString>;
|
|
@@ -8768,6 +8768,7 @@ type PWSelectorDetails = {
|
|
|
8768
8768
|
declare class SelectorGenerator {
|
|
8769
8769
|
private injectedScript;
|
|
8770
8770
|
private _pw;
|
|
8771
|
+
private contextElement;
|
|
8771
8772
|
constructor(injectedScript: InjectedScript);
|
|
8772
8773
|
private getDocumentElement;
|
|
8773
8774
|
private getDocumentBody;
|
|
@@ -8779,6 +8780,7 @@ declare class SelectorGenerator {
|
|
|
8779
8780
|
root?: Element;
|
|
8780
8781
|
prefix?: string;
|
|
8781
8782
|
}): Element[];
|
|
8783
|
+
private addNearestTextToSelectors;
|
|
8782
8784
|
buildPWTextCandidates(element: Element, isTargetNode: boolean): PWSelectorDetails[];
|
|
8783
8785
|
buildPWNoTextCandidates(element: Element, options?: InternalOptions): PWSelectorDetails[];
|
|
8784
8786
|
computeUnique(element: Element, locatorGenerator: (element: Element, options?: InternalOptions & {
|
|
@@ -8793,6 +8795,7 @@ declare class SelectorGenerator {
|
|
|
8793
8795
|
}): string;
|
|
8794
8796
|
getUniqueSelectors(element: Element, options?: InternalOptions & {
|
|
8795
8797
|
timeout?: number;
|
|
8798
|
+
context?: Element;
|
|
8796
8799
|
}): UniqueSelector[];
|
|
8797
8800
|
private getAncestorPath;
|
|
8798
8801
|
private getLandmarkPath;
|
package/index.mjs
CHANGED
|
@@ -6208,6 +6208,7 @@ const CustomCodeStepTemplateSchema = object({
|
|
|
6208
6208
|
_id: EntityIdSchema,
|
|
6209
6209
|
projectId: EntityIdSchema,
|
|
6210
6210
|
name: string().min(1).max(500),
|
|
6211
|
+
stepName: string().max(2e3).optional(),
|
|
6211
6212
|
code: string().min(1).max(1e5)
|
|
6212
6213
|
}).strict();
|
|
6213
6214
|
|
|
@@ -6329,6 +6330,8 @@ const UserSchema = object({
|
|
|
6329
6330
|
externalUserId: string().optional(),
|
|
6330
6331
|
hasFinishedTour1: boolean().optional(),
|
|
6331
6332
|
hasFinishedTour2: boolean().optional(),
|
|
6333
|
+
hasFinishedNewTourGuideAiMaintenance: boolean().optional(),
|
|
6334
|
+
hasFinishedNewTourGuideAiTestCreation: boolean().optional(),
|
|
6332
6335
|
showDemoProjectInSidebar: boolean().optional(),
|
|
6333
6336
|
maxProjects: number().int().positive().optional()
|
|
6334
6337
|
}).strict();
|