@e2e-dev/web 0.15.4 → 0.15.5-nightly-20261101030202
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/.build.json +1 -1
- package/dist/index.d.ts +11 -2
- package/dist/index.js +2 -2
- package/package.json +4 -4
package/dist/.build.json
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":"0.15.
|
|
1
|
+
{"version":"0.15.5-nightly-20261101030202"}
|
package/dist/index.d.ts
CHANGED
|
@@ -4,6 +4,7 @@
|
|
|
4
4
|
* fixture, so a test file registers from one import. `expect`,
|
|
5
5
|
* `credentials`, and `secrets` come from `e2e` itself.
|
|
6
6
|
*/
|
|
7
|
+
import { type App } from 'e2e';
|
|
7
8
|
import type { Browser } from './browser.ts';
|
|
8
9
|
export { web, surfaceOf } from './engine.ts';
|
|
9
10
|
export type { PlaywrightLiveSurface } from './engine.ts';
|
|
@@ -14,12 +15,18 @@ export type { BrowserDownloadContext, BrowserLease, BrowserProvider, BrowserProv
|
|
|
14
15
|
export type { BrowserName } from './browser-connection.ts';
|
|
15
16
|
export type { Dialog, DialogHandler } from './dialogs.ts';
|
|
16
17
|
export type { Browser, BrowserExpectation, Cookie, CookieFields, CookieFilter, FrameScreen, RouteContinueOverrides, RouteFulfillResponse, WebResponse, WebRoute, } from './browser.ts';
|
|
18
|
+
/** `app` on a web target. A `web()` target always declares `app.url`, so `baseUrl` is always set. */
|
|
19
|
+
export interface WebApp extends App {
|
|
20
|
+
/** The target's `app.url` with the run's port and no trailing slash: `${app.baseUrl}/api/users`. */
|
|
21
|
+
readonly baseUrl: string;
|
|
22
|
+
}
|
|
17
23
|
/**
|
|
18
|
-
* `test` typed with this engine's contributed `browser` fixture
|
|
19
|
-
* runtime `test` as `e2e`'s; only the fixture types differ.
|
|
24
|
+
* `test` typed with this engine's contributed `browser` fixture and its
|
|
25
|
+
* `app`. The same runtime `test` as `e2e`'s; only the fixture types differ.
|
|
20
26
|
*/
|
|
21
27
|
export declare const test: import("e2e").TestAPI<import("e2e").TestFixtures & {
|
|
22
28
|
browser: Browser;
|
|
29
|
+
app: WebApp;
|
|
23
30
|
}>;
|
|
24
31
|
/** `describe` and the hooks, the same functions as `test.describe` and `test.beforeEach`, typed with the `browser` fixture. */
|
|
25
32
|
export declare const describe: {
|
|
@@ -27,6 +34,8 @@ export declare const describe: {
|
|
|
27
34
|
<Result>(title: string, options: import("e2e").DescribeOptions, body: import("e2e").SynchronousBody<Result>): void;
|
|
28
35
|
}, beforeEach: (fn: import("e2e").TestHookFn<import("e2e").TestFixtures & {
|
|
29
36
|
browser: Browser;
|
|
37
|
+
app: WebApp;
|
|
30
38
|
}>) => void, afterEach: (fn: import("e2e").TestHookFn<import("e2e").TestFixtures & {
|
|
31
39
|
browser: Browser;
|
|
40
|
+
app: WebApp;
|
|
32
41
|
}>) => void, beforeAll: (fn: import("e2e").SuiteHookFn) => void, afterAll: (fn: import("e2e").SuiteHookFn) => void;
|
package/dist/index.js
CHANGED
|
@@ -7,8 +7,8 @@
|
|
|
7
7
|
import { test as base } from 'e2e';
|
|
8
8
|
export { web, surfaceOf } from './engine.js';
|
|
9
9
|
/**
|
|
10
|
-
* `test` typed with this engine's contributed `browser` fixture
|
|
11
|
-
* runtime `test` as `e2e`'s; only the fixture types differ.
|
|
10
|
+
* `test` typed with this engine's contributed `browser` fixture and its
|
|
11
|
+
* `app`. The same runtime `test` as `e2e`'s; only the fixture types differ.
|
|
12
12
|
*/
|
|
13
13
|
export const test = base.extend();
|
|
14
14
|
/** `describe` and the hooks, the same functions as `test.describe` and `test.beforeEach`, typed with the `browser` fixture. */
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@e2e-dev/web",
|
|
3
|
-
"version": "0.15.
|
|
3
|
+
"version": "0.15.5-nightly-20261101030202",
|
|
4
4
|
"description": "Web engine for e2e agentic end-to-end testing, built on Playwright",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"e2e",
|
|
@@ -50,12 +50,12 @@
|
|
|
50
50
|
"playwright-core": "1.64.1"
|
|
51
51
|
},
|
|
52
52
|
"peerDependencies": {
|
|
53
|
-
"e2e": "
|
|
53
|
+
"e2e": "0.22.1-nightly-20261101030202"
|
|
54
54
|
},
|
|
55
55
|
"devDependencies": {
|
|
56
|
-
"@types/node": "26.6.
|
|
57
|
-
"e2e": "0.22.0",
|
|
56
|
+
"@types/node": "26.6.6",
|
|
58
57
|
"@types/pngjs": "6.0.5",
|
|
58
|
+
"e2e": "0.22.1-nightly-20261101030202",
|
|
59
59
|
"pngjs": "7.0.0",
|
|
60
60
|
"typescript": "7.0.2",
|
|
61
61
|
"vitest": "5.0.5"
|