@rimori/playwright-testing 0.2.0 → 0.2.1

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.
Files changed (2) hide show
  1. package/README.md +6 -6
  2. package/package.json +1 -1
package/README.md CHANGED
@@ -1,10 +1,10 @@
1
- # @rimori/playwright
1
+ # @rimori/playwright-testing
2
2
 
3
3
  Playwright testing utilities for Rimori plugins. This package provides a complete testing environment that simulates how plugins run within the Rimori application, including MessageChannel communication, API mocking, and event handling.
4
4
 
5
5
  ## Overview
6
6
 
7
- The `@rimori/playwright` package enables end-to-end testing of Rimori plugins by:
7
+ The `@rimori/playwright-testing` package enables end-to-end testing of Rimori plugins by:
8
8
 
9
9
  - **Simulating iframe environment**: Makes plugins think they're running in an iframe (not standalone mode)
10
10
  - **MessageChannel simulation**: Mimics the parent-iframe communication used in production
@@ -14,16 +14,16 @@ The `@rimori/playwright` package enables end-to-end testing of Rimori plugins by
14
14
  ## Installation
15
15
 
16
16
  ```bash
17
- npm install --save-dev @rimori/playwright @playwright/test
17
+ npm install --save-dev @rimori/playwright-testing @playwright/test
18
18
  # or
19
- pnpm add -D @rimori/playwright @playwright/test
19
+ pnpm add -D @rimori/playwright-testing @playwright/test
20
20
  ```
21
21
 
22
22
  ## Quick Start
23
23
 
24
24
  ```typescript
25
25
  import { test, expect } from '@playwright/test';
26
- import { RimoriTestEnvironment } from '@rimori/playwright';
26
+ import { RimoriTestEnvironment } from '@rimori/playwright-testing';
27
27
 
28
28
  const pluginId = 'pl7720512027';
29
29
  const pluginUrl = 'http://localhost:3009';
@@ -338,7 +338,7 @@ env.ai.mockGetObject(
338
338
 
339
339
  ```typescript
340
340
  import { test, expect } from '@playwright/test';
341
- import { RimoriTestEnvironment } from '@rimori/playwright';
341
+ import { RimoriTestEnvironment } from '@rimori/playwright-testing';
342
342
 
343
343
  const pluginId = 'pl7720512027';
344
344
  const pluginUrl = 'http://localhost:3009';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@rimori/playwright-testing",
3
- "version": "0.2.0",
3
+ "version": "0.2.1",
4
4
  "description": "Playwright testing utilities for Rimori plugins and workers",
5
5
  "license": "Apache-2.0",
6
6
  "main": "dist/index.js",