Update collaborate.js

This commit is contained in:
John McLear 2021-03-14 09:06:13 +00:00
parent 6a1b2005bd
commit cbf2a5898c

View file

@ -43,9 +43,9 @@ Cypress.Commands.add('iframe', {prevSubject: 'element'},
describe(__filename, () => { describe(__filename, () => {
it('Makes edits to pad', () => { it('Makes edits to pad', () => {
let originalLineCount; let originalLineCount;
cy.visit('http://127.0.0.1:9001/p/collab'); cy.visit('http://127.0.0.1:9001/p/collab', {timeout: 30000});
// Until we find a better way, this is required. // Until we find a better way, this is required.
// cy.wait(10000); // wait for Minified JS to be built... cy.wait(10000); // wait for Minified JS to be built...
cy.get('iframe[name="ace_outer"]', {timeout: 30000}).iframe() cy.get('iframe[name="ace_outer"]', {timeout: 30000}).iframe()
.find('iframe[name="ace_inner"]').iframe() .find('iframe[name="ace_inner"]').iframe()
.find('.ace-line:first') .find('.ace-line:first')