Make sure the namespace is loaded before replacing the name
continuous-integration/drone/pr Build is passing Details

This commit is contained in:
kolaente 2021-05-26 23:45:06 +02:00
parent b9502fa25a
commit 9f0271b3a5
Signed by: konrad
GPG Key ID: F40E70337AB24C9B
1 changed files with 3 additions and 0 deletions

View File

@ -59,6 +59,9 @@ describe('Namepaces', () => {
.click()
cy.url()
.should('contain', '/settings/edit')
cy.get('#namespacetext')
.invoke('val')
.should('equal', newNamespaces[0].title) // wait until the namespace data is loaded
cy.get('#namespacetext')
.type(`{selectall}${newNamespaceName}`)
cy.get('footer.modal-card-foot .button')