Skip to content

Commit

Permalink
skip waiting for "deployment complete"
Browse files Browse the repository at this point in the history
  • Loading branch information
dianabarsan committed Jun 19, 2024
1 parent 5842470 commit d8a7b56
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) {
// Old admin pages will not show the correct deployment complete message because of a change in API
// https://github.com/medic/cht-core/issues/9186
await (await upgradePage.deploymentComplete()).waitForDisplayed();
}

const currentVersion = await upgradePage.getCurrentVersion();
expect(version.getVersion(true)).to.include(currentVersion);
Expand Down

0 comments on commit d8a7b56

Please sign in to comment.