mirror of
https://github.com/ether/etherpad-lite.git
synced 2025-04-21 16:06:16 -04:00
tests: Allow time for minification to complete
Minification happens after the initial visit and request to pages.
This commit is contained in:
parent
536db7553f
commit
5ac90ab30f
1 changed files with 1 additions and 0 deletions
|
@ -10,6 +10,7 @@ Cypress.Commands.add('iframe', {prevSubject: 'element'},
|
||||||
describe(__filename, () => {
|
describe(__filename, () => {
|
||||||
it('Pad content exists', () => {
|
it('Pad content exists', () => {
|
||||||
cy.visit('http://127.0.0.1:9001/p/test');
|
cy.visit('http://127.0.0.1:9001/p/test');
|
||||||
|
cy.wait(10000); // wait for Minified JS to be built...
|
||||||
cy.get('iframe[name="ace_outer"]', {timeout: 10000}).iframe()
|
cy.get('iframe[name="ace_outer"]', {timeout: 10000}).iframe()
|
||||||
.find('.line-number:first')
|
.find('.line-number:first')
|
||||||
.should('have.text', '1');
|
.should('have.text', '1');
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue