pomwright 0.0.4 → 0.0.6
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/.vscode/extensions.json +5 -0
- package/.vscode/settings.json +3 -0
- package/CHANGELOG.md +13 -0
- package/biome.json +15 -0
- package/dist/index.d.mts +1 -3
- package/dist/index.d.ts +1 -3
- package/dist/index.js +354 -264
- package/dist/index.mjs +357 -265
- package/package.json +4 -2
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,18 @@
|
|
|
1
1
|
# pomwright
|
|
2
2
|
|
|
3
|
+
## 0.0.6
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- 8c2af7d: fix: ensure base fixture log follows playwright's api
|
|
8
|
+
|
|
9
|
+
## 0.0.5
|
|
10
|
+
|
|
11
|
+
### Patch Changes
|
|
12
|
+
|
|
13
|
+
- 0c96ab7: Add Biome for linting and formatting
|
|
14
|
+
- 0c96ab7: Move indices with default value to the end of arguments for buildNestedLocator
|
|
15
|
+
|
|
3
16
|
## 0.0.4
|
|
4
17
|
|
|
5
18
|
### Patch Changes
|
package/biome.json
ADDED
package/dist/index.d.mts
CHANGED
|
@@ -304,9 +304,7 @@ declare class GetLocatorBase<LocatorSchemaPathType extends string> {
|
|
|
304
304
|
*/
|
|
305
305
|
private logError;
|
|
306
306
|
private deepMerge;
|
|
307
|
-
protected buildNestedLocator: (locatorSchemaPath: LocatorSchemaPathType,
|
|
308
|
-
[key: number]: number | null;
|
|
309
|
-
} | undefined, schemasMap: Map<string, LocatorSchema>) => Promise<Locator>;
|
|
307
|
+
protected buildNestedLocator: (locatorSchemaPath: LocatorSchemaPathType, schemasMap: Map<string, LocatorSchema>, indices?: Record<number, number>) => Promise<Locator>;
|
|
310
308
|
private evaluateCurrentLocator;
|
|
311
309
|
/**
|
|
312
310
|
* Evaluates the Playwright locator, checking if it resolves to any elements, and retrieves element attributes.
|
package/dist/index.d.ts
CHANGED
|
@@ -304,9 +304,7 @@ declare class GetLocatorBase<LocatorSchemaPathType extends string> {
|
|
|
304
304
|
*/
|
|
305
305
|
private logError;
|
|
306
306
|
private deepMerge;
|
|
307
|
-
protected buildNestedLocator: (locatorSchemaPath: LocatorSchemaPathType,
|
|
308
|
-
[key: number]: number | null;
|
|
309
|
-
} | undefined, schemasMap: Map<string, LocatorSchema>) => Promise<Locator>;
|
|
307
|
+
protected buildNestedLocator: (locatorSchemaPath: LocatorSchemaPathType, schemasMap: Map<string, LocatorSchema>, indices?: Record<number, number>) => Promise<Locator>;
|
|
310
308
|
private evaluateCurrentLocator;
|
|
311
309
|
/**
|
|
312
310
|
* Evaluates the Playwright locator, checking if it resolves to any elements, and retrieves element attributes.
|