tiptap/demos/src/Demos/SingleRoomCollab/React/index.spec.js
2024-06-20 10:48:51 +02:00

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')
})
}) */
})