Skip to content

Commit

Permalink
ci/ui: iso is no longer named elemental.iso
Browse files Browse the repository at this point in the history
  • Loading branch information
juadk committed Apr 27, 2023
1 parent 4ebb468 commit 682ba2e
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 5 deletions.
4 changes: 2 additions & 2 deletions tests/cypress/latest/e2e/unit_tests/upgrade.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -148,9 +148,9 @@ describe('Upgrade tests', () => {
cy.get('.primaryheader')
.contains('Active');
cy.get('.primaryheader')
.contains('Updating', {timeout: 360000});
.contains('Active', {timeout: 420000}).should('not.exist');
cy.get('.primaryheader')
.contains('Active', {timeout: 360000});
.contains('Active', {timeout: 420000});
});

it('Cannot create two upgrade groups targeting the same cluster', () => {
Expand Down
2 changes: 1 addition & 1 deletion tests/cypress/latest/support/functions.ts
Original file line number Diff line number Diff line change
Expand Up @@ -275,7 +275,7 @@ Cypress.Commands.add('createMachReg', ({
})
cy.getBySel('download-iso-btn')
.click()
cy.verifyDownload('elemental.iso', { timeout: 180000, interval: 5000 });
cy.verifyDownload('.iso', { contains:true, timeout: 180000, interval: 5000 });
}

// Check Cloud configuration
Expand Down
6 changes: 4 additions & 2 deletions tests/scripts/start-cypress-tests
Original file line number Diff line number Diff line change
Expand Up @@ -31,12 +31,14 @@ docker run -v $PWD:/workdir -w /workdir \
$CYPRESS_DOCKER \
-s $SPEC

popd
[[ -d downloads ]] && sudo chown -R gh-runner:users downloads videos

# Move elemental.iso into the expected folder
if [[ ${ISO_BOOT} == "true" ]]; then
sudo mv cypress/latest/downloads/elemental.iso ../elemental-from-cypress.iso
mv downloads/*.iso ../../../elemental-from-cypress.iso
fi

popd

# Kill the HTTP server
pkill -f "${HTTP_SRV_CMD}"

0 comments on commit 682ba2e

Please sign in to comment.