@rimori/playwright-testing 0.3.18 → 0.3.19

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.
@@ -355,8 +355,8 @@ export declare class RimoriTestEnvironment {
355
355
  embedding: number[];
356
356
  }, options?: MockOptions) => void;
357
357
  /**
358
- * Mock RPC call for vector similarity search.
359
- * Used by SharedContentController.searchByTopic() for RAG-based content search.
358
+ * Mock backend endpoint for topic-based shared content search.
359
+ * Used by SharedContentController.searchByTopic() which calls POST /shared-content/get-by-topic.
360
360
  * @param value - Array of search results
361
361
  * @param options - Optional mock options
362
362
  */
@@ -411,13 +411,13 @@ class RimoriTestEnvironment {
411
411
  this.addBackendRoute('/ai/embedding', value, { ...options, method: 'POST' });
412
412
  },
413
413
  /**
414
- * Mock RPC call for vector similarity search.
415
- * Used by SharedContentController.searchByTopic() for RAG-based content search.
414
+ * Mock backend endpoint for topic-based shared content search.
415
+ * Used by SharedContentController.searchByTopic() which calls POST /shared-content/get-by-topic.
416
416
  * @param value - Array of search results
417
417
  * @param options - Optional mock options
418
418
  */
419
419
  mockSearchByTopic: (value, options) => {
420
- this.addSupabaseRoute('rpc/search_shared_content', value, { ...options, method: 'POST' });
420
+ this.addBackendRoute('/shared-content/get-by-topic', value, { ...options, method: 'POST' });
421
421
  },
422
422
  /**
423
423
  * Mock fetching bookmarked shared content.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@rimori/playwright-testing",
3
- "version": "0.3.18",
3
+ "version": "0.3.19",
4
4
  "description": "Playwright testing utilities for Rimori plugins and workers",
5
5
  "license": "Apache-2.0",
6
6
  "repository": {
@@ -26,11 +26,11 @@
26
26
  },
27
27
  "peerDependencies": {
28
28
  "@playwright/test": "^1.40.0",
29
- "@rimori/client": "^2.5.26"
29
+ "@rimori/client": "^2.5.28"
30
30
  },
31
31
  "devDependencies": {
32
32
  "@playwright/test": "^1.40.0",
33
- "@rimori/client": "^2.5.26",
33
+ "@rimori/client": "^2.5.28",
34
34
  "@types/node": "^20.12.7",
35
35
  "rimraf": "^5.0.7",
36
36
  "typescript": "^5.7.2"