|
|
|
@ -62,7 +62,7 @@ describe('Files user credentials', { testIsolation: true }, () => {
|
|
|
|
cy.get('@storageDialog').should('not.exist')
|
|
|
|
cy.get('@storageDialog').should('not.exist')
|
|
|
|
|
|
|
|
|
|
|
|
// Storage dialog now closed, the user auth dialog should be visible
|
|
|
|
// Storage dialog now closed, the user auth dialog should be visible
|
|
|
|
cy.findByRole('dialog', { name: 'Confirm your password' }).as('authDialog')
|
|
|
|
cy.findByRole('dialog', { name: 'Authentication required' }).as('authDialog')
|
|
|
|
cy.get('@authDialog').should('be.visible')
|
|
|
|
cy.get('@authDialog').should('be.visible')
|
|
|
|
handlePasswordConfirmation(user1.password)
|
|
|
|
handlePasswordConfirmation(user1.password)
|
|
|
|
|
|
|
|
|
|
|
|
@ -104,7 +104,7 @@ describe('Files user credentials', { testIsolation: true }, () => {
|
|
|
|
cy.get('@storageDialog').should('not.exist')
|
|
|
|
cy.get('@storageDialog').should('not.exist')
|
|
|
|
|
|
|
|
|
|
|
|
// Storage dialog now closed, the user auth dialog should be visible
|
|
|
|
// Storage dialog now closed, the user auth dialog should be visible
|
|
|
|
cy.findByRole('dialog', { name: 'Confirm your password' }).as('authDialog')
|
|
|
|
cy.findByRole('dialog', { name: 'Authentication required' }).as('authDialog')
|
|
|
|
cy.get('@authDialog').should('be.visible')
|
|
|
|
cy.get('@authDialog').should('be.visible')
|
|
|
|
handlePasswordConfirmation(user2.password)
|
|
|
|
handlePasswordConfirmation(user2.password)
|
|
|
|
|
|
|
|
|
|
|
|
|