@dev-blinq/bvt-playwright-js 1.0.0-dev.4.staging.166.1 → 1.0.0-dev.4.staging.171.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 +9 -9
- package/index.mjs +3 -1
- package/index.mjs.map +1 -1
- package/package.json +1 -1
package/index.d.mts
CHANGED
|
@@ -1885,9 +1885,9 @@ declare const CommandSchema: z.ZodDiscriminatedUnion<[
|
|
|
1885
1885
|
], "type">;
|
|
1886
1886
|
score: z.ZodNumber;
|
|
1887
1887
|
source: z.ZodEnum<{
|
|
1888
|
+
role: "role";
|
|
1888
1889
|
xpath: "xpath";
|
|
1889
1890
|
testId: "testId";
|
|
1890
|
-
role: "role";
|
|
1891
1891
|
accessibleName: "accessibleName";
|
|
1892
1892
|
visibleText: "visibleText";
|
|
1893
1893
|
stableAttribute: "stableAttribute";
|
|
@@ -2655,9 +2655,9 @@ declare const CommandSchema: z.ZodDiscriminatedUnion<[
|
|
|
2655
2655
|
], "type">;
|
|
2656
2656
|
score: z.ZodNumber;
|
|
2657
2657
|
source: z.ZodEnum<{
|
|
2658
|
+
role: "role";
|
|
2658
2659
|
xpath: "xpath";
|
|
2659
2660
|
testId: "testId";
|
|
2660
|
-
role: "role";
|
|
2661
2661
|
accessibleName: "accessibleName";
|
|
2662
2662
|
visibleText: "visibleText";
|
|
2663
2663
|
stableAttribute: "stableAttribute";
|
|
@@ -3300,9 +3300,9 @@ declare const CommandSchema: z.ZodDiscriminatedUnion<[
|
|
|
3300
3300
|
], "type">;
|
|
3301
3301
|
score: z.ZodNumber;
|
|
3302
3302
|
source: z.ZodEnum<{
|
|
3303
|
+
role: "role";
|
|
3303
3304
|
xpath: "xpath";
|
|
3304
3305
|
testId: "testId";
|
|
3305
|
-
role: "role";
|
|
3306
3306
|
accessibleName: "accessibleName";
|
|
3307
3307
|
visibleText: "visibleText";
|
|
3308
3308
|
stableAttribute: "stableAttribute";
|
|
@@ -4896,9 +4896,9 @@ declare const StepDefinitionSchema: z.ZodObject<{
|
|
|
4896
4896
|
], "type">;
|
|
4897
4897
|
score: z.ZodNumber;
|
|
4898
4898
|
source: z.ZodEnum<{
|
|
4899
|
+
role: "role";
|
|
4899
4900
|
xpath: "xpath";
|
|
4900
4901
|
testId: "testId";
|
|
4901
|
-
role: "role";
|
|
4902
4902
|
accessibleName: "accessibleName";
|
|
4903
4903
|
visibleText: "visibleText";
|
|
4904
4904
|
stableAttribute: "stableAttribute";
|
|
@@ -5666,9 +5666,9 @@ declare const StepDefinitionSchema: z.ZodObject<{
|
|
|
5666
5666
|
], "type">;
|
|
5667
5667
|
score: z.ZodNumber;
|
|
5668
5668
|
source: z.ZodEnum<{
|
|
5669
|
+
role: "role";
|
|
5669
5670
|
xpath: "xpath";
|
|
5670
5671
|
testId: "testId";
|
|
5671
|
-
role: "role";
|
|
5672
5672
|
accessibleName: "accessibleName";
|
|
5673
5673
|
visibleText: "visibleText";
|
|
5674
5674
|
stableAttribute: "stableAttribute";
|
|
@@ -6311,9 +6311,9 @@ declare const StepDefinitionSchema: z.ZodObject<{
|
|
|
6311
6311
|
], "type">;
|
|
6312
6312
|
score: z.ZodNumber;
|
|
6313
6313
|
source: z.ZodEnum<{
|
|
6314
|
+
role: "role";
|
|
6314
6315
|
xpath: "xpath";
|
|
6315
6316
|
testId: "testId";
|
|
6316
|
-
role: "role";
|
|
6317
6317
|
accessibleName: "accessibleName";
|
|
6318
6318
|
visibleText: "visibleText";
|
|
6319
6319
|
stableAttribute: "stableAttribute";
|
|
@@ -6910,9 +6910,9 @@ declare const ReplayLocatorCandidateSchema: z.ZodObject<{
|
|
|
6910
6910
|
], "type">;
|
|
6911
6911
|
score: z.ZodNumber;
|
|
6912
6912
|
source: z.ZodEnum<{
|
|
6913
|
+
role: "role";
|
|
6913
6914
|
xpath: "xpath";
|
|
6914
6915
|
testId: "testId";
|
|
6915
|
-
role: "role";
|
|
6916
6916
|
accessibleName: "accessibleName";
|
|
6917
6917
|
visibleText: "visibleText";
|
|
6918
6918
|
stableAttribute: "stableAttribute";
|
|
@@ -7192,9 +7192,9 @@ declare const StepReplayTelemetrySchema: z.ZodObject<{
|
|
|
7192
7192
|
], "type">;
|
|
7193
7193
|
score: z.ZodNumber;
|
|
7194
7194
|
source: z.ZodEnum<{
|
|
7195
|
+
role: "role";
|
|
7195
7196
|
xpath: "xpath";
|
|
7196
7197
|
testId: "testId";
|
|
7197
|
-
role: "role";
|
|
7198
7198
|
accessibleName: "accessibleName";
|
|
7199
7199
|
visibleText: "visibleText";
|
|
7200
7200
|
stableAttribute: "stableAttribute";
|
|
@@ -7894,9 +7894,9 @@ declare const PickedElementSchema: z.ZodObject<{
|
|
|
7894
7894
|
], "type">;
|
|
7895
7895
|
score: z.ZodNumber;
|
|
7896
7896
|
source: z.ZodEnum<{
|
|
7897
|
+
role: "role";
|
|
7897
7898
|
xpath: "xpath";
|
|
7898
7899
|
testId: "testId";
|
|
7899
|
-
role: "role";
|
|
7900
7900
|
accessibleName: "accessibleName";
|
|
7901
7901
|
visibleText: "visibleText";
|
|
7902
7902
|
stableAttribute: "stableAttribute";
|
package/index.mjs
CHANGED
|
@@ -28080,7 +28080,9 @@ var Tester = class {
|
|
|
28080
28080
|
const frame = await this.getFrameObjectFromFrameScope(frameScope);
|
|
28081
28081
|
this.obs.logger.info(`Checking for absence of element with text ${value} using "${locator.first()?._selector}" `);
|
|
28082
28082
|
this.obs.logger.info(`Waiting for page to load and stabilize before checking for absence of text to reduce flakiness...`);
|
|
28083
|
-
await frame.waitForLoadState("networkidle", { timeout: 3e4 })
|
|
28083
|
+
await frame.waitForLoadState("networkidle", { timeout: 3e4 }).catch((error) => {
|
|
28084
|
+
this.obs.logger.error(`Frame load timeout, the page may not be in the desired state yet`, error);
|
|
28085
|
+
});
|
|
28084
28086
|
this.obs.logger.info(`frame load detected. Waiting an additional 500ms for stabilization...`);
|
|
28085
28087
|
await frame.waitForTimeout(500);
|
|
28086
28088
|
this.obs.logger.info(`Checking for element with text "${value}" after page load and stabilization delay...`);
|