fix(tests): Avoid error after tests.

In newer versions of wdio this is handled, but now in case of error at this level the test is missing from the result xmls.
This commit is contained in:
damencho
2025-03-20 09:47:11 -05:00
committed by Дамян Минков
parent 6de935b372
commit e15bf2d4dd

View File

@@ -221,11 +221,8 @@ export const config: WebdriverIO.MultiremoteConfig = {
after() {
const { ctx }: any = global;
if (ctx?.webhooksProxy) {
ctx.webhooksProxy.disconnect();
}
ctx.keepAlive?.forEach(clearInterval);
ctx?.webhooksProxy?.disconnect();
ctx?.keepAlive?.forEach(clearInterval);
},
beforeSession(c, capabilities, specs, cid) {