@tramvai/test-integration 5.15.3 → 5.16.0
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.
- package/lib/app/startCli.es.js +5 -0
- package/lib/app/startCli.js +5 -0
- package/package.json +3 -3
package/lib/app/startCli.es.js
CHANGED
|
@@ -50,6 +50,11 @@ const startCli = async (targetOrConfig, { enableRebuild = false, env, logger = c
|
|
|
50
50
|
transpilation: {
|
|
51
51
|
loader: 'swc',
|
|
52
52
|
},
|
|
53
|
+
// Playwright Inspector collects a stack trace for the ability to show in which file or step of the test a transition occurred
|
|
54
|
+
// internak stack trace utility uses process.cwd() to correctly calculate the path to the files
|
|
55
|
+
// @tramvai/cli when using threads loader does process.chdir(rootDir) because workers don't allow to change cwd
|
|
56
|
+
// this breaks stack traces, there are now broken paths to files, the inspector works incorrectly
|
|
57
|
+
serverRunner: 'process',
|
|
53
58
|
},
|
|
54
59
|
}, targetOrConfig),
|
|
55
60
|
}),
|
package/lib/app/startCli.js
CHANGED
|
@@ -59,6 +59,11 @@ const startCli = async (targetOrConfig, { enableRebuild = false, env, logger = c
|
|
|
59
59
|
transpilation: {
|
|
60
60
|
loader: 'swc',
|
|
61
61
|
},
|
|
62
|
+
// Playwright Inspector collects a stack trace for the ability to show in which file or step of the test a transition occurred
|
|
63
|
+
// internak stack trace utility uses process.cwd() to correctly calculate the path to the files
|
|
64
|
+
// @tramvai/cli when using threads loader does process.chdir(rootDir) because workers don't allow to change cwd
|
|
65
|
+
// this breaks stack traces, there are now broken paths to files, the inspector works incorrectly
|
|
66
|
+
serverRunner: 'process',
|
|
62
67
|
},
|
|
63
68
|
}, targetOrConfig),
|
|
64
69
|
}),
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@tramvai/test-integration",
|
|
3
|
-
"version": "5.
|
|
3
|
+
"version": "5.16.0",
|
|
4
4
|
"description": "",
|
|
5
5
|
"main": "lib/index.js",
|
|
6
6
|
"typings": "lib/index.d.ts",
|
|
@@ -21,14 +21,14 @@
|
|
|
21
21
|
},
|
|
22
22
|
"dependencies": {
|
|
23
23
|
"@tinkoff/mocker": "5.0.3",
|
|
24
|
-
"@tramvai/test-helpers": "5.
|
|
24
|
+
"@tramvai/test-helpers": "5.16.0",
|
|
25
25
|
"env-ci": "^5.0.2",
|
|
26
26
|
"utility-types": "^3.10.0",
|
|
27
27
|
"wait-on": "^5.3.0"
|
|
28
28
|
},
|
|
29
29
|
"peerDependencies": {
|
|
30
30
|
"@tinkoff/utils": "^2.1.2",
|
|
31
|
-
"@tramvai/cli": "5.
|
|
31
|
+
"@tramvai/cli": "5.16.0",
|
|
32
32
|
"tslib": "^2.4.0"
|
|
33
33
|
},
|
|
34
34
|
"license": "Apache-2.0",
|