Skip to content

Commit

Permalink
ci: Fix mermaid title selector
Browse files Browse the repository at this point in the history
Signed-off-by: Julius Härtl <[email protected]>
  • Loading branch information
juliusknorr committed Nov 2, 2023
1 parent d1737e5 commit 15d3e2a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions cypress/e2e/nodes/CodeBlock.spec.js
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@ describe('Front matter support', function() {
cy.get('#app-content').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 title')
cy.get('.split-view__preview').find('svg .entityTitleText')
.contains('Order example')
})
})
Expand All @@ -102,7 +102,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 title')
cy.get('.split-view__preview').find('svg .entityTitleText')
.contains('Order example')
})
})
Expand Down

0 comments on commit 15d3e2a

Please sign in to comment.