Skip to content

Commit e75b952

Browse files
authored
fix: team test + references title (#1571)
1 parent 64e8f59 commit e75b952

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

components/video/VideoTranscriptModal.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -101,9 +101,9 @@ const VideoTranscriptModal = (props: TranscriptModalProps) => {
101101
{title}
102102
</Typography>
103103
<Box>{render(content, RichTextOptions)}</Box>
104-
{references && (
104+
{references && references.length > 0 && (
105105
<>
106-
<Typography variant="h3" mt={4} mb={2}>
106+
<Typography variant="h3" mt={5} mb={2}>
107107
{tS('references')}
108108
</Typography>
109109
{books.length > 0 && (

cypress/integration/tests/meet-the-team.cy.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ describe('Meet the team page should', () => {
3434
if (closed) {
3535
cy.get(expandIconTag).should('exist');
3636
cy.root().click();
37-
cy.get(expandIconTag).should('exist');
37+
cy.get(expandIconTag).should('not.exist');
3838
} else {
3939
cy.get(expandIconTag).should('not.exist');
4040
}

0 commit comments

Comments
 (0)