Skip to content

Commit

Permalink
Merge pull request #1174 from chaynHQ/develop
Browse files Browse the repository at this point in the history
Merge Develop onto Main
  • Loading branch information
annarhughes authored Oct 29, 2024
2 parents 2d02ff0 + ee6099d commit f371184
Show file tree
Hide file tree
Showing 9 changed files with 11 additions and 17 deletions.
1 change: 1 addition & 0 deletions cypress.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -22,5 +22,6 @@ export default defineConfig({
baseUrl: process.env.NEXT_PUBLIC_BASE_URL,
supportFile: 'cypress/support/index.js',
experimentalRunAllSpecs: true,
chromeWebSecurity: false,
},
});
8 changes: 4 additions & 4 deletions cypress/integration/tests/user-messaging.cy.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -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
});

Expand All @@ -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.',
);
Expand Down
3 changes: 1 addition & 2 deletions messages/messaging/de.json
Original file line number Diff line number Diff line change
@@ -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"
}
}
3 changes: 1 addition & 2 deletions messages/messaging/en.json
Original file line number Diff line number Diff line change
@@ -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"
}
}
3 changes: 1 addition & 2 deletions messages/messaging/es.json
Original file line number Diff line number Diff line change
@@ -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"
}
}
3 changes: 1 addition & 2 deletions messages/messaging/fr.json
Original file line number Diff line number Diff line change
@@ -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"
}
}
3 changes: 1 addition & 2 deletions messages/messaging/hi.json
Original file line number Diff line number Diff line change
@@ -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"
}
}
3 changes: 1 addition & 2 deletions messages/messaging/pt.json
Original file line number Diff line number Diff line change
@@ -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"
}
}
1 change: 0 additions & 1 deletion pages/messaging.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,6 @@ const Message: NextPage<Props> = ({ story }) => {
</Box>
<Box flex={1}>
<CrispIframe />
<Typography>{t('messageReplies')}</Typography>
</Box>
</Box>
</Container>
Expand Down

0 comments on commit f371184

Please sign in to comment.