diff --git a/tests_cypress/cypress/Notify/Admin/Pages/LoginPage.js b/tests_cypress/cypress/Notify/Admin/Pages/LoginPage.js index 331286f813..38085bce32 100644 --- a/tests_cypress/cypress/Notify/Admin/Pages/LoginPage.js +++ b/tests_cypress/cypress/Notify/Admin/Pages/LoginPage.js @@ -43,7 +43,7 @@ let Actions = { // ensure code is received and enter it cy.get('blockquote').should('be.visible'); - cy.get('blockquote p strong').invoke('text').as('MFACode'); + cy.get('blockquote p').invoke('text').as('MFACode'); cy.get('@MFACode').then((text) => { let code = text; cy.visit('/two-factor-email-sent');