You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When('I launch the TidGi application',asyncfunction(this: ApplicationWorld){
32
-
// For E2E tests on dev mode, use the packaged test version with NODE_ENV environment variable baked in, otherwise this will bring up existing production tidgi app on user's computer.
// For E2E tests on dev mode, use the packaged test version with NODE_ENV environment variable baked in
34
32
33
+
constpackedAppPath=getPackedAppPath();
35
34
console.log('Launching packaged test app at:',packedAppPath);
36
35
37
-
// Check if the executable exists before trying to launch
38
-
if(!fs.existsSync(packedAppPath)){
39
-
thrownewError(`TidGi executable not found at ${packedAppPath}. You should run \`pnpm run package:test\` before running the tests to ensure the app is built.`);
thrownewError(`Failed to launch TidGi application: ${errorasError}. You should run \`pnpm run package:test\` before running the tests to ensure the app is built.`);
48
+
thrownewError(`Failed to launch TidGi application: ${errorasError}. You should run \`pnpm run package:dev\` before running the tests to ensure the app is built.`);
`TidGi executable not found. Checked paths:\n${possiblePaths.join('\n')}\n\nYou should run \`pnpm run package:dev\` before running the tests to ensure the app is built.`,
0 commit comments