mirror of
https://github.com/ueberdosis/tiptap.git
synced 2025-06-07 17:43:49 +08:00
22 lines
601 B
JavaScript
22 lines
601 B
JavaScript
context('/src/Demos/SingleRoomCollab/React/', () => {
|
|
beforeEach(() => {
|
|
cy.visit('/src/Demos/SingleRoomCollab/React/')
|
|
})
|
|
|
|
/* it('should show the current room with participants', () => {
|
|
cy.wait(6000)
|
|
cy.get('.editor__status')
|
|
.should('contain', 'rooms.')
|
|
.should('contain', 'users online')
|
|
})
|
|
|
|
it('should allow user to change name', () => {
|
|
cy.window().then(win => {
|
|
cy.stub(win, 'prompt').returns('John Doe')
|
|
cy.get('.editor__name > button').click()
|
|
cy.wait(6000)
|
|
cy.get('.editor__name').should('contain', 'John Doe')
|
|
})
|
|
}) */
|
|
})
|