@lowdefy/block-dev-e2e 0.0.0-experimental-20260210100718 → 0.0.0-experimental-20260211104932
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.
|
@@ -21,7 +21,7 @@ function createPlaywrightConfig({ packageDir, port = 3001 }) {
|
|
|
21
21
|
// packageDir is like: /path/to/lowdefy/packages/plugins/blocks/blocks-basic
|
|
22
22
|
const monorepoRoot = path.resolve(packageDir, '../../../../');
|
|
23
23
|
const cliPath = path.join(monorepoRoot, 'packages/cli/dist/index.js');
|
|
24
|
-
const
|
|
24
|
+
const serverDir = path.join(monorepoRoot, 'packages/servers/server');
|
|
25
25
|
return defineConfig({
|
|
26
26
|
testDir: packageDir,
|
|
27
27
|
testMatch: [
|
|
@@ -44,10 +44,10 @@ function createPlaywrightConfig({ packageDir, port = 3001 }) {
|
|
|
44
44
|
}
|
|
45
45
|
],
|
|
46
46
|
webServer: {
|
|
47
|
-
command: `node ${cliPath}
|
|
47
|
+
command: `node ${cliPath} build --config-directory ${appDir} --server-directory ${serverDir} && node ${cliPath} start --config-directory ${appDir} --server-directory ${serverDir} --port ${port} --log-level warn`,
|
|
48
48
|
url: `http://localhost:${port}`,
|
|
49
49
|
reuseExistingServer: true,
|
|
50
|
-
timeout:
|
|
50
|
+
timeout: 180000
|
|
51
51
|
}
|
|
52
52
|
});
|
|
53
53
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@lowdefy/block-dev-e2e",
|
|
3
|
-
"version": "0.0.0-experimental-
|
|
3
|
+
"version": "0.0.0-experimental-20260211104932",
|
|
4
4
|
"license": "Apache-2.0",
|
|
5
5
|
"description": "Lowdefy Block E2E Testing Tools",
|
|
6
6
|
"homepage": "https://lowdefy.com",
|
|
@@ -29,7 +29,7 @@
|
|
|
29
29
|
"dist/*"
|
|
30
30
|
],
|
|
31
31
|
"dependencies": {
|
|
32
|
-
"@lowdefy/e2e-utils": "0.0.0-experimental-
|
|
32
|
+
"@lowdefy/e2e-utils": "0.0.0-experimental-20260211104932",
|
|
33
33
|
"@playwright/test": "1.50.1"
|
|
34
34
|
},
|
|
35
35
|
"devDependencies": {
|