@allwright.dev/vitest 0.0.53 → 0.0.55
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/index.js +6 -0
- package/package.json +2 -2
package/dist/index.js
CHANGED
|
@@ -124,6 +124,9 @@ function createLazyPage(pageResource) {
|
|
|
124
124
|
async waitForSelector(selector, options) {
|
|
125
125
|
return (await pageResource.get()).waitForSelector(selector, options);
|
|
126
126
|
},
|
|
127
|
+
async screenshot(options) {
|
|
128
|
+
return (await pageResource.get()).screenshot(options);
|
|
129
|
+
},
|
|
127
130
|
async close() {
|
|
128
131
|
await (await pageResource.get()).close();
|
|
129
132
|
},
|
|
@@ -218,6 +221,9 @@ function createLazyAndroidApp(appResource) {
|
|
|
218
221
|
async fill(selector, value, options) {
|
|
219
222
|
return (await appResource.get()).fill(selector, value, options);
|
|
220
223
|
},
|
|
224
|
+
async screenshot(options) {
|
|
225
|
+
return (await appResource.get()).screenshot(options);
|
|
226
|
+
},
|
|
221
227
|
};
|
|
222
228
|
return lazyApp;
|
|
223
229
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@allwright.dev/vitest",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.55",
|
|
4
4
|
"description": "Vitest fixtures for the allwright TypeScript client.",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"type": "module",
|
|
@@ -39,7 +39,7 @@
|
|
|
39
39
|
"prepublishOnly": "bun run build"
|
|
40
40
|
},
|
|
41
41
|
"dependencies": {
|
|
42
|
-
"@allwright.dev/core": "0.0.
|
|
42
|
+
"@allwright.dev/core": "0.0.55"
|
|
43
43
|
},
|
|
44
44
|
"devDependencies": {
|
|
45
45
|
"typescript": "^5.9.2",
|