mirror of
https://github.com/ueberdosis/tiptap.git
synced 2025-06-07 17:43:49 +08:00
fix: failing test
This commit is contained in:
parent
9a8599c860
commit
b0136eca8c
@ -91,10 +91,10 @@ context('/src/Extensions/TextAlign/React/', () => {
|
||||
|
||||
it('toggle the text to right on the 6rd button', () => {
|
||||
cy.get('button:nth-child(6)').click()
|
||||
cy.get('.tiptap').find('p').should('not.have.css', 'text-align', 'right')
|
||||
cy.get('.tiptap').find('p').should('have.css', 'text-align', 'right')
|
||||
|
||||
cy.get('button:nth-child(6)').click()
|
||||
cy.get('.tiptap').find('p').should('not.have.css', 'text-align', 'left')
|
||||
cy.get('.tiptap').find('p').should('not.have.css', 'text-align', 'right')
|
||||
})
|
||||
|
||||
it('aligns the text left when pressing the keyboard shortcut', () => {
|
||||
|
Loading…
Reference in New Issue
Block a user