@rimori/playwright-testing 0.3.15-next.0 → 0.3.15-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.
|
@@ -567,9 +567,8 @@ class RimoriTestEnvironment {
|
|
|
567
567
|
this.page.route(`${pluginUrl}/locales/**`, async (route) => {
|
|
568
568
|
const request = route.request();
|
|
569
569
|
const url = new URL(request.url());
|
|
570
|
-
const devServerUrl = `http://${url.host}
|
|
570
|
+
const devServerUrl = `http://${url.host}${url.pathname}`;
|
|
571
571
|
// console.log('Fetching locales from: ' + devServerUrl);
|
|
572
|
-
// throw new Error('Test: ' + devServerUrl);
|
|
573
572
|
try {
|
|
574
573
|
// Fetch from the dev server
|
|
575
574
|
const response = await fetch(devServerUrl);
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@rimori/playwright-testing",
|
|
3
|
-
"version": "0.3.15-next.
|
|
3
|
+
"version": "0.3.15-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.21-next.0"
|
|
30
30
|
},
|
|
31
31
|
"devDependencies": {
|
|
32
32
|
"@playwright/test": "^1.40.0",
|
|
33
|
-
"@rimori/client": "
|
|
33
|
+
"@rimori/client": "2.5.21-next.0",
|
|
34
34
|
"@types/node": "^20.12.7",
|
|
35
35
|
"rimraf": "^5.0.7",
|
|
36
36
|
"typescript": "^5.7.2"
|