@rimori/playwright-testing 0.2.3-next.1 → 0.2.3-next.3
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.
|
@@ -258,8 +258,13 @@ class MessageChannelSimulator {
|
|
|
258
258
|
// );
|
|
259
259
|
const handlers = this.listeners.get(event.topic);
|
|
260
260
|
if (!handlers?.size) {
|
|
261
|
-
|
|
262
|
-
|
|
261
|
+
// Don't log an error if this is a request/response event with an auto-responder
|
|
262
|
+
// (auto-responders handle request/response patterns, not listeners)
|
|
263
|
+
const hasAutoResponder = event.eventId && this.autoResponders.has(event.topic);
|
|
264
|
+
if (!hasAutoResponder) {
|
|
265
|
+
console.log('[MessageChannelSimulator] No handlers found for topic:', event.topic);
|
|
266
|
+
console.log('[MessageChannelSimulator] Available topics:', Array.from(this.listeners.keys()));
|
|
267
|
+
}
|
|
263
268
|
return;
|
|
264
269
|
}
|
|
265
270
|
// console.log('[MessageChannelSimulator] Calling', handlers.size, 'handler(s) for topic:', event.topic);
|
|
@@ -657,6 +657,7 @@ class RimoriTestEnvironment {
|
|
|
657
657
|
const method = options?.method ?? 'GET';
|
|
658
658
|
const fullPath = `${this.rimoriInfo.url}/rest/v1/${path}`;
|
|
659
659
|
const routeKey = this.createRouteKey(method, fullPath);
|
|
660
|
+
// console.log('Registering supabase route:', routeKey);
|
|
660
661
|
if (!this.supabaseRoutes[routeKey]) {
|
|
661
662
|
this.supabaseRoutes[routeKey] = [];
|
|
662
663
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@rimori/playwright-testing",
|
|
3
|
-
"version": "0.2.3-next.
|
|
3
|
+
"version": "0.2.3-next.3",
|
|
4
4
|
"description": "Playwright testing utilities for Rimori plugins and workers",
|
|
5
5
|
"license": "Apache-2.0",
|
|
6
6
|
"repository": {
|
|
@@ -22,13 +22,12 @@
|
|
|
22
22
|
"test:headed:debug": "playwright test --headed --debug"
|
|
23
23
|
},
|
|
24
24
|
"peerDependencies": {
|
|
25
|
-
"@playwright/test": "^1.40.0"
|
|
26
|
-
|
|
27
|
-
"dependencies": {
|
|
28
|
-
"@rimori/client": "2.2.0-next.1"
|
|
25
|
+
"@playwright/test": "^1.40.0",
|
|
26
|
+
"@rimori/client": "2.2.0-next.3"
|
|
29
27
|
},
|
|
30
28
|
"devDependencies": {
|
|
31
29
|
"@playwright/test": "^1.40.0",
|
|
30
|
+
"@rimori/client": "2.2.0-next.3",
|
|
32
31
|
"@types/node": "^20.12.7",
|
|
33
32
|
"rimraf": "^5.0.7",
|
|
34
33
|
"typescript": "^5.7.2"
|