improve the link test
This commit is contained in:
@@ -17,6 +17,8 @@ context('/api/extensions/link', () => {
|
|||||||
cy.get('.demo__preview button:first')
|
cy.get('.demo__preview button:first')
|
||||||
.click()
|
.click()
|
||||||
|
|
||||||
|
cy.window().its('prompt').should('be.called')
|
||||||
|
|
||||||
cy.get('.ProseMirror')
|
cy.get('.ProseMirror')
|
||||||
.find('a')
|
.find('a')
|
||||||
.should('contain', 'Example Text')
|
.should('contain', 'Example Text')
|
||||||
|
|||||||
Reference in New Issue
Block a user