@stablyai/playwright-test 0.1.7-next.3 → 0.1.7-next.4
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.d.mts +1 -0
- package/dist/index.d.ts +1 -0
- package/dist/index.js +3 -0
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +2 -0
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
package/dist/index.d.mts
CHANGED
@@ -4,6 +4,7 @@ export { setApiKey } from '@stablyai/playwright-base';
|
|
4
4
|
import * as _stablyai_internal_playwright_test from '@stablyai/internal-playwright-test';
|
5
5
|
import { test as test$1 } from '@stablyai/internal-playwright-test';
|
6
6
|
export * from '@stablyai/internal-playwright-test';
|
7
|
+
export { defineStablyConfig } from '@stablyai/internal-playwright-test';
|
7
8
|
|
8
9
|
declare const test: typeof test$1;
|
9
10
|
declare const expect: _stablyai_internal_playwright_test.Expect<{
|
package/dist/index.d.ts
CHANGED
@@ -4,6 +4,7 @@ export { setApiKey } from '@stablyai/playwright-base';
|
|
4
4
|
import * as _stablyai_internal_playwright_test from '@stablyai/internal-playwright-test';
|
5
5
|
import { test as test$1 } from '@stablyai/internal-playwright-test';
|
6
6
|
export * from '@stablyai/internal-playwright-test';
|
7
|
+
export { defineStablyConfig } from '@stablyai/internal-playwright-test';
|
7
8
|
|
8
9
|
declare const test: typeof test$1;
|
9
10
|
declare const expect: _stablyai_internal_playwright_test.Expect<{
|
package/dist/index.js
CHANGED
@@ -21,6 +21,7 @@ var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: tru
|
|
21
21
|
// src/index.ts
|
22
22
|
var index_exports = {};
|
23
23
|
__export(index_exports, {
|
24
|
+
defineStablyConfig: () => import_internal_playwright_test2.defineStablyConfig,
|
24
25
|
expect: () => expect,
|
25
26
|
setApiKey: () => import_playwright_base3.setApiKey,
|
26
27
|
test: () => test
|
@@ -28,6 +29,7 @@ __export(index_exports, {
|
|
28
29
|
module.exports = __toCommonJS(index_exports);
|
29
30
|
var import_playwright_base = require("@stablyai/playwright-base");
|
30
31
|
var import_internal_playwright_test = require("@stablyai/internal-playwright-test");
|
32
|
+
var import_internal_playwright_test2 = require("@stablyai/internal-playwright-test");
|
31
33
|
var import_playwright_base2 = require("@stablyai/playwright-base");
|
32
34
|
var import_playwright_base3 = require("@stablyai/playwright-base");
|
33
35
|
__reExport(index_exports, require("@stablyai/internal-playwright-test"), module.exports);
|
@@ -45,6 +47,7 @@ var test = import_internal_playwright_test.test.extend({
|
|
45
47
|
var expect = import_internal_playwright_test.expect.extend(import_playwright_base2.stablyPlaywrightMatchers);
|
46
48
|
// Annotate the CommonJS export names for ESM import in node:
|
47
49
|
0 && (module.exports = {
|
50
|
+
defineStablyConfig,
|
48
51
|
expect,
|
49
52
|
setApiKey,
|
50
53
|
test,
|
package/dist/index.js.map
CHANGED
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"sources":["../src/index.ts"],"sourcesContent":["import \"@stablyai/playwright-base\";\n\nimport {\n expect as playwrightExpect,\n test as playwrightTest,\n
|
1
|
+
{"version":3,"sources":["../src/index.ts"],"sourcesContent":["import \"@stablyai/playwright-base\";\n\nimport {\n expect as playwrightExpect,\n test as playwrightTest,\n} from \"@stablyai/internal-playwright-test\";\n\n// not sure why this is required\nexport { defineStablyConfig } from \"@stablyai/internal-playwright-test\";\n\nimport {\n augmentBrowser,\n augmentBrowserContext,\n augmentPage,\n stablyPlaywrightMatchers,\n} from \"@stablyai/playwright-base\";\n\nexport { setApiKey } from \"@stablyai/playwright-base\";\n\nexport const test: typeof playwrightTest = playwrightTest.extend({\n browser: async ({ browser }, use) => {\n await use(augmentBrowser(browser));\n },\n context: async ({ context }, use) => {\n await use(augmentBrowserContext(context));\n },\n page: async ({ page }, use) => {\n await use(augmentPage(page));\n },\n});\n\nexport const expect = playwrightExpect.extend(stablyPlaywrightMatchers);\n\nexport * from \"@stablyai/internal-playwright-test\";\n\n// declare module \"@stablyai/internal-playwright-test\" {\n// export type ScreenshotPromptOptions =\n// import(\"@stablyai/internal-playwright-test\").PageAssertionsToHaveScreenshotOptions;\n\n// interface LocatorAssertions {\n// toMatchScreenshotPrompt(\n// condition: string,\n// options?: ScreenshotPromptOptions\n// ): Promise<void>;\n// }\n\n// interface PageAssertions {\n// toMatchScreenshotPrompt(\n// condition: string,\n// options?: ScreenshotPromptOptions\n// ): Promise<void>;\n// }\n// }\n"],"mappings":";;;;;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,6BAAO;AAEP,sCAGO;AAGP,IAAAA,mCAAmC;AAEnC,IAAAC,0BAKO;AAEP,IAAAA,0BAA0B;AAgB1B,0BAAc,+CAjCd;AAmBO,IAAM,OAA8B,gCAAAC,KAAe,OAAO;AAAA,EAC/D,SAAS,OAAO,EAAE,QAAQ,GAAG,QAAQ;AACnC,UAAM,QAAI,wCAAe,OAAO,CAAC;AAAA,EACnC;AAAA,EACA,SAAS,OAAO,EAAE,QAAQ,GAAG,QAAQ;AACnC,UAAM,QAAI,+CAAsB,OAAO,CAAC;AAAA,EAC1C;AAAA,EACA,MAAM,OAAO,EAAE,KAAK,GAAG,QAAQ;AAC7B,UAAM,QAAI,qCAAY,IAAI,CAAC;AAAA,EAC7B;AACF,CAAC;AAEM,IAAM,SAAS,gCAAAC,OAAiB,OAAO,gDAAwB;","names":["import_internal_playwright_test","import_playwright_base","playwrightTest","playwrightExpect"]}
|
package/dist/index.mjs
CHANGED
@@ -4,6 +4,7 @@ import {
|
|
4
4
|
expect as playwrightExpect,
|
5
5
|
test as playwrightTest
|
6
6
|
} from "@stablyai/internal-playwright-test";
|
7
|
+
import { defineStablyConfig } from "@stablyai/internal-playwright-test";
|
7
8
|
import {
|
8
9
|
augmentBrowser,
|
9
10
|
augmentBrowserContext,
|
@@ -25,6 +26,7 @@ var test = playwrightTest.extend({
|
|
25
26
|
});
|
26
27
|
var expect = playwrightExpect.extend(stablyPlaywrightMatchers);
|
27
28
|
export {
|
29
|
+
defineStablyConfig,
|
28
30
|
expect,
|
29
31
|
setApiKey,
|
30
32
|
test
|
package/dist/index.mjs.map
CHANGED
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"sources":["../src/index.ts"],"sourcesContent":["import \"@stablyai/playwright-base\";\n\nimport {\n expect as playwrightExpect,\n test as playwrightTest,\n
|
1
|
+
{"version":3,"sources":["../src/index.ts"],"sourcesContent":["import \"@stablyai/playwright-base\";\n\nimport {\n expect as playwrightExpect,\n test as playwrightTest,\n} from \"@stablyai/internal-playwright-test\";\n\n// not sure why this is required\nexport { defineStablyConfig } from \"@stablyai/internal-playwright-test\";\n\nimport {\n augmentBrowser,\n augmentBrowserContext,\n augmentPage,\n stablyPlaywrightMatchers,\n} from \"@stablyai/playwright-base\";\n\nexport { setApiKey } from \"@stablyai/playwright-base\";\n\nexport const test: typeof playwrightTest = playwrightTest.extend({\n browser: async ({ browser }, use) => {\n await use(augmentBrowser(browser));\n },\n context: async ({ context }, use) => {\n await use(augmentBrowserContext(context));\n },\n page: async ({ page }, use) => {\n await use(augmentPage(page));\n },\n});\n\nexport const expect = playwrightExpect.extend(stablyPlaywrightMatchers);\n\nexport * from \"@stablyai/internal-playwright-test\";\n\n// declare module \"@stablyai/internal-playwright-test\" {\n// export type ScreenshotPromptOptions =\n// import(\"@stablyai/internal-playwright-test\").PageAssertionsToHaveScreenshotOptions;\n\n// interface LocatorAssertions {\n// toMatchScreenshotPrompt(\n// condition: string,\n// options?: ScreenshotPromptOptions\n// ): Promise<void>;\n// }\n\n// interface PageAssertions {\n// toMatchScreenshotPrompt(\n// condition: string,\n// options?: ScreenshotPromptOptions\n// ): Promise<void>;\n// }\n// }\n"],"mappings":";AAAA,OAAO;AAEP;AAAA,EACE,UAAU;AAAA,EACV,QAAQ;AAAA,OACH;AAGP,SAAS,0BAA0B;AAEnC;AAAA,EACE;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,OACK;AAEP,SAAS,iBAAiB;AAgB1B,cAAc;AAdP,IAAM,OAA8B,eAAe,OAAO;AAAA,EAC/D,SAAS,OAAO,EAAE,QAAQ,GAAG,QAAQ;AACnC,UAAM,IAAI,eAAe,OAAO,CAAC;AAAA,EACnC;AAAA,EACA,SAAS,OAAO,EAAE,QAAQ,GAAG,QAAQ;AACnC,UAAM,IAAI,sBAAsB,OAAO,CAAC;AAAA,EAC1C;AAAA,EACA,MAAM,OAAO,EAAE,KAAK,GAAG,QAAQ;AAC7B,UAAM,IAAI,YAAY,IAAI,CAAC;AAAA,EAC7B;AACF,CAAC;AAEM,IAAM,SAAS,iBAAiB,OAAO,wBAAwB;","names":[]}
|