@rimori/playwright-testing 0.3.18-next.0 → 0.3.18-next.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.
|
@@ -355,8 +355,8 @@ export declare class RimoriTestEnvironment {
|
|
|
355
355
|
embedding: number[];
|
|
356
356
|
}, options?: MockOptions) => void;
|
|
357
357
|
/**
|
|
358
|
-
* Mock
|
|
359
|
-
* Used by SharedContentController.searchByTopic()
|
|
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
|
|
415
|
-
* Used by SharedContentController.searchByTopic()
|
|
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.
|
|
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-next.
|
|
3
|
+
"version": "0.3.18-next.1",
|
|
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": "
|
|
29
|
+
"@rimori/client": "2.5.27-next.2"
|
|
30
30
|
},
|
|
31
31
|
"devDependencies": {
|
|
32
32
|
"@playwright/test": "^1.40.0",
|
|
33
|
-
"@rimori/client": "
|
|
33
|
+
"@rimori/client": "2.5.27-next.2",
|
|
34
34
|
"@types/node": "^20.12.7",
|
|
35
35
|
"rimraf": "^5.0.7",
|
|
36
36
|
"typescript": "^5.7.2"
|