mirror of
https://gitcode.com/GitHub_Trending/ji/jitsi-meet.git
synced 2025-12-30 03:12:29 +00:00
fix(tests): Fix reference to APP in debug logs retrieval
Avoids `ReferenceError: APP is not defined` the failure may happen after hangup where APP is not defined.
This commit is contained in:
@@ -403,7 +403,7 @@ export const config: WebdriverIO.MultiremoteConfig = {
|
||||
.catch(e => console.error('Failed grabbing debug logs', e)));
|
||||
|
||||
allProcessing.push(
|
||||
bInstance.execute(() => APP?.debugLogs?.logs?.join('\n')).then(res => {
|
||||
bInstance.execute(() => window.APP?.debugLogs?.logs?.join('\n')).then(res => {
|
||||
if (res) {
|
||||
saveLogs(bInstance, res);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user