Skip to content

Commit

Permalink
fix(#9186): skip waiting for deployment complete (#9196)
Browse files Browse the repository at this point in the history
  • Loading branch information
dianabarsan authored Jun 22, 2024
1 parent c7fbcb1 commit 8ce2fd0
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion tests/e2e/upgrade/upgrade.wdio-spec.js
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit 8ce2fd0

Please sign in to comment.