ci: When saving credentials in e2e tests, wait for the save operation to finish (no-changelog) (#11850)

Co-authored-by: Csaba Tuncsik <csaba.tuncsik@gmail.com>
This commit is contained in:
कारतोफ्फेलस्क्रिप्ट™ 2024-11-22 15:13:45 +01:00 committed by GitHub
parent fbaa17951f
commit 96b95ef5e5
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -35,7 +35,11 @@ export function setCredentialConnectionParameterInputByName(name: string, value:
}
export function saveCredential() {
getCredentialSaveButton().click({ force: true });
getCredentialSaveButton()
.click({ force: true })
.within(() => {
cy.get('button').should('not.exist');
});
}
export function closeCredentialModal() {