Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
test(cypress): Fix selector for mermaid title text
Signed-off-by: Jonas <[email protected]>
  • Loading branch information
mejo- committed Apr 2, 2025
commit 4b80debea9da7d5f815bf86a2ecd125600e0c780
4 changes: 2 additions & 2 deletions cypress/e2e/nodes/CodeBlock.spec.js
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@ describe('Front matter support', function() {
cy.getEditor().find('.text-editor__wrapper').scrollTo('bottom')
cy.getContent().find('.split-view__preview').eq(2).should('be.visible')
cy.get('.code-block').eq(2).find('code').should('not.be.visible')
cy.get('.split-view__preview').find('svg .entityTitleText')
cy.get('.split-view__preview').find('svg .erDiagramTitleText')
.contains('Order example')
})
})
Expand All @@ -100,7 +100,7 @@ describe('Front matter support', function() {
cy.openFile('codeblock.md').then(() => {
cy.getContent().find('.split-view__preview').find('svg').should('be.visible')
cy.get('.code-block').eq(2).find('code').should('not.be.visible')
cy.get('.split-view__preview').find('svg .entityTitleText')
cy.get('.split-view__preview').find('svg .erDiagramTitleText')
.contains('Order example')
})
})
Expand Down
Loading