diff --git a/cypress.config.ts b/cypress.config.ts index 9fe88340..522ae95f 100644 --- a/cypress.config.ts +++ b/cypress.config.ts @@ -22,5 +22,6 @@ export default defineConfig({ baseUrl: process.env.NEXT_PUBLIC_BASE_URL, supportFile: 'cypress/support/index.js', experimentalRunAllSpecs: true, + chromeWebSecurity: false, }, }); diff --git a/cypress/integration/tests/user-messaging.cy.tsx b/cypress/integration/tests/user-messaging.cy.tsx index 95e39cce..14a1f40d 100644 --- a/cypress/integration/tests/user-messaging.cy.tsx +++ b/cypress/integration/tests/user-messaging.cy.tsx @@ -8,8 +8,8 @@ describe('A logged in public user can', () => { cy.logInWithEmailAndPassword(email, password); }); - it('Navigate to the messaging page and begin a messaging', () => { - cy.visit('/'); //intitial home page visit + it('Navigate to the messaging page', () => { + cy.visit('/'); // initial home page visit cy.get(`[qa-id=secondary-nav-messaging-button]`, { timeout: 8000 }).should('exist').click(); //go to messaging page }); @@ -18,8 +18,8 @@ describe('A logged in public user can', () => { cy.get('h2').contains('Tell us what’s on your mind'); cy.get('h2').contains('Meet the Bloom team'); cy.get('h2').contains('More about how Bloom’s Messaging works'); - cy.checkImage('alt', 'Illustration of a person sitting'); - cy.get('p').contains('Who is 1-1 Messaging for?'); + cy.checkImage('Illustration of a person sitting', 'illustration_course_dbr'); + cy.get('h3').contains('Who is 1-1 Messaging for?'); cy.get('p').contains( '1-1 Messaging is available for everyone using Bloom, regardless of your background, race, age, disability, religion or belief, sexuality, gender identity or expression, or life circumstances—we are here for you.', ); diff --git a/messages/messaging/de.json b/messages/messaging/de.json index 42c589f2..c4315503 100644 --- a/messages/messaging/de.json +++ b/messages/messaging/de.json @@ -1,6 +1,5 @@ { "Messaging": { - "messageHeading": "Sagen Sie uns, was Ihnen auf dem Herzen liegt", - "messageReplies": "Sei versichert, dass wir auf jede einzelne Nachricht antworten." + "messageHeading": "Sagen Sie uns, was Ihnen auf dem Herzen liegt" } } diff --git a/messages/messaging/en.json b/messages/messaging/en.json index 2aba00f0..4cd299b3 100644 --- a/messages/messaging/en.json +++ b/messages/messaging/en.json @@ -1,6 +1,5 @@ { "Messaging": { - "messageHeading": "Tell us what’s on your mind", - "messageReplies": "Rest assured we reply to every single message." + "messageHeading": "Tell us what’s on your mind" } } diff --git a/messages/messaging/es.json b/messages/messaging/es.json index 3785a494..3cf542d2 100644 --- a/messages/messaging/es.json +++ b/messages/messaging/es.json @@ -1,6 +1,5 @@ { "Messaging": { - "messageHeading": "Cuéntanos qué tienes en mente", - "messageReplies": "Puedes tener la seguridad de que respondemos a todos y cada uno de los mensajes." + "messageHeading": "Cuéntanos qué tienes en mente" } } diff --git a/messages/messaging/fr.json b/messages/messaging/fr.json index 5d8972b4..5f32a730 100644 --- a/messages/messaging/fr.json +++ b/messages/messaging/fr.json @@ -1,6 +1,5 @@ { "Messaging": { - "messageHeading": "Dites-nous ce qui vous préoccupe", - "messageReplies": "Nous t’assurons que nous répondons à chaque message." + "messageHeading": "Dites-nous ce qui vous préoccupe" } } diff --git a/messages/messaging/hi.json b/messages/messaging/hi.json index 6840ce1c..26a4b7ff 100644 --- a/messages/messaging/hi.json +++ b/messages/messaging/hi.json @@ -1,6 +1,5 @@ { "Messaging": { - "messageHeading": "Hume bataiye ki aapke mann mein kya hai", - "messageReplies": "Aur aap nishchint rahein, hum har ek message ka reply karte hain." + "messageHeading": "Hume bataiye ki aapke mann mein kya hai" } } diff --git a/messages/messaging/pt.json b/messages/messaging/pt.json index 1b997b63..5a10c4c0 100644 --- a/messages/messaging/pt.json +++ b/messages/messaging/pt.json @@ -1,6 +1,5 @@ { "Messaging": { - "messageHeading": "Diga-nos o que está pensando", - "messageReplies": "Tenha certeza de que respondemos a todas as mensagens." + "messageHeading": "Diga-nos o que está pensando" } } diff --git a/pages/messaging.tsx b/pages/messaging.tsx index 0c68c223..31744d2f 100644 --- a/pages/messaging.tsx +++ b/pages/messaging.tsx @@ -74,7 +74,6 @@ const Message: NextPage = ({ story }) => { - {t('messageReplies')}