App tab – upload APK/IPA files directly to the server's fileshare #1627
luprochazka-cen63872
started this conversation in
Ideas
Replies: 3 comments 4 replies
-
|
up |
Beta Was this translation helpful? Give feedback.
3 replies
-
|
Currently, the Adding an additional condition to check whether the async function findAppPath(caps: any) {
const mergedCaps = Object.assign({}, caps.firstMatch ? caps.firstMatch[0] : {}, caps.alwaysMatch);
const fileName = mergedCaps['appium:app'];
if (fileName?.startsWith('file')) {
const appInfo: any = await prisma.appInformation.findFirst({
where: { uploadedFileName: fileName as string },
});
return `${DevicePlugin.serverUrl}${appInfo?.path}`;
} else if (fileName?.match(/^[A-Za-z]+[A-Za-z0-9_\-\.]+\.(apk|ipa)$/g)) {
const appInfo: any = await prisma.appInformation.findFirst({
where: { fileName: fileName as string },
orderBy: { createdAt: 'desc' },
});
return appInfo ? `${DevicePlugin.serverUrl}${appInfo?.path}` : fileName;
} else {
return fileName;
}
} |
Beta Was this translation helpful? Give feedback.
0 replies
-
|
Any update for this issue? |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment

Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Hi, I’m aware of the App tab and I use it to sign the wda.ipa file. However, I’m considering another use case. In our Robot Framework scripts, we install applications using absolute paths.
The Automation FileName feature might be tricky for us — I’d prefer to retain the original filename. This approach could save time by avoiding the need to access the server manually to download or copy the correct app file.
Beta Was this translation helpful? Give feedback.
All reactions