@stablyai/playwright-test 2.0.1 → 2.0.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.cjs CHANGED
@@ -22,6 +22,7 @@ var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: tru
22
22
  var src_exports = {};
23
23
  __export(src_exports, {
24
24
  Agent: () => import_playwright_base3.Agent,
25
+ defineConfig: () => defineConfig,
25
26
  expect: () => expect,
26
27
  setApiKey: () => import_playwright_base3.setApiKey,
27
28
  stablyReporter: () => import_playwright_reporter.stablyReporter,
@@ -50,9 +51,11 @@ var test = import_test.test.extend({
50
51
  }
51
52
  });
52
53
  var expect = import_test.expect.extend(import_playwright_base2.stablyPlaywrightMatchers);
54
+ var defineConfig = import_test.defineConfig;
53
55
  // Annotate the CommonJS export names for ESM import in node:
54
56
  0 && (module.exports = {
55
57
  Agent,
58
+ defineConfig,
56
59
  expect,
57
60
  setApiKey,
58
61
  stablyReporter,
@@ -1 +1 @@
1
- {"version":3,"sources":["../src/index.ts"],"sourcesContent":["import type { BrowserContext } from \"@playwright/test\";\nimport {\n expect as playwrightExpect,\n test as playwrightTest,\n} from \"@playwright/test\";\nimport \"@stablyai/playwright-base\";\n\nimport type { Agent } from \"@stablyai/playwright-base\";\nimport {\n augmentBrowser,\n augmentBrowserContext,\n augmentPage,\n stablyPlaywrightMatchers,\n} from \"@stablyai/playwright-base\";\n\nexport { stablyReporter } from \"@stablyai/playwright-reporter\";\nexport { Agent, setApiKey } from \"@stablyai/playwright-base\";\n\nexport const test: typeof playwrightTest = playwrightTest.extend<{\n agent: Agent;\n}>({\n agent: async (\n { context }: { context: BrowserContext },\n use: (agent: Agent) => Promise<void>,\n ) => {\n // Create a default agent from the default context\n const agent = context.newAgent();\n await use(agent);\n },\n browser: async ({ browser }, use) => {\n // eslint-disable-next-line @typescript-eslint/no-explicit-any\n await use(augmentBrowser(browser as any) as any);\n },\n context: async ({ context }, use) => {\n // eslint-disable-next-line @typescript-eslint/no-explicit-any\n await use(augmentBrowserContext(context as any) as any);\n },\n page: async ({ page }, use) => {\n // eslint-disable-next-line @typescript-eslint/no-explicit-any\n await use(augmentPage(page as any) as any);\n },\n});\n\nexport const expect = playwrightExpect.extend(stablyPlaywrightMatchers);\n\nexport * from \"@playwright/test\";\n\ndeclare module \"@playwright/test\" {\n export type ScreenshotPromptOptions =\n // eslint-disable-next-line @typescript-eslint/consistent-type-imports\n import(\"@playwright/test\").PageAssertionsToHaveScreenshotOptions;\n\n // eslint-disable-next-line @typescript-eslint/consistent-type-definitions\n interface LocatorAssertions {\n toMatchScreenshotPrompt(\n condition: string,\n options?: ScreenshotPromptOptions,\n ): Promise<void>;\n }\n\n // eslint-disable-next-line @typescript-eslint/consistent-type-definitions\n interface PageAssertions {\n toMatchScreenshotPrompt(\n condition: string,\n options?: ScreenshotPromptOptions,\n ): Promise<void>;\n }\n\n // Add agent fixture to test args\n // eslint-disable-next-line @typescript-eslint/consistent-type-definitions\n interface PlaywrightTestArgs {\n agent: Agent;\n }\n}\n"],"mappings":";;;;;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AACA,kBAGO;AACP,6BAAO;AAGP,IAAAA,0BAKO;AAEP,iCAA+B;AAC/B,IAAAA,0BAAiC;AA6BjC,wBAAc,6BA7Cd;AAkBO,IAAM,OAA8B,YAAAC,KAAe,OAEvD;AAAA,EACD,OAAO,OACL,EAAE,QAAQ,GACV,QACG;AAEH,UAAM,QAAQ,QAAQ,SAAS;AAC/B,UAAM,IAAI,KAAK;AAAA,EACjB;AAAA,EACA,SAAS,OAAO,EAAE,QAAQ,GAAG,QAAQ;AAEnC,UAAM,QAAI,wCAAe,OAAc,CAAQ;AAAA,EACjD;AAAA,EACA,SAAS,OAAO,EAAE,QAAQ,GAAG,QAAQ;AAEnC,UAAM,QAAI,+CAAsB,OAAc,CAAQ;AAAA,EACxD;AAAA,EACA,MAAM,OAAO,EAAE,KAAK,GAAG,QAAQ;AAE7B,UAAM,QAAI,qCAAY,IAAW,CAAQ;AAAA,EAC3C;AACF,CAAC;AAEM,IAAM,SAAS,YAAAC,OAAiB,OAAO,gDAAwB;","names":["import_playwright_base","playwrightTest","playwrightExpect"]}
1
+ {"version":3,"sources":["../src/index.ts"],"sourcesContent":["import type { BrowserContext } from \"@playwright/test\";\nimport {\n defineConfig as playwrightDefineConfig,\n expect as playwrightExpect,\n test as playwrightTest,\n} from \"@playwright/test\";\nimport \"@stablyai/playwright-base\";\n\nimport type { Agent } from \"@stablyai/playwright-base\";\nimport {\n augmentBrowser,\n augmentBrowserContext,\n augmentPage,\n stablyPlaywrightMatchers,\n} from \"@stablyai/playwright-base\";\n\nimport type { StablyNotificationConfig } from \"@stablyai/playwright-reporter\";\n\nexport { stablyReporter } from \"@stablyai/playwright-reporter\";\nexport type {\n StablyReporterOptions,\n ProjectNotificationConfig,\n NotificationResultPolicy,\n StablyEmailNotificationConfig,\n StablySlackNotificationConfig,\n StablyNotificationConfig,\n} from \"@stablyai/playwright-reporter\";\nexport { Agent, setApiKey } from \"@stablyai/playwright-base\";\n\nexport const test: typeof playwrightTest = playwrightTest.extend<{\n agent: Agent;\n}>({\n agent: async (\n { context }: { context: BrowserContext },\n use: (agent: Agent) => Promise<void>,\n ) => {\n // Create a default agent from the default context\n const agent = context.newAgent();\n await use(agent);\n },\n browser: async ({ browser }, use) => {\n // eslint-disable-next-line @typescript-eslint/no-explicit-any\n await use(augmentBrowser(browser as any) as any);\n },\n context: async ({ context }, use) => {\n // eslint-disable-next-line @typescript-eslint/no-explicit-any\n await use(augmentBrowserContext(context as any) as any);\n },\n page: async ({ page }, use) => {\n // eslint-disable-next-line @typescript-eslint/no-explicit-any\n await use(augmentPage(page as any) as any);\n },\n});\n\nexport const expect = playwrightExpect.extend(stablyPlaywrightMatchers);\n\nexport * from \"@playwright/test\";\n\nexport type StablyProjectConfig = {\n notifications?: StablyNotificationConfig;\n};\n\n/**\n * Stably-enhanced defineConfig with typed support for stably notification configuration in projects.\n * The `stably` property on projects is available via module augmentation of `@playwright/test`.\n *\n * @example\n * ```ts\n * import { defineConfig, stablyReporter } from \"@stablyai/playwright-test\";\n *\n * export default defineConfig({\n * reporter: [stablyReporter({ apiKey: \"...\" })],\n * projects: [\n * {\n * name: \"smoke\",\n * stably: {\n * notifications: {\n * slack: { channelName: \"#alerts\", notifyOnResult: \"failures-only\" },\n * },\n * },\n * },\n * ],\n * });\n * ```\n */\nexport const defineConfig = playwrightDefineConfig;\n\ndeclare module \"@playwright/test\" {\n export type ScreenshotPromptOptions =\n // eslint-disable-next-line @typescript-eslint/consistent-type-imports\n import(\"@playwright/test\").PageAssertionsToHaveScreenshotOptions;\n\n // eslint-disable-next-line @typescript-eslint/consistent-type-definitions\n interface LocatorAssertions {\n toMatchScreenshotPrompt(\n condition: string,\n options?: ScreenshotPromptOptions,\n ): Promise<void>;\n }\n\n // eslint-disable-next-line @typescript-eslint/consistent-type-definitions\n interface PageAssertions {\n toMatchScreenshotPrompt(\n condition: string,\n options?: ScreenshotPromptOptions,\n ): Promise<void>;\n }\n\n // Add agent fixture to test args\n // eslint-disable-next-line @typescript-eslint/consistent-type-definitions\n interface PlaywrightTestArgs {\n agent: Agent;\n }\n\n // Add stably config to project configuration\n // eslint-disable-next-line @typescript-eslint/consistent-type-definitions\n interface Project {\n stably?: StablyProjectConfig;\n }\n}\n"],"mappings":";;;;;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AACA,kBAIO;AACP,6BAAO;AAGP,IAAAA,0BAKO;AAIP,iCAA+B;AAS/B,IAAAA,0BAAiC;AA6BjC,wBAAc,6BAxDd;AA6BO,IAAM,OAA8B,YAAAC,KAAe,OAEvD;AAAA,EACD,OAAO,OACL,EAAE,QAAQ,GACV,QACG;AAEH,UAAM,QAAQ,QAAQ,SAAS;AAC/B,UAAM,IAAI,KAAK;AAAA,EACjB;AAAA,EACA,SAAS,OAAO,EAAE,QAAQ,GAAG,QAAQ;AAEnC,UAAM,QAAI,wCAAe,OAAc,CAAQ;AAAA,EACjD;AAAA,EACA,SAAS,OAAO,EAAE,QAAQ,GAAG,QAAQ;AAEnC,UAAM,QAAI,+CAAsB,OAAc,CAAQ;AAAA,EACxD;AAAA,EACA,MAAM,OAAO,EAAE,KAAK,GAAG,QAAQ;AAE7B,UAAM,QAAI,qCAAY,IAAW,CAAQ;AAAA,EAC3C;AACF,CAAC;AAEM,IAAM,SAAS,YAAAC,OAAiB,OAAO,gDAAwB;AA+B/D,IAAM,eAAe,YAAAC;","names":["import_playwright_base","playwrightTest","playwrightExpect","playwrightDefineConfig"]}
package/dist/index.d.mts CHANGED
@@ -3,9 +3,10 @@ import * as _stablyai_playwright_base from '@stablyai/playwright-base';
3
3
  import { Agent } from '@stablyai/playwright-base';
4
4
  export { Agent, setApiKey } from '@stablyai/playwright-base';
5
5
  import * as _playwright_test from '@playwright/test';
6
- import { test as test$1 } from '@playwright/test';
6
+ import { test as test$1, defineConfig as defineConfig$1 } from '@playwright/test';
7
7
  export * from '@playwright/test';
8
- export { stablyReporter } from '@stablyai/playwright-reporter';
8
+ import { StablyNotificationConfig } from '@stablyai/playwright-reporter';
9
+ export { NotificationResultPolicy, ProjectNotificationConfig, StablyEmailNotificationConfig, StablyNotificationConfig, StablyReporterOptions, StablySlackNotificationConfig, stablyReporter } from '@stablyai/playwright-reporter';
9
10
 
10
11
  declare const test: typeof test$1;
11
12
  declare const expect: _playwright_test.Expect<{
@@ -15,6 +16,33 @@ declare const expect: _playwright_test.Expect<{
15
16
  }, received: _playwright_test.Page | _playwright_test.Locator, condition: string, options?: _stablyai_playwright_base.ScreenshotPromptOptions) => Promise<_playwright_test.MatcherReturnType>;
16
17
  }>;
17
18
 
19
+ type StablyProjectConfig = {
20
+ notifications?: StablyNotificationConfig;
21
+ };
22
+ /**
23
+ * Stably-enhanced defineConfig with typed support for stably notification configuration in projects.
24
+ * The `stably` property on projects is available via module augmentation of `@playwright/test`.
25
+ *
26
+ * @example
27
+ * ```ts
28
+ * import { defineConfig, stablyReporter } from "@stablyai/playwright-test";
29
+ *
30
+ * export default defineConfig({
31
+ * reporter: [stablyReporter({ apiKey: "..." })],
32
+ * projects: [
33
+ * {
34
+ * name: "smoke",
35
+ * stably: {
36
+ * notifications: {
37
+ * slack: { channelName: "#alerts", notifyOnResult: "failures-only" },
38
+ * },
39
+ * },
40
+ * },
41
+ * ],
42
+ * });
43
+ * ```
44
+ */
45
+ declare const defineConfig: typeof defineConfig$1;
18
46
  declare module "@playwright/test" {
19
47
  type ScreenshotPromptOptions = _playwright_test.PageAssertionsToHaveScreenshotOptions;
20
48
  interface LocatorAssertions {
@@ -26,6 +54,9 @@ declare module "@playwright/test" {
26
54
  interface PlaywrightTestArgs {
27
55
  agent: Agent;
28
56
  }
57
+ interface Project {
58
+ stably?: StablyProjectConfig;
59
+ }
29
60
  }
30
61
 
31
- export { expect, test };
62
+ export { type StablyProjectConfig, defineConfig, expect, test };
package/dist/index.d.ts CHANGED
@@ -3,9 +3,10 @@ import * as _stablyai_playwright_base from '@stablyai/playwright-base';
3
3
  import { Agent } from '@stablyai/playwright-base';
4
4
  export { Agent, setApiKey } from '@stablyai/playwright-base';
5
5
  import * as _playwright_test from '@playwright/test';
6
- import { test as test$1 } from '@playwright/test';
6
+ import { test as test$1, defineConfig as defineConfig$1 } from '@playwright/test';
7
7
  export * from '@playwright/test';
8
- export { stablyReporter } from '@stablyai/playwright-reporter';
8
+ import { StablyNotificationConfig } from '@stablyai/playwright-reporter';
9
+ export { NotificationResultPolicy, ProjectNotificationConfig, StablyEmailNotificationConfig, StablyNotificationConfig, StablyReporterOptions, StablySlackNotificationConfig, stablyReporter } from '@stablyai/playwright-reporter';
9
10
 
10
11
  declare const test: typeof test$1;
11
12
  declare const expect: _playwright_test.Expect<{
@@ -15,6 +16,33 @@ declare const expect: _playwright_test.Expect<{
15
16
  }, received: _playwright_test.Page | _playwright_test.Locator, condition: string, options?: _stablyai_playwright_base.ScreenshotPromptOptions) => Promise<_playwright_test.MatcherReturnType>;
16
17
  }>;
17
18
 
19
+ type StablyProjectConfig = {
20
+ notifications?: StablyNotificationConfig;
21
+ };
22
+ /**
23
+ * Stably-enhanced defineConfig with typed support for stably notification configuration in projects.
24
+ * The `stably` property on projects is available via module augmentation of `@playwright/test`.
25
+ *
26
+ * @example
27
+ * ```ts
28
+ * import { defineConfig, stablyReporter } from "@stablyai/playwright-test";
29
+ *
30
+ * export default defineConfig({
31
+ * reporter: [stablyReporter({ apiKey: "..." })],
32
+ * projects: [
33
+ * {
34
+ * name: "smoke",
35
+ * stably: {
36
+ * notifications: {
37
+ * slack: { channelName: "#alerts", notifyOnResult: "failures-only" },
38
+ * },
39
+ * },
40
+ * },
41
+ * ],
42
+ * });
43
+ * ```
44
+ */
45
+ declare const defineConfig: typeof defineConfig$1;
18
46
  declare module "@playwright/test" {
19
47
  type ScreenshotPromptOptions = _playwright_test.PageAssertionsToHaveScreenshotOptions;
20
48
  interface LocatorAssertions {
@@ -26,6 +54,9 @@ declare module "@playwright/test" {
26
54
  interface PlaywrightTestArgs {
27
55
  agent: Agent;
28
56
  }
57
+ interface Project {
58
+ stably?: StablyProjectConfig;
59
+ }
29
60
  }
30
61
 
31
- export { expect, test };
62
+ export { type StablyProjectConfig, defineConfig, expect, test };
package/dist/index.mjs CHANGED
@@ -1,5 +1,6 @@
1
1
  // src/index.ts
2
2
  import {
3
+ defineConfig as playwrightDefineConfig,
3
4
  expect as playwrightExpect,
4
5
  test as playwrightTest
5
6
  } from "@playwright/test";
@@ -29,8 +30,10 @@ var test = playwrightTest.extend({
29
30
  }
30
31
  });
31
32
  var expect = playwrightExpect.extend(stablyPlaywrightMatchers);
33
+ var defineConfig = playwrightDefineConfig;
32
34
  export {
33
35
  Agent,
36
+ defineConfig,
34
37
  expect,
35
38
  setApiKey,
36
39
  stablyReporter,
@@ -1 +1 @@
1
- {"version":3,"sources":["../src/index.ts"],"sourcesContent":["import type { BrowserContext } from \"@playwright/test\";\nimport {\n expect as playwrightExpect,\n test as playwrightTest,\n} from \"@playwright/test\";\nimport \"@stablyai/playwright-base\";\n\nimport type { Agent } from \"@stablyai/playwright-base\";\nimport {\n augmentBrowser,\n augmentBrowserContext,\n augmentPage,\n stablyPlaywrightMatchers,\n} from \"@stablyai/playwright-base\";\n\nexport { stablyReporter } from \"@stablyai/playwright-reporter\";\nexport { Agent, setApiKey } from \"@stablyai/playwright-base\";\n\nexport const test: typeof playwrightTest = playwrightTest.extend<{\n agent: Agent;\n}>({\n agent: async (\n { context }: { context: BrowserContext },\n use: (agent: Agent) => Promise<void>,\n ) => {\n // Create a default agent from the default context\n const agent = context.newAgent();\n await use(agent);\n },\n browser: async ({ browser }, use) => {\n // eslint-disable-next-line @typescript-eslint/no-explicit-any\n await use(augmentBrowser(browser as any) as any);\n },\n context: async ({ context }, use) => {\n // eslint-disable-next-line @typescript-eslint/no-explicit-any\n await use(augmentBrowserContext(context as any) as any);\n },\n page: async ({ page }, use) => {\n // eslint-disable-next-line @typescript-eslint/no-explicit-any\n await use(augmentPage(page as any) as any);\n },\n});\n\nexport const expect = playwrightExpect.extend(stablyPlaywrightMatchers);\n\nexport * from \"@playwright/test\";\n\ndeclare module \"@playwright/test\" {\n export type ScreenshotPromptOptions =\n // eslint-disable-next-line @typescript-eslint/consistent-type-imports\n import(\"@playwright/test\").PageAssertionsToHaveScreenshotOptions;\n\n // eslint-disable-next-line @typescript-eslint/consistent-type-definitions\n interface LocatorAssertions {\n toMatchScreenshotPrompt(\n condition: string,\n options?: ScreenshotPromptOptions,\n ): Promise<void>;\n }\n\n // eslint-disable-next-line @typescript-eslint/consistent-type-definitions\n interface PageAssertions {\n toMatchScreenshotPrompt(\n condition: string,\n options?: ScreenshotPromptOptions,\n ): Promise<void>;\n }\n\n // Add agent fixture to test args\n // eslint-disable-next-line @typescript-eslint/consistent-type-definitions\n interface PlaywrightTestArgs {\n agent: Agent;\n }\n}\n"],"mappings":";AACA;AAAA,EACE,UAAU;AAAA,EACV,QAAQ;AAAA,OACH;AACP,OAAO;AAGP;AAAA,EACE;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,OACK;AAEP,SAAS,sBAAsB;AAC/B,SAAS,OAAO,iBAAiB;AA6BjC,cAAc;AA3BP,IAAM,OAA8B,eAAe,OAEvD;AAAA,EACD,OAAO,OACL,EAAE,QAAQ,GACV,QACG;AAEH,UAAM,QAAQ,QAAQ,SAAS;AAC/B,UAAM,IAAI,KAAK;AAAA,EACjB;AAAA,EACA,SAAS,OAAO,EAAE,QAAQ,GAAG,QAAQ;AAEnC,UAAM,IAAI,eAAe,OAAc,CAAQ;AAAA,EACjD;AAAA,EACA,SAAS,OAAO,EAAE,QAAQ,GAAG,QAAQ;AAEnC,UAAM,IAAI,sBAAsB,OAAc,CAAQ;AAAA,EACxD;AAAA,EACA,MAAM,OAAO,EAAE,KAAK,GAAG,QAAQ;AAE7B,UAAM,IAAI,YAAY,IAAW,CAAQ;AAAA,EAC3C;AACF,CAAC;AAEM,IAAM,SAAS,iBAAiB,OAAO,wBAAwB;","names":[]}
1
+ {"version":3,"sources":["../src/index.ts"],"sourcesContent":["import type { BrowserContext } from \"@playwright/test\";\nimport {\n defineConfig as playwrightDefineConfig,\n expect as playwrightExpect,\n test as playwrightTest,\n} from \"@playwright/test\";\nimport \"@stablyai/playwright-base\";\n\nimport type { Agent } from \"@stablyai/playwright-base\";\nimport {\n augmentBrowser,\n augmentBrowserContext,\n augmentPage,\n stablyPlaywrightMatchers,\n} from \"@stablyai/playwright-base\";\n\nimport type { StablyNotificationConfig } from \"@stablyai/playwright-reporter\";\n\nexport { stablyReporter } from \"@stablyai/playwright-reporter\";\nexport type {\n StablyReporterOptions,\n ProjectNotificationConfig,\n NotificationResultPolicy,\n StablyEmailNotificationConfig,\n StablySlackNotificationConfig,\n StablyNotificationConfig,\n} from \"@stablyai/playwright-reporter\";\nexport { Agent, setApiKey } from \"@stablyai/playwright-base\";\n\nexport const test: typeof playwrightTest = playwrightTest.extend<{\n agent: Agent;\n}>({\n agent: async (\n { context }: { context: BrowserContext },\n use: (agent: Agent) => Promise<void>,\n ) => {\n // Create a default agent from the default context\n const agent = context.newAgent();\n await use(agent);\n },\n browser: async ({ browser }, use) => {\n // eslint-disable-next-line @typescript-eslint/no-explicit-any\n await use(augmentBrowser(browser as any) as any);\n },\n context: async ({ context }, use) => {\n // eslint-disable-next-line @typescript-eslint/no-explicit-any\n await use(augmentBrowserContext(context as any) as any);\n },\n page: async ({ page }, use) => {\n // eslint-disable-next-line @typescript-eslint/no-explicit-any\n await use(augmentPage(page as any) as any);\n },\n});\n\nexport const expect = playwrightExpect.extend(stablyPlaywrightMatchers);\n\nexport * from \"@playwright/test\";\n\nexport type StablyProjectConfig = {\n notifications?: StablyNotificationConfig;\n};\n\n/**\n * Stably-enhanced defineConfig with typed support for stably notification configuration in projects.\n * The `stably` property on projects is available via module augmentation of `@playwright/test`.\n *\n * @example\n * ```ts\n * import { defineConfig, stablyReporter } from \"@stablyai/playwright-test\";\n *\n * export default defineConfig({\n * reporter: [stablyReporter({ apiKey: \"...\" })],\n * projects: [\n * {\n * name: \"smoke\",\n * stably: {\n * notifications: {\n * slack: { channelName: \"#alerts\", notifyOnResult: \"failures-only\" },\n * },\n * },\n * },\n * ],\n * });\n * ```\n */\nexport const defineConfig = playwrightDefineConfig;\n\ndeclare module \"@playwright/test\" {\n export type ScreenshotPromptOptions =\n // eslint-disable-next-line @typescript-eslint/consistent-type-imports\n import(\"@playwright/test\").PageAssertionsToHaveScreenshotOptions;\n\n // eslint-disable-next-line @typescript-eslint/consistent-type-definitions\n interface LocatorAssertions {\n toMatchScreenshotPrompt(\n condition: string,\n options?: ScreenshotPromptOptions,\n ): Promise<void>;\n }\n\n // eslint-disable-next-line @typescript-eslint/consistent-type-definitions\n interface PageAssertions {\n toMatchScreenshotPrompt(\n condition: string,\n options?: ScreenshotPromptOptions,\n ): Promise<void>;\n }\n\n // Add agent fixture to test args\n // eslint-disable-next-line @typescript-eslint/consistent-type-definitions\n interface PlaywrightTestArgs {\n agent: Agent;\n }\n\n // Add stably config to project configuration\n // eslint-disable-next-line @typescript-eslint/consistent-type-definitions\n interface Project {\n stably?: StablyProjectConfig;\n }\n}\n"],"mappings":";AACA;AAAA,EACE,gBAAgB;AAAA,EAChB,UAAU;AAAA,EACV,QAAQ;AAAA,OACH;AACP,OAAO;AAGP;AAAA,EACE;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,OACK;AAIP,SAAS,sBAAsB;AAS/B,SAAS,OAAO,iBAAiB;AA6BjC,cAAc;AA3BP,IAAM,OAA8B,eAAe,OAEvD;AAAA,EACD,OAAO,OACL,EAAE,QAAQ,GACV,QACG;AAEH,UAAM,QAAQ,QAAQ,SAAS;AAC/B,UAAM,IAAI,KAAK;AAAA,EACjB;AAAA,EACA,SAAS,OAAO,EAAE,QAAQ,GAAG,QAAQ;AAEnC,UAAM,IAAI,eAAe,OAAc,CAAQ;AAAA,EACjD;AAAA,EACA,SAAS,OAAO,EAAE,QAAQ,GAAG,QAAQ;AAEnC,UAAM,IAAI,sBAAsB,OAAc,CAAQ;AAAA,EACxD;AAAA,EACA,MAAM,OAAO,EAAE,KAAK,GAAG,QAAQ;AAE7B,UAAM,IAAI,YAAY,IAAW,CAAQ;AAAA,EAC3C;AACF,CAAC;AAEM,IAAM,SAAS,iBAAiB,OAAO,wBAAwB;AA+B/D,IAAM,eAAe;","names":[]}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@stablyai/playwright-test",
3
- "version": "2.0.1",
3
+ "version": "2.0.4",
4
4
  "description": "Playwright Test wrapper with Stably AI matchers",
5
5
  "main": "./dist/index.cjs",
6
6
  "module": "./dist/index.mjs",
@@ -21,8 +21,8 @@
21
21
  "dist"
22
22
  ],
23
23
  "dependencies": {
24
- "@stablyai/playwright": "2.0.1",
25
- "@stablyai/playwright-base": "2.0.1",
24
+ "@stablyai/playwright": "2.0.4",
25
+ "@stablyai/playwright-base": "2.0.4",
26
26
  "@stablyai/playwright-reporter": "1.3.1"
27
27
  },
28
28
  "peerDependencies": {