Update collaborate.js

restore-responsiveness-test
John McLear 2021-03-13 19:56:17 +00:00
parent a549ca07ab
commit 72c41c228f
1 changed files with 1 additions and 0 deletions

View File

@ -10,6 +10,7 @@ Cypress.Commands.add('iframe', {prevSubject: 'element'},
describe(__filename, () => {
it('Pad content exists', () => {
cy.visit('http://127.0.0.1:9001/p/collab');
cy.wait(10000); // wait for Minified JS to be built...
cy.get('iframe[name="ace_outer"]', {timeout: 10000}).iframe()
.find('.line-number:first')
.should('have.text', '1');