From 8ce2fd08c11bf1e283c2db4af2ecf29a3d1c1896 Mon Sep 17 00:00:00 2001 From: Diana Barsan <35681649+dianabarsan@users.noreply.github.com> Date: Sat, 22 Jun 2024 09:20:54 +0300 Subject: [PATCH] fix(#9186): skip waiting for deployment complete (#9196) --- tests/e2e/upgrade/upgrade.wdio-spec.js | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/tests/e2e/upgrade/upgrade.wdio-spec.js b/tests/e2e/upgrade/upgrade.wdio-spec.js index 8fa338c48fa..55c24a8a933 100644 --- a/tests/e2e/upgrade/upgrade.wdio-spec.js +++ b/tests/e2e/upgrade/upgrade.wdio-spec.js @@ -100,7 +100,11 @@ describe('Performing an upgrade', () => { await (await upgradePage.deploymentInProgress()).waitForDisplayed(); await (await upgradePage.deploymentInProgress()).waitForDisplayed({ reverse: true, timeout: 100000 }); - await (await upgradePage.deploymentComplete()).waitForDisplayed(); + if (testFrontend) { + // https://github.com/medic/cht-core/issues/9186 + // this is an unfortunate incompatibility between current API and admin app in the old version + await (await upgradePage.deploymentComplete()).waitForDisplayed(); + } const currentVersion = await upgradePage.getCurrentVersion(); expect(version.getVersion(true)).to.include(currentVersion);