Skip to content

Commit

Permalink
fix(#9134): fix upgrade e2e for github tags (#9138)
Browse files Browse the repository at this point in the history
  • Loading branch information
dianabarsan authored and Benmuiruri committed May 22, 2024
1 parent c38f8ad commit d01171a
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions tests/e2e/upgrade/upgrade.wdio-spec.js
Original file line number Diff line number Diff line change
Expand Up @@ -71,8 +71,7 @@ describe('Performing an upgrade', () => {
});
});

// TODO Enable this test after 4.6.0 is released
xit('should have valid semver after installing', async () => {
it('should have valid semver after installing', async () => {
const deployInfo = await utils.request({ path: '/api/deploy-info' });
expect(semver.valid(deployInfo.version)).to.be.ok;
});
Expand Down Expand Up @@ -105,7 +104,8 @@ describe('Performing an upgrade', () => {
const staged = ddocs.filter(ddoc => ddoc._id.includes('staged'));
expect(staged.length).to.equal(0);

ddocs.forEach(ddoc => expect(ddoc.version).to.equal(currentBuild));
// For tags (betas and releases) we don't actually show the build number on the upgrade page
ddocs.forEach(ddoc => expect(ddoc.version).to.include(currentBuild));

const deployInfo = await utils.request({ path: '/api/deploy-info' });
expect(semver.valid(deployInfo.version)).to.be.ok;
Expand Down

0 comments on commit d01171a

Please sign in to comment.