diff --git a/.github/workflows/cypress.yml b/.github/workflows/cypress.yml index 83caa27be5..677f8b9b57 100644 --- a/.github/workflows/cypress.yml +++ b/.github/workflows/cypress.yml @@ -37,7 +37,7 @@ jobs: export API_KEY=`sudo maas apikey --username=admin` maas login admin http://localhost:5240/MAAS $API_KEY maas admin users create username=user password=test email=fake-user@example.org is_superuser=0 - - name: Ensure that images have successfully synced + - name: Wait for MAAS boot resources run: while [ $(maas admin boot-resources is-importing | cat) == "true" ]; do sleep 10; done; echo "syncing finished" - name: Run Cypress tests with a user uses: cypress-io/github-action@v4